The heterogeneous domain Ωbeing the composition of two domains (Ω1, Ω2) is considered. It is assumed that in the first domain Ω1 the internal volumetric heat sources act. On the basis of knowledge of heating (cooling) curves at the selected set of Ω2 the capacity of internal heat sources in Ω1 is identified. The inverse problem formulated in this way is interesting from the practical point of view. For example, a such situation takes place during the casting solidification. The evolution of latent heat in the casting domain causes that in Ω1 the internal heat sources appear, while in the mould domain this component of energy equation is equal to 0. Additionally the measurements of temperature in the mould are essentially simpler from the technical view-point. In the paper the theoretical base of the problem and the examples of numerical realization are discussed.