Vibrations and heating of inelastic solids under harmonic loading