Topology optimization for minimum temperature with mass flow and stiffness constraints