Heat generation in a viscoelastic solid