To find u as temperature, where temperatureError(u,p,X,h)->0
function temperatureError extends Modelica.Math.Nonlinear.Interfaces.partialScalarFunction; input Real p; input Real X[nS]; input Real h; end temperatureError;