Approximately 42% of total energy usage today is spent on the heating of the human environment. Energy consumption can be significantly reduced by proper design of the heating control system - performed studies suggest that in average about 12% reduction of energy usage can be achieved based on control system improvement. This paper describes an efficient control of a family house heating system in its very common configuration. We use model predictive control to fully take into account the prediction of disturbances (room temperatures), reference values of power per rooms and physical limitations of actuators. This will result in an optimal flow rate and temperature of medium required to meet all the demands. In this paper we will first present the model of a heating system, and from it derive model predictive control and verify it through simulation.