If an operator $A$ on a Hilbert space $H$ generates a strongly continuous semigroup, does then the operator $B$ on $H \oplus H$ given by the matrix $$ B := \begin{pmatrix} 0 & \mathrm{id} \\ A & 0\end{pmatrix}$$ generate a semigroup as well? This would then yield a solution to the wave equation $u^{\prime\prime} = A u$ on $H\oplus H$.
If this is not generally true, I would be very interested in a counterexample. Also, if this is not generally true, what properties of $A$ are needed in order for this to be true?