Pošljite SMS: Microcanonical thermodynamics in general physical theories