Added missing each attribute
Replaced Medium.MassFlowRate with Modelica.SIunits.MassFlowRate to avoid a warning in openmodelica if inherited models use the same variable but not identical types.