Ok I think I understand. My problem was: how can there be heat if there is no temperature difference, and your answer is that it is evolved from work.
Sorry I'll stop after this question.
Where is the heat coming from when work is done?
What happens is the microscopic level when work is done...