Thermal control of the Souza-Auricchio model for shape memory alloys