[:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.081/1.081, allocations: 111.2 MB / 118.2 MB, free: 15.65 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1121/1.193, allocations: 27.49 MB / 145.7 MB, free: 4.188 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/1.341, allocations: 25.15 MB / 170.8 MB, free: 1.828 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.469/4.81, allocations: 1.454 GB / 1.621 GB, free: 14.34 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/4.81, allocations: 61.53 kB / 1.621 GB, free: 14.31 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 573 * Number of variables: 573 Notification: Performance of Generate backend data structure: time 4.94/9.75, allocations: 0.9 GB / 2.521 GB, free: 8.496 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/9.75, allocations: 12.62 kB / 2.521 GB, free: 8.492 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/9.752, allocations: 308.6 kB / 2.521 GB, free: 8.348 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009553/9.762, allocations: 1.982 MB / 2.523 GB, free: 7.879 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005799/9.763, allocations: 194.5 kB / 2.523 GB, free: 7.809 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001382/9.764, allocations: 134.8 kB / 2.523 GB, free: 7.805 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009779/9.774, allocations: 3.073 MB / 2.526 GB, free: 7.789 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01141/9.785, allocations: 3.295 MB / 2.53 GB, free: 7.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.199e-05/9.785, allocations: 11.84 kB / 2.53 GB, free: 7.227 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004252/9.786, allocations: 7.25 kB / 2.53 GB, free: 7.227 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002736/9.786, allocations: 196.1 kB / 2.53 GB, free: 7.219 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03963/9.826, allocations: 17.85 MB / 2.547 GB, free: 12.85 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004189/9.83, allocations: 1.463 MB / 2.549 GB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003973/9.834, allocations: 1.427 MB / 2.55 GB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396/11.23, allocations: 236.8 MB / 2.781 GB, free: 22.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.833e-05/11.23, allocations: 53.22 kB / 2.781 GB, free: 22.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=179): time 5.991e-06/11.23, allocations: 0 / 2.781 GB, free: 22.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=234): time 0.3921/11.62, allocations: 20.13 MB / 2.801 GB, free: 21.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/11.62, allocations: 129 kB / 2.801 GB, free: 21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003249/11.63, allocations: 1.057 MB / 2.802 GB, free: 20.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009714/11.63, allocations: 32.11 kB / 2.802 GB, free: 20.8 MB / 346.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Valves.mo:368:7-373:78:writable] Warning: The parameter valve.Av has fixed = false, a start value, start = valve.m_flow_nominal * Modelica.Fluid.Valves.ValveIncompressible$valve.valveCharacteristic(valve.opening_nominal) / sqrt(valve.rho_nominal * valve.dp_nominal) and a binding equation valve.Av = 0.0, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. Notification: Performance of collectInitialEqns (initialization): time 0.00104/11.63, allocations: 0.7903 MB / 2.803 GB, free: 20.4 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001728/11.63, allocations: 0.7647 MB / 2.804 GB, free: 19.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006013/11.63, allocations: 0.5625 kB / 2.804 GB, free: 19.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002659/11.63, allocations: 404.5 kB / 2.804 GB, free: 19.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006214/11.64, allocations: 1.909 MB / 2.806 GB, free: 19.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005856/11.64, allocations: 2.38 MB / 2.808 GB, free: 19.07 MB / 346.7 MB Notification: It was not possible to analyze the given system symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.04952/11.69, allocations: 6.781 MB / 2.815 GB, free: 18.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.161e-05/11.69, allocations: 6.625 kB / 2.815 GB, free: 18.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.04581/11.74, allocations: 7.267 MB / 2.822 GB, free: 15.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/11.74, allocations: 7.906 kB / 2.822 GB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.101e-05/11.74, allocations: 17.84 kB / 2.822 GB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2655/12, allocations: 4.726 MB / 2.827 GB, free: 73.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003636/12.01, allocations: 334.5 kB / 2.827 GB, free: 73.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0323/12.04, allocations: 8.476 MB / 2.835 GB, free: 72.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008189/12.05, allocations: 327.2 kB / 2.835 GB, free: 72.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001295/12.05, allocations: 154 kB / 2.836 GB, free: 72.16 MB / 346.7 MB Warning: Assuming redundant initial conditions for the following 1 initial equations: $DER.heater.mediums[1].p = 0.0 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.tank.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.heater.mediums[1].h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.tank.ports[2].p:DUMMY_DER(flow=false fixed = false ) "Thermodynamic pressure in the connection point" type: Real [2] $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 14 (radiator.state_b.phase,heater.state_a.phase,valve.state_b.phase,valve.state_a.phase,tank.heatTransfer.states[1].phase,pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[1].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.state_b.phase,pipe.state_a.phase,radiator.state_a.phase,heater.state_b.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 11,19 125} Notification: Performance of prepare postOptimizeDAE: time 0.001871/12.05, allocations: 166.7 kB / 2.836 GB, free: 72.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003188/12.05, allocations: 376.5 kB / 2.836 GB, free: 72.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04968/12.1, allocations: 10.8 MB / 2.847 GB, free: 71.56 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03551/12.14, allocations: 9.153 MB / 2.856 GB, free: 71.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.065e-05/12.14, allocations: 1.812 kB / 2.856 GB, free: 71.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03558/12.18, allocations: 9.322 MB / 2.865 GB, free: 70.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05875/12.23, allocations: 16.91 MB / 2.881 GB, free: 69.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-05/12.23, allocations: 3.703 kB / 2.881 GB, free: 69.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003931/12.24, allocations: 394.1 kB / 2.882 GB, free: 69.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0137/12.25, allocations: 3.268 MB / 2.885 GB, free: 69.1 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009621/12.25, allocations: 81.62 kB / 2.885 GB, free: 69.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02386/12.28, allocations: 9.541 MB / 2.894 GB, free: 64.96 MB / 346.7 MB Error: Too many equations, over-determined system. The model has 40 equation(s) and 37 variable(s). Warning: Equation 11 (size: 1) 0.0 = 0.0 is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: Equations used to solve those variables: Warning: Equation 22 (size: 16) Modelica.Media.Common.IF97BaseTwoPhase(0.0, 0.0, $cse23.p.$pDERStateSetJac11.dummyVarStateSetJac11, heater.statesFM.1.T.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.h.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.R.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.cp.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.cv.$pDERStateSetJac11.dummyVarStateSetJac11, heater.flowModel.rhos.1.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.s.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.pt.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.pd.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.vt.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.vp.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.x.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.dpT.$pDERStateSetJac11.dummyVarStateSetJac11) = $DER$$PModelica$PMedia$PWater$PIF97_Utilities$PwaterBaseProp_ph(pump.p_b_nominal, pump.medium.h, 0, 0, 0.0, pump_medium_hSeedStateSetJac11) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse23.h.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.vp.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.pd.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.R.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.s.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.x.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.dpT.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.pt.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.vt.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.p.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.cp.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.cv.$pDERStateSetJac11.dummyVarStateSetJac11, heater.statesFM.1.T.$pDERStateSetJac11.dummyVarStateSetJac11, heater.flowModel.rhos.1.$pDERStateSetJac11.dummyVarStateSetJac11 Already solved: Equations used to solve those variables: [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:345:11-375:17:writable] Warning: Equation 23 (size: 1) $STATESET1.J.1.$pDERStateSetJac11.dummyVarStateSetJac11 = -(if tank.level >= tank.portsData[2].height then (-pump_dp_pumpSeedStateSetJac11) - (tank.vessel_ps_static.2.$pDERStateSetJac11.dummyVarStateSetJac11 + 0.5 * tank.portAreas[2] ^ -2.0 * smooth(1, if noEvent((-m_flow) >= tank.m_flow_small) then (-1.0 + tank.portsData[2].zeta_in + (tank.portAreas[2] / tank.vesselArea) ^ 2.0) * tank.ports_penetration[2] / tank.portDensities[2] * 2.0 * m_flow * m_flow.$pDERStateSetJac11.dummyVarStateSetJac11 + (-1.0 + tank.portsData[2].zeta_in + (tank.portAreas[2] / tank.vesselArea) ^ 2.0) * (tank.ports_penetration.2.$pDERStateSetJac11.dummyVarStateSetJac11 * tank.portDensities[2] - tank.ports_penetration[2] * tank.portDensities.2.$pDERStateSetJac11.dummyVarStateSetJac11) / tank.portDensities[2] ^ 2.0 * m_flow ^ 2.0 else if noEvent((-m_flow) <= (-tank.m_flow_small)) then (2.0 * m_flow * m_flow.$pDERStateSetJac11.dummyVarStateSetJac11 * tank.heatTransfer.states[1].d * tank.ports_penetration[2] - m_flow ^ 2.0 * (tank.heatTransfer.states[1].d * tank.ports_penetration.2.$pDERStateSetJac11.dummyVarStateSetJac11 + tank.heatTransfer.states.1.d.$pDERStateSetJac11.dummyVarStateSetJac11 * tank.ports_penetration[2])) * (-1.0 + (tank.portAreas[2] / tank.vesselArea) ^ 2.0 - tank.portsData[2].zeta_out) / (tank.heatTransfer.states[1].d * tank.ports_penetration[2]) ^ 2.0 else if noEvent((-1.0 + tank.portsData[2].zeta_in + (tank.portAreas[2] / tank.vesselArea) ^ 2.0) * tank.ports_penetration[2] / tank.portDensities[2] >= (1.0 + tank.portsData[2].zeta_out - (tank.portAreas[2] / tank.vesselArea) ^ 2.0) / (tank.heatTransfer.states[1].d * tank.ports_penetration[2])) then (-1.0 + tank.portsData[2].zeta_in + (tank.portAreas[2] / tank.vesselArea) ^ 2.0) * (tank.ports_penetration.2.$pDERStateSetJac11.dummyVarStateSetJac11 * tank.portDensities[2] - tank.ports_penetration[2] * tank.portDensities.2.$pDERStateSetJac11.dummyVarStateSetJac11) / tank.portDensities[2] ^ 2.0 * $DER$$PModelica$PFluid$PUtilities$PregSquare2$PregSquare2_utility(-m_flow, tank.m_flow_small, (-1.0 + tank.portsData[2].zeta_in + (tank.portAreas[2] / tank.vesselArea) ^ 2.0) * tank.ports_penetration[2] / tank.portDensities[2], (1.0 + tank.portsData[2].zeta_out - (tank.portAreas[2] / tank.vesselArea) ^ 2.0) / (tank.heatTransfer.states[1].d * tank.ports_penetration[2]), false, 1.0, -0.0, 0.0, 1.0, 0.0, 0.0) - m_flow.$pDERStateSetJac11.dummyVarStateSetJac11 * $DER$$PModelica$PFluid$PUtilities$PregSquare2$PregSquare2_utility(-m_flow, tank.m_flow_small, (-1.0 + tank.portsData[2].zeta_in + (tank.portAreas[2] / tank.vesselArea) ^ 2.0) * tank.ports_penetration[2] / tank.portDensities[2], (1.0 + tank.portsData[2].zeta_out - (tank.portAreas[2] / tank.vesselArea) ^ 2.0) / (tank.heatTransfer.states[1].d * tank.ports_penetration[2]), false, 1.0, 1.0, 0.0, 0.0, 0.0, 0.0) + $DER$$PModelica$PFluid$PUtilities$PregSquare2$PregSquare2_utility(-m_flow, tank.m_flow_small, (-1.0 + tank.portsData[2].zeta_in + (tank.portAreas[2] / tank.vesselArea) ^ 2.0) * tank.ports_penetration[2] / tank.portDensities[2], (1.0 + tank.portsData[2].zeta_out - (tank.portAreas[2] / tank.vesselArea) ^ 2.0) / (tank.heatTransfer.states[1].d * tank.ports_penetration[2]), false, 1.0, -0.0, 0.0, 0.0, 1.0, 0.0) * (-1.0 + (tank.portAreas[2] / tank.vesselArea) ^ 2.0 - tank.portsData[2].zeta_out) * (tank.heatTransfer.states[1].d * tank.ports_penetration.2.$pDERStateSetJac11.dummyVarStateSetJac11 + tank.heatTransfer.states.1.d.$pDERStateSetJac11.dummyVarStateSetJac11 * tank.ports_penetration[2]) / (tank.heatTransfer.states[1].d * tank.ports_penetration[2]) ^ 2.0 else (-m_flow.$pDERStateSetJac11.dummyVarStateSetJac11) * $DER$$PModelica$PFluid$PUtilities$PregSquare2$PregSquare2_utility(m_flow, tank.m_flow_small, (1.0 + tank.portsData[2].zeta_out - (tank.portAreas[2] / tank.vesselArea) ^ 2.0) / (tank.heatTransfer.states[1].d * tank.ports_penetration[2]), (-1.0 + tank.portsData[2].zeta_in + (tank.portAreas[2] / tank.vesselArea) ^ 2.0) * tank.ports_penetration[2] / tank.portDensities[2], false, 1.0, 1.0, 0.0, 0.0, 0.0, 0.0) - $DER$$PModelica$PFluid$PUtilities$PregSquare2$PregSquare2_utility(m_flow, tank.m_flow_small, (1.0 + tank.portsData[2].zeta_out - (tank.portAreas[2] / tank.vesselArea) ^ 2.0) / (tank.heatTransfer.states[1].d * tank.ports_penetration[2]), (-1.0 + tank.portsData[2].zeta_in + (tank.portAreas[2] / tank.vesselArea) ^ 2.0) * tank.ports_penetration[2] / tank.portDensities[2], false, 1.0, 0.0, 0.0, 1.0, 0.0, 0.0) * (-1.0 + (tank.portAreas[2] / tank.vesselArea) ^ 2.0 - tank.portsData[2].zeta_out) * (tank.heatTransfer.states[1].d * tank.ports_penetration.2.$pDERStateSetJac11.dummyVarStateSetJac11 + tank.heatTransfer.states.1.d.$pDERStateSetJac11.dummyVarStateSetJac11 * tank.ports_penetration[2]) / (tank.heatTransfer.states[1].d * tank.ports_penetration[2]) ^ 2.0 - (-1.0 + tank.portsData[2].zeta_in + (tank.portAreas[2] / tank.vesselArea) ^ 2.0) * (tank.ports_penetration.2.$pDERStateSetJac11.dummyVarStateSetJac11 * tank.portDensities[2] - tank.ports_penetration[2] * tank.portDensities.2.$pDERStateSetJac11.dummyVarStateSetJac11) / tank.portDensities[2] ^ 2.0 * $DER$$PModelica$PFluid$PUtilities$PregSquare2$PregSquare2_utility(m_flow, tank.m_flow_small, (1.0 + tank.portsData[2].zeta_out - (tank.portAreas[2] / tank.vesselArea) ^ 2.0) / (tank.heatTransfer.states[1].d * tank.ports_penetration[2]), (-1.0 + tank.portsData[2].zeta_in + (tank.portAreas[2] / tank.vesselArea) ^ 2.0) * tank.ports_penetration[2] / tank.portDensities[2], false, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0))) else if tank.s[2] > 0.0 or tank.portsData[2].height >= tank.fluidLevel_max then (-pump_dp_pumpSeedStateSetJac11) - tank.vessel_ps_static.2.$pDERStateSetJac11.dummyVarStateSetJac11 else -m_flow.$pDERStateSetJac11.dummyVarStateSetJac11) is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $cse23.h.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.vp.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.pd.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.R.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.s.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.x.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.dpT.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.pt.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.vt.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.p.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.cp.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.cv.$pDERStateSetJac11.dummyVarStateSetJac11, heater.statesFM.1.T.$pDERStateSetJac11.dummyVarStateSetJac11, heater.flowModel.rhos.1.$pDERStateSetJac11.dummyVarStateSetJac11 Equations used to solve those variables: Equation 22 (size: 16): Modelica.Media.Common.IF97BaseTwoPhase(0.0, 0.0, $cse23.p.$pDERStateSetJac11.dummyVarStateSetJac11, heater.statesFM.1.T.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.h.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.R.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.cp.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.cv.$pDERStateSetJac11.dummyVarStateSetJac11, heater.flowModel.rhos.1.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.s.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.pt.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.pd.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.vt.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.vp.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.x.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.dpT.$pDERStateSetJac11.dummyVarStateSetJac11) = $DER$$PModelica$PMedia$PWater$PIF97_Utilities$PwaterBaseProp_ph(pump.p_b_nominal, pump.medium.h, 0, 0, 0.0, pump_medium_hSeedStateSetJac11) [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Machines.mo:458:7-458:43:writable] Warning: Equation 24 (size: 1) $STATESET1.J.2.$pDERStateSetJac11.dummyVarStateSetJac11 = pump.W_single.$pDERStateSetJac11.dummyVarStateSetJac11 + -1.25 * (pump.dp_pump * pump.V_flow_single.$pDERStateSetJac11.dummyVarStateSetJac11 + pump_dp_pumpSeedStateSetJac11 * pump.V_flow_single) is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $cse23.h.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.vp.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.pd.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.R.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.s.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.x.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.dpT.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.pt.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.vt.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.p.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.cp.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.cv.$pDERStateSetJac11.dummyVarStateSetJac11, heater.statesFM.1.T.$pDERStateSetJac11.dummyVarStateSetJac11, heater.flowModel.rhos.1.$pDERStateSetJac11.dummyVarStateSetJac11 Equations used to solve those variables: Equation 22 (size: 16): Modelica.Media.Common.IF97BaseTwoPhase(0.0, 0.0, $cse23.p.$pDERStateSetJac11.dummyVarStateSetJac11, heater.statesFM.1.T.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.h.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.R.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.cp.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.cv.$pDERStateSetJac11.dummyVarStateSetJac11, heater.flowModel.rhos.1.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.s.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.pt.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.pd.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.vt.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.vp.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.x.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.dpT.$pDERStateSetJac11.dummyVarStateSetJac11) = $DER$$PModelica$PMedia$PWater$PIF97_Utilities$PwaterBaseProp_ph(pump.p_b_nominal, pump.medium.h, 0, 0, 0.0, pump_medium_hSeedStateSetJac11) [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Vessels.mo:345:11-375:17:writable] Warning: Equation 25 (size: 1) 0.0 = -(if tank.level >= tank.portsData[2].height then tank.s.2.$pDERStateSetJac11.dummyVarStateSetJac11 - tank_levelSeedStateSetJac11 else if tank.s[2] > 0.0 or tank.portsData[2].height >= tank.fluidLevel_max then tank.s.2.$pDERStateSetJac11.dummyVarStateSetJac11 + m_flow.$pDERStateSetJac11.dummyVarStateSetJac11 else tank.s.2.$pDERStateSetJac11.dummyVarStateSetJac11 - 9.869232667160129e-06 * (((-pump_dp_pumpSeedStateSetJac11) - tank.vessel_ps_static.2.$pDERStateSetJac11.dummyVarStateSetJac11) * (tank.portsData[2].height - tank.level) - (tank.ports[2].p - tank.vessel_ps_static[2]) * tank_levelSeedStateSetJac11)) is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $cse23.h.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.vp.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.pd.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.R.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.s.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.x.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.dpT.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.pt.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.vt.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.p.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.cp.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.cv.$pDERStateSetJac11.dummyVarStateSetJac11, heater.statesFM.1.T.$pDERStateSetJac11.dummyVarStateSetJac11, heater.flowModel.rhos.1.$pDERStateSetJac11.dummyVarStateSetJac11 Equations used to solve those variables: Equation 22 (size: 16): Modelica.Media.Common.IF97BaseTwoPhase(0.0, 0.0, $cse23.p.$pDERStateSetJac11.dummyVarStateSetJac11, heater.statesFM.1.T.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.h.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.R.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.cp.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.cv.$pDERStateSetJac11.dummyVarStateSetJac11, heater.flowModel.rhos.1.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.s.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.pt.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.pd.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.vt.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.vp.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.x.$pDERStateSetJac11.dummyVarStateSetJac11, $cse23.dpT.$pDERStateSetJac11.dummyVarStateSetJac11) = $DER$$PModelica$PMedia$PWater$PIF97_Utilities$PwaterBaseProp_ph(pump.p_b_nominal, pump.medium.h, 0, 0, 0.0, pump_medium_hSeedStateSetJac11) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1957:10-1957:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1889:9-1889:79:writable] Error: Internal error function createJacobian failed Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 ($STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],radiator.mediums[1].p,radiator.mediums[1].h,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h) * Number of discrete variables: 40 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse11.phase,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse37.phase,$cse40.phase,$cse45.phase,$cse45.region,$cse46.phase,$cse46.region,$cse47.phase,$cse50.phase,$cse50.region,$cse51.phase,tank.heatTransfer.states[1].phase,pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[1].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (201): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,2 9,2 4,1 1,4 16,2 12,1 1,7 31} [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4354:9-4354:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:596:5-596:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] Error: Internal error SimCode: The model Modelica.Fluid.Examples.HeatingSystem could not be translated to FMU