Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.67/2.67, allocations: 235.1 MB / 242 MB, free: 9.746 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2445/2.915, allocations: 57.19 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/3.279, allocations: 54.86 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.09/10.37, allocations: 2.669 GB / 3.015 GB, free: 107.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/10.37, allocations: 82.16 kB / 3.015 GB, free: 107.9 MB / 474.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.541/15.91, allocations: 1.022 GB / 4.037 GB, free: 16.44 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/15.91, allocations: 11.94 kB / 4.037 GB, free: 16.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01588/15.93, allocations: 1.147 MB / 4.038 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01171/15.94, allocations: 2.253 MB / 4.041 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004839/15.94, allocations: 200.2 kB / 4.041 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001392/15.94, allocations: 136 kB / 4.041 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01301/15.95, allocations: 3.516 MB / 4.044 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01447/15.97, allocations: 3.694 MB / 4.048 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/15.97, allocations: 7.938 kB / 4.048 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006337/15.97, allocations: 11.98 kB / 4.048 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003678/15.97, allocations: 236.7 kB / 4.048 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3771/16.35, allocations: 19.92 MB / 4.068 GB, free: 48.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004449/16.35, allocations: 1.417 MB / 4.069 GB, free: 48.08 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003981/16.36, allocations: 1.309 MB / 4.07 GB, free: 48.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07001/16.43, allocations: 17.06 MB / 4.087 GB, free: 37.55 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/16.43, allocations: 58.97 kB / 4.087 GB, free: 37.51 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=181): time 6.121e-06/16.43, allocations: 0 / 4.087 GB, free: 37.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=281): time 1.127/17.55, allocations: 35.26 MB / 4.121 GB, free: 35.49 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/17.55, allocations: 136.8 kB / 4.122 GB, free: 35.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003512/17.56, allocations: 1.232 MB / 4.123 GB, free: 35.19 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001153/17.56, allocations: 25.7 kB / 4.123 GB, free: 35.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009375/17.56, allocations: 0.9381 MB / 4.124 GB, free: 34.74 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002085/17.56, allocations: 0.8918 MB / 4.125 GB, free: 34.25 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007165/17.56, allocations: 0 / 4.125 GB, free: 34.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002869/17.56, allocations: 428.8 kB / 4.125 GB, free: 33.94 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00864/17.57, allocations: 2.777 MB / 4.128 GB, free: 33.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0101/17.58, allocations: 3.328 MB / 4.131 GB, free: 33.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04043/17.62, allocations: 5.54 MB / 4.136 GB, free: 33.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.446e-05/17.62, allocations: 5.594 kB / 4.136 GB, free: 33.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=370) (initialization): time 0.06442/17.69, allocations: 11.99 MB / 4.148 GB, free: 33.06 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001433/17.69, allocations: 5.954 MB / 4.154 GB, free: 26.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.538e-05/17.69, allocations: 15.53 kB / 4.154 GB, free: 26.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05175/17.74, allocations: 7.773 MB / 4.162 GB, free: 26.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003554/17.74, allocations: 352.3 kB / 4.162 GB, free: 26.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05328/17.8, allocations: 12.52 MB / 4.174 GB, free: 25.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01054/17.81, allocations: 336 kB / 4.174 GB, free: 25.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00151/17.81, allocations: 186.9 kB / 4.175 GB, free: 25.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/17.81, allocations: 7.812 kB / 4.175 GB, free: 25.73 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04851/17.86, allocations: 8.151 MB / 4.183 GB, free: 25.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.789e-05/17.86, allocations: 15.72 kB / 4.183 GB, free: 25.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03034/17.89, allocations: 3.589 MB / 4.186 GB, free: 25.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005366/17.89, allocations: 0.4957 MB / 4.187 GB, free: 25.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0212/17.91, allocations: 6.355 MB / 4.193 GB, free: 24.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008238/17.92, allocations: 280.6 kB / 4.193 GB, free: 24.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/17.92, allocations: 156.9 kB / 4.193 GB, free: 24.44 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.001876/17.93, allocations: 198.6 kB / 4.193 GB, free: 24.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004259/17.93, allocations: 0.7315 MB / 4.194 GB, free: 24.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05398/17.98, allocations: 17.28 MB / 4.211 GB, free: 23.59 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001625/17.98, allocations: 95.44 kB / 4.211 GB, free: 23.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/17.98, allocations: 3.844 kB / 4.211 GB, free: 23.59 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04473/18.03, allocations: 15.19 MB / 4.226 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1152/18.14, allocations: 29.18 MB / 4.254 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.735e-05/18.14, allocations: 6.812 kB / 4.254 GB, free: 8.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002208/18.15, allocations: 214.2 kB / 4.255 GB, free: 8.492 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3509/18.5, allocations: 13.47 MB / 4.268 GB, free: 83.32 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001202/18.5, allocations: 79.58 kB / 4.268 GB, free: 83.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05807/18.56, allocations: 16.13 MB / 4.284 GB, free: 82.17 MB / 0.5417 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.04149/18.6, allocations: 8.329 MB / 4.292 GB, free: 81.32 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1407/18.74, allocations: 23.08 MB / 4.314 GB, free: 80.57 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1688/18.91, allocations: 41.36 MB / 4.355 GB, free: 79.12 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004755/18.91, allocations: 1.023 MB / 4.356 GB, free: 78.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001817/18.91, allocations: 14.56 kB / 4.356 GB, free: 78.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009308/18.92, allocations: 325.8 kB / 4.356 GB, free: 78.85 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001587/18.93, allocations: 270.6 kB / 4.356 GB, free: 78.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008328/18.93, allocations: 142.5 kB / 4.356 GB, free: 78.84 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.002448/18.93, allocations: 0.8859 MB / 4.357 GB, free: 78.73 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.03027/18.96, allocations: 4.979 MB / 4.362 GB, free: 78.73 MB / 0.5417 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.03226/18.99, allocations: 4.56 MB / 4.367 GB, free: 78.39 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.04802/19.04, allocations: 12.08 MB / 4.378 GB, free: 77.46 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-05/19.04, allocations: 0 / 4.378 GB, free: 77.46 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.03028/19.07, allocations: 6.805 MB / 4.385 GB, free: 74.67 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0111/19.08, allocations: 0.87 MB / 4.386 GB, free: 74.51 MB / 0.5417 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