Consider the simple quadratic $y=x^2$. This has a root at $x=0$ of multiplicity 2.
Its derivative, $y'=2x$, has a root at $x=0$ of multiplicity 1. So far so good.
Now consider $y=x^2 + 1$. This has no real roots at all; it does not have a root of any multiplicity at $x=0$. However its derivative is again $y'=2x$, as above.
The point is that for a given derivative function $y'=f'(x)$, there are infinitely many functions of which that is the derivative, differing only by a constant term.
For any root (with multiplicity n) of the derivative function $f'(x)$, we can always choose a constant term so that the base function $f(x)$ is also zero at that root, and that root will indeed have multiplicity $n+1$.
However we may have a derivative function with two or more roots, where it is not possible to choose a single constant term for the antiderivative such it has roots at all the same places.
For example if $f'(x)=3x^2 - 3$, this has roots at +/-1 of multiplicity 1. Its antiderivatives are of form $f(x)=x^3 - 3x + C$. In order for -1 to be a root, C must be -2 (and the root does have multiplicity 2); whereas for +1 to be a root, C must be +2. There is no choice of C for which each root of f'(x) corresponds to a root of f(x).
TL;DR: if f'(x) has a root of multiplicity n at x=a, and x=a is also a root of f(x), then that root will have a multiplicity of n+1. But it needn't be a root of f at all.