Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="me",version="2.0",platforms={"static"}) [: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(ModelicaTest): time 2.402/2.402, allocations: 235 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1865/2.589, allocations: 57.2 MB / 299.1 MB, free: 476 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/2.869, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.523/9.392, allocations: 2.669 GB / 3.015 GB, free: 98.73 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/9.393, allocations: 78.58 kB / 3.015 GB, free: 98.69 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 670 * Number of variables: 670 Notification: Performance of Generate backend data structure: time 5.16/14.55, allocations: 1.022 GB / 4.037 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/14.55, allocations: 9.469 kB / 4.037 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01414/14.57, allocations: 1.148 MB / 4.038 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01032/14.58, allocations: 2.26 MB / 4.041 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004297/14.58, allocations: 199.7 kB / 4.041 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001405/14.58, allocations: 136 kB / 4.041 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01155/14.59, allocations: 3.516 MB / 4.044 GB, free: 21.76 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/14.6, allocations: 3.695 MB / 4.048 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.292e-05/14.6, allocations: 3.938 kB / 4.048 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004962/14.6, allocations: 8 kB / 4.048 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003196/14.6, allocations: 234.2 kB / 4.048 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04615/14.65, allocations: 19.93 MB / 4.068 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00436/14.66, allocations: 1.419 MB / 4.069 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004025/14.66, allocations: 1.306 MB / 4.07 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3433/15, allocations: 17.06 MB / 4.087 GB, free: 69.18 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.995e-05/15, allocations: 55.03 kB / 4.087 GB, free: 69.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=181): time 4.639e-06/15, allocations: 0 / 4.087 GB, free: 69.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=281): time 0.9665/15.97, allocations: 35.28 MB / 4.121 GB, free: 67.22 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.035e-05/15.97, allocations: 133.5 kB / 4.122 GB, free: 67.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003329/15.97, allocations: 1.23 MB / 4.123 GB, free: 66.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001091/15.97, allocations: 25.7 kB / 4.123 GB, free: 66.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009274/15.97, allocations: 0.9319 MB / 4.124 GB, free: 66.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001999/15.98, allocations: 0.8995 MB / 4.125 GB, free: 65.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006001/15.98, allocations: 0 / 4.125 GB, free: 65.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002537/15.98, allocations: 427 kB / 4.125 GB, free: 65.67 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00765/15.99, allocations: 2.78 MB / 4.128 GB, free: 65.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008411/15.99, allocations: 3.324 MB / 4.131 GB, free: 65.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03439/16.03, allocations: 5.545 MB / 4.136 GB, free: 65.05 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.881e-05/16.03, allocations: 3.375 kB / 4.136 GB, free: 65.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=370) (initialization): time 0.0572/16.09, allocations: 11.99 MB / 4.148 GB, free: 64.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001566/16.09, allocations: 5.949 MB / 4.154 GB, free: 58.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.614e-05/16.09, allocations: 14.44 kB / 4.154 GB, free: 58.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04373/16.13, allocations: 7.773 MB / 4.161 GB, free: 58.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003/16.13, allocations: 349 kB / 4.162 GB, free: 58.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04536/16.18, allocations: 12.51 MB / 4.174 GB, free: 57.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00932/16.19, allocations: 342 kB / 4.174 GB, free: 57.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001379/16.19, allocations: 179.5 kB / 4.174 GB, free: 57.47 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/16.19, allocations: 4 kB / 4.174 GB, free: 57.47 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03993/16.23, allocations: 8.152 MB / 4.182 GB, free: 57.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.837e-05/16.23, allocations: 18.19 kB / 4.182 GB, free: 57.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02503/16.26, allocations: 3.59 MB / 4.186 GB, free: 57.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00449/16.26, allocations: 0.4972 MB / 4.186 GB, free: 57.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01753/16.28, allocations: 6.352 MB / 4.193 GB, free: 56.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007096/16.28, allocations: 286.9 kB / 4.193 GB, free: 56.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007329/16.29, allocations: 157.8 kB / 4.193 GB, free: 56.18 MB / 0.5261 GB 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.heater.mediums[1].p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real [1] $DER.radiator.mediums[1].p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real [1] $DER.radiator.statesFM[1].p:DUMMY_DER(fixed = false ) "Pressure" type: Real [3] $DER.radiator.statesFM[3].p:DUMMY_DER(fixed = false ) "Pressure" type: Real [3] $DER.tank.level:DUMMY_DER(fixed = false ) "Level height of tank" type: Real $DER.pipe.mediums[2].p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real [2] $DER.pipe.mediums[1].p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real [2] output $DER.m_flow:DUMMY_DER(fixed = false ) type: Real $DER.pipe.mediums[2].h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real [2] $DER.radiator.mediums[1].h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real [1] $DER.tank.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.pump.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] $DER.pipe.mediums[1].h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 19 (radiator.state_b.phase,radiator.state_a.phase,heater.state_b.phase,heater.state_a.phase,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.state_b.phase,pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {15 79,17 85} Notification: Performance of prepare postOptimizeDAE: time 0.001499/16.29, allocations: 195.9 kB / 4.193 GB, free: 56.06 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003437/16.29, allocations: 0.7321 MB / 4.194 GB, free: 55.95 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0461/16.34, allocations: 17.28 MB / 4.211 GB, free: 55.33 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001507/16.34, allocations: 95.08 kB / 4.211 GB, free: 55.33 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/16.34, allocations: 0 / 4.211 GB, free: 55.33 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03674/16.37, allocations: 15.19 MB / 4.226 GB, free: 54.05 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1001/16.47, allocations: 29.11 MB / 4.254 GB, free: 39.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.319e-05/16.47, allocations: 0 / 4.254 GB, free: 39.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001909/16.48, allocations: 212.3 kB / 4.254 GB, free: 39.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04736/16.52, allocations: 13.38 MB / 4.268 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001086/16.52, allocations: 77.72 kB / 4.268 GB, free: 28.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04362/16.57, allocations: 16.12 MB / 4.283 GB, free: 14.44 MB / 0.5261 GB Error: Model is structurally singular, error found sorting equations 9: $cse3 = max(0.0, tank.level - tank.portsData[2].height); 106: $cse10 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(tank.vessel_ps_static[2], smooth(0, tank.medium.h), 0, 0); 4: tank.vessel_ps_static[2] = $cse3 * system.g * tank.heatTransfer.states[1].d + tank.p_ambient; 105: $cse11 = Modelica.Media.Water.IF97_Utilities.rho_props_ph(tank.vessel_ps_static[2], smooth(0, tank.medium.h), $cse10); 72: tank.portVelocities[2] = smooth(0, (-m_flow) / ($cse11 * tank.portAreas[2])); 99: $cse45 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pipe.mediums[1].p, pipe.mediums[1].h, pipe.statesFM[1].phase, 0); 100: pipe.statesFM[1].phase = if pipe.mediums[1].h < Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(pipe.mediums[1].p, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boilingcurve_p(pipe.mediums[1].p)) or pipe.mediums[1].h > Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(pipe.mediums[1].p, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p(pipe.mediums[1].p)) or pipe.mediums[1].p > 22064000.0 then 1 else 2; 97: pipe.statesFM[1].T = Modelica.Media.Water.IF97_Utilities.T_props_ph(pipe.mediums[1].p, pipe.mediums[1].h, $cse45); 92: $cse46 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pipe.mediums[2].p, pipe.mediums[2].h, pipe.statesFM[2].phase, 0); 93: pipe.statesFM[2].phase = if pipe.mediums[2].h < Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(pipe.mediums[2].p, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boilingcurve_p(pipe.mediums[2].p)) or pipe.mediums[2].h > Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(pipe.mediums[2].p, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p(pipe.mediums[2].p)) or pipe.mediums[2].p > 22064000.0 then 1 else 2; 91: pipe.statesFM[2].T = Modelica.Media.Water.IF97_Utilities.T_props_ph(pipe.mediums[2].p, pipe.mediums[2].h, $cse46); 88: pipe.flowModel.Fs_p[1] = 0.5 * (pipe.crossAreas[1] + pipe.crossAreas[2]) * (pipe.mediums[2].p - pipe.mediums[1].p) * pipe.flowModel.nParallel; 98: pipe.statesFM[1].d = Modelica.Media.Water.IF97_Utilities.rho_props_ph(pipe.mediums[1].p, pipe.mediums[1].h, $cse45); 96: pipe.flowModel.mus[1] = Modelica.Media.Water.IF97_Utilities.dynamicViscosity(pipe.statesFM[1].d, pipe.statesFM[1].T, pipe.mediums[1].p, pipe.statesFM[1].phase); 90: pipe.statesFM[2].d = Modelica.Media.Water.IF97_Utilities.rho_props_ph(pipe.mediums[2].p, pipe.mediums[2].h, $cse46); 89: pipe.flowModel.mus[2] = Modelica.Media.Water.IF97_Utilities.dynamicViscosity(pipe.statesFM[2].d, pipe.statesFM[2].T, pipe.mediums[2].p, pipe.statesFM[2].phase); 87: pipe.flowModel.dps_fg[1] = -2.0 * pipe.flowModel.Fs_p[1] / (pipe.flowModel.nParallel * (pipe.crossAreas[1] + pipe.crossAreas[2])); 86: $cse56 = Modelica.Fluid.Pipes.DynamicPipe$pipe.FlowModel$pipe$flowModel.WallFriction.massFlowRate_dp_staticHead(pipe.flowModel.dps_fg[1], pipe.statesFM[1].d, pipe.statesFM[2].d, pipe.flowModel.mus[1], pipe.flowModel.mus[2], 10.0, pipe.flowModel.diameters[1], 0.0, 0.5 * (pipe.crossAreas[1] + pipe.crossAreas[2]), 0.5 * (pipe.roughnesses[1] + pipe.roughnesses[2]), pipe.flowModel.dp_small, pipe.flowModel.Re_turbulent); 110: tank.heatTransfer.states[1].d = Modelica.Media.Water.IF97_Utilities.rho_props_ph(tank.p_ambient, tank.medium.h, $cse1); 10: $cse2 = max(0.0, tank.level - tank.portsData[1].height); 56: $cse6 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(tank.vessel_ps_static[1], smooth(0, if m_flow > 0.0 then radiator.mediums[1].h else tank.medium.h), 0, 0); 2: tank.vessel_ps_static[1] = $cse2 * system.g * tank.heatTransfer.states[1].d + tank.p_ambient; 55: $cse5 = Modelica.Media.Water.IF97_Utilities.rho_props_ph(tank.vessel_ps_static[1], smooth(0, if m_flow > 0.0 then radiator.mediums[1].h else tank.medium.h), $cse6); 85: m_flow = $cse56 * pipe.flowModel.nParallel; 52: tank.portVelocities[1] = smooth(0, m_flow / ($cse5 * tank.portAreas[1])); 84: tank.ports_H_flow[1] = m_flow * smooth(0, if m_flow > 0.0 then radiator.mediums[1].h else tank.medium.h); 71: tank.ports_E_flow[2] = (-m_flow) * (0.5 * tank.portVelocities[2] ^ 2.0 + system.g * tank.portsData[2].height); 68: tank.ports_H_flow[2] = (-m_flow) * smooth(0, tank.medium.h); 51: tank.ports_E_flow[1] = m_flow * (0.5 * tank.portVelocities[1] ^ 2.0 + system.g * tank.portsData[1].height); 50: tank.Hb_flow = tank.ports_H_flow[1] + tank.ports_H_flow[2] + tank.ports_E_flow[1] + tank.ports_E_flow[2]; 8: tank.heatTransfer.surfaceAreas[1] = tank.crossArea + 3.544907701811032 * sqrt(tank.crossArea) * tank.level; 133: $STATESET1.J[14] = -(tank.Hb_flow + 10.0 * tank.heatTransfer.surfaceAreas[1] * (tank.heatTransfer.T_ambient - tank.heatTransfer.Ts[1])); 112: tank.heatTransfer.states[1].phase = if tank.medium.h < Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(tank.p_ambient, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boilingcurve_p(tank.p_ambient)) or tank.medium.h > Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(tank.p_ambient, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p(tank.p_ambient)) or tank.p_ambient > 22064000.0 then 1 else 2; 109: tank.heatTransfer.Ts[1] = Modelica.Media.Water.IF97_Utilities.T_props_ph(tank.p_ambient, tank.medium.h, $cse1); 111: $cse1 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(tank.p_ambient, tank.medium.h, tank.heatTransfer.states[1].phase, 0); for variables tank.s[2](353), $cse8.x(83), $cse8.dpT(85), $cse10.pt(89), $cse10.phase(90), $cse10.dpT(91), $cse10.pd(92), $cse10.region(93), $cse10.cv(98), $cse32.phase(104), $cse32.cp(107), $cse10.vp(97), $cse32.dpT(109), $cse10.s(95), $cse10.cp(100), $cse32.s(108), $cse10.p(94), $cse3(348), $cse10.x(96), tank.ports_E_flow[2](197), $cse45.rho(125), $cse45.region(128), $cse32.h(118), $cse32.pt(114), $cse32.vt(115), pipe.statesFM[1].phase(123), $cse45.s(130), pipe.statesFM[1].d(140), $cse45.pt(132), pipe.statesFM[1].T(141), $cse45.cp(135), $cse22.vp(146), $cse45.R(139), $cse45.vt(131), pipe.flowModel.mus[1](142), $cse45.cv(137), $cse32.region(116), $cse45.h(134), $cse46.x(161), $cse46.phase(162), $cse46.p(163), $cse46.vp(164), $cse46.vt(165), $cse46.region(166), $cse46.T(167), $cse46.R(168), $cse46.dpT(169), $cse46.cp(170), $cse46.h(171), $cse46.cv(172), $cse46.s(173), $cse46.pd(174), $cse46.pt(175), $cse46.rho(176), pipe.statesFM[2].phase(160), pipe.statesFM[2].T(177), pipe.flowModel.Fs_p[1](180), $cse45.phase(133), $cse22.phase(145), pipe.statesFM[2].d(178), pipe.flowModel.mus[2](179), pipe.flowModel.dps_fg[1](181), radiator.H_flows[1](189), tank.heatTransfer.states[1].d(68), tank.s[1](354), $cse14(203), $cse58(207), $cse6.rho(215), pump.V_flow_single(202), $cse6.phase(216), $cse6.dpT(217), $cse6.T(218), $cse6.pd(220), $cse6.vp(223), $cse4.pt(230), $cse4.R(231), $cse6.pt(222), $cse6.p(226), $cse6.cv(225), $cse4.region(232), $cse4.p(234), tank.ports_penetration[2](346), $cse4.phase(229), tank.ports_H_flow[1](184), $cse19.cp(254), pipe.vs[1](194), pipe.vs[2](192), pump.eta(204), $cse4.cv(239), $cse4.h(241), tank.inFlow[2](352), tank.heatTransfer.states[1].phase(51), tank.heatTransfer.Ts[1](69), $cse1.R(52), $cse1.cv(67), $cse1.vt(54), $cse1.region(61), $cse1.h(55), $cse1.pd(64), $cse1.vp(60), $cse1.p(66), $cse1.T(59), $cse1.s(62), $cse1.rho(53), $cse1.cp(63), $cse1.pt(65), $cse1.phase(58), $cse1.x(56), $cse1.dpT(57), $cse33.T(296) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02534/16.59, allocations: 8.314 MB / 4.291 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3448/16.94, allocations: 23.17 MB / 4.314 GB, free: 70.87 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1215/17.06, allocations: 41.35 MB / 4.354 GB, free: 69.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004277/17.06, allocations: 1.031 MB / 4.355 GB, free: 69.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001522/17.07, allocations: 3 kB / 4.355 GB, free: 69.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007863/17.07, allocations: 334.8 kB / 4.356 GB, free: 69.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001327/17.08, allocations: 266.5 kB / 4.356 GB, free: 69.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000636/17.08, allocations: 142.3 kB / 4.356 GB, free: 69.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002115/17.08, allocations: 0.885 MB / 4.357 GB, free: 69.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02889/17.11, allocations: 4.979 MB / 4.362 GB, free: 69.34 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 52 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse40.phase,$cse40.region,$cse43.phase,$cse43.region,$cse44.phase,$cse44.region,$cse45.phase,$cse45.region,$cse46.phase,$cse46.region,$cse55.phase,$cse55.region,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {15 82,19 115} Notification: Performance of Backend phase and start with SimCode phase: time 0.02949/17.14, allocations: 4.576 MB / 4.366 GB, free: 69.03 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0419/17.18, allocations: 12.08 MB / 4.378 GB, free: 68.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/17.18, allocations: 1.938 kB / 4.378 GB, free: 68.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02177/17.2, allocations: 6.803 MB / 4.385 GB, free: 68.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01011/17.21, allocations: 0.8591 MB / 4.386 GB, free: 68.72 MB / 0.5261 GB [/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 ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState could not be translated to FMU