Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") [: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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002805/0.002805, allocations: 182.3 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.311/1.311, allocations: 194.2 MB / 202.1 MB, free: 8.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001727/0.001727, allocations: 117.1 kB / 247.1 MB, free: 6.398 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1972/0.1972, allocations: 39.94 MB / 331.9 MB, free: 4.965 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.157e-06/9.187e-06, allocations: 0 / 392.8 MB, free: 75.92 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1387, allocations: 54.87 MB / 447.6 MB, free: 21.04 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.736/5.874, allocations: 2.669 GB / 3.107 GB, free: 102.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/5.875, allocations: 79.95 kB / 3.107 GB, free: 102.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.293/9.168, allocations: 1.019 GB / 4.125 GB, free: 28.54 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000342/9.168, allocations: 78 kB / 4.125 GB, free: 28.52 MB / 0.5105 GB 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 0.01872/9.187, allocations: 4.403 MB / 4.13 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/9.187, allocations: 9.094 kB / 4.13 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009513/9.197, allocations: 1.147 MB / 4.131 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008486/9.205, allocations: 2.267 MB / 4.133 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004205/9.206, allocations: 203.2 kB / 4.133 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001411/9.207, allocations: 143.9 kB / 4.133 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007973/9.215, allocations: 3.535 MB / 4.137 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008954/9.224, allocations: 3.715 MB / 4.14 GB, free: 16.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.179e-05/9.224, allocations: 11.92 kB / 4.14 GB, free: 16.92 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004996/9.225, allocations: 11.66 kB / 4.141 GB, free: 16.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001999/9.225, allocations: 232.7 kB / 4.141 GB, free: 16.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02614/9.251, allocations: 19.86 MB / 4.16 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002686/9.254, allocations: 1.529 MB / 4.162 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002427/9.256, allocations: 1.493 MB / 4.163 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2754/9.532, allocations: 17.07 MB / 4.18 GB, free: 73.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/9.532, allocations: 52.53 kB / 4.18 GB, free: 73.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=194): time 3.486e-06/9.532, allocations: 0 / 4.18 GB, free: 73.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=244): time 0.173/9.705, allocations: 19.24 MB / 4.199 GB, free: 72.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/9.705, allocations: 129.2 kB / 4.199 GB, free: 72.37 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/9.707, allocations: 1.214 MB / 4.2 GB, free: 72.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000407/9.707, allocations: 28.2 kB / 4.2 GB, free: 72.17 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005318/9.708, allocations: 0.9126 MB / 4.201 GB, free: 71.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009889/9.709, allocations: 0.7933 MB / 4.202 GB, free: 71.35 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/9.709, allocations: 0 / 4.202 GB, free: 71.35 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001568/9.709, allocations: 412.1 kB / 4.202 GB, free: 71.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002718/9.712, allocations: 2.037 MB / 4.204 GB, free: 71.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002875/9.715, allocations: 2.534 MB / 4.206 GB, free: 70.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01516/9.73, allocations: 4.572 MB / 4.211 GB, free: 70.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.249e-05/9.73, allocations: 3.781 kB / 4.211 GB, free: 70.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.02451/9.755, allocations: 8.616 MB / 4.219 GB, free: 70.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001484/9.756, allocations: 5.418 MB / 4.225 GB, free: 64.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.008e-05/9.756, allocations: 13.03 kB / 4.225 GB, free: 64.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005266/9.762, allocations: 2.321 MB / 4.227 GB, free: 64.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003259/9.765, allocations: 0.5942 MB / 4.227 GB, free: 64.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/9.776, allocations: 8.311 MB / 4.236 GB, free: 59.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005994/9.782, allocations: 367.6 kB / 4.236 GB, free: 59.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005576/9.782, allocations: 150.3 kB / 4.236 GB, free: 59.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/9.782, allocations: 5.781 kB / 4.236 GB, free: 59.86 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01873/9.801, allocations: 6.426 MB / 4.242 GB, free: 59.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.774e-05/9.801, allocations: 15.95 kB / 4.242 GB, free: 59.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001664/9.803, allocations: 0.629 MB / 4.243 GB, free: 59.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00321/9.806, allocations: 0.6946 MB / 4.244 GB, free: 59.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005742/9.812, allocations: 8.016 MB / 4.252 GB, free: 53.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004047/9.816, allocations: 342 kB / 4.252 GB, free: 53.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007434/9.817, allocations: 141.7 kB / 4.252 GB, free: 53.38 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $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.heatTransfer.states[1].d:DUMMY_DER(fixed = false ) "Density" type: Real [1] $DER.tank.medium.u:DUMMY_DER(fixed = false ) "Specific internal energy of medium" type: Real 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: 61 * 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 (281): * Single equations (assignments): 270 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {2 10,2 4,1 1,2 7,1 1,4 14,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001537/9.818, allocations: 178.9 kB / 4.252 GB, free: 53.26 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002673/9.821, allocations: 0.6876 MB / 4.253 GB, free: 53.15 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01751/9.838, allocations: 11.72 MB / 4.264 GB, free: 52.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0135/9.852, allocations: 10.17 MB / 4.274 GB, free: 52.03 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/9.852, allocations: 2.625 kB / 4.274 GB, free: 52.03 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01437/9.866, allocations: 10.32 MB / 4.284 GB, free: 51.21 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02982/9.896, allocations: 18.19 MB / 4.302 GB, free: 49.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/9.896, allocations: 0 / 4.302 GB, free: 49.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002034/9.898, allocations: 426.7 kB / 4.302 GB, free: 49.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007731/9.906, allocations: 4.221 MB / 4.307 GB, free: 49.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004745/9.907, allocations: 78.39 kB / 4.307 GB, free: 49.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/9.919, allocations: 10.69 MB / 4.317 GB, free: 44.84 MB / 0.5261 GB Error: Model is structurally singular, error found sorting equations 35: $cse27 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pump.p_b_nominal, pump.medium.h, 0, 0); 34: heater.statesFM[1].T = Modelica.Media.Water.IF97_Utilities.T_props_ph(pump.p_b_nominal, pump.medium.h, $cse27); 17: heater.heatTransfer.Ts[1] = Modelica.Media.Water.IF97_Utilities.T_props_ph(heater.mediums[1].p, heater.mediums[1].h, $cse17); 14: heater.flowModel.Fs_p[1] = heater.crossAreas[1] * (heater.mediums[1].p - pump.p_b_nominal) * heater.flowModel.nParallel; 27: pump.heatTransfer.states[1].phase = if pump.medium.h < Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(pump.p_b_nominal, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boilingcurve_p(pump.p_b_nominal)) or pump.medium.h > Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(pump.p_b_nominal, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p(pump.p_b_nominal)) or pump.p_b_nominal > 22064000.0 then 1 else 2; 26: $cse6 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pump.p_b_nominal, pump.medium.h, pump.heatTransfer.states[1].phase, 0); 10: pump.Hb_flow = m_flow * (smooth(0, tank.medium.h) - smooth(0, pump.medium.h)); 8: -pump.Hb_flow = pump.W_single * /*Real*/(pump.nParallel); 5: pump.eta = Modelica.Fluid.Machines.ControlledPump$pump.efficiencyCharacteristic(pump.V_flow_single * pump.N_nominal / pump.N, 0.8); 3: pump.dp_pump = pump.p_b_nominal - tank.ports[2].p; 38: $STATESET1.J[3] = pump.W_single - pump.dp_pump * pump.V_flow_single / pump.eta; 25: pump.rho = Modelica.Media.Water.IF97_Utilities.rho_props_ph(pump.p_b_nominal, pump.medium.h, $cse6); 7: pump.V_flow_single = pump.V_flow / /*Real*/(pump.nParallel); 9: pump.V_flow = m_flow / pump.rho; 33: heater.statesFM[1].d = Modelica.Media.Water.IF97_Utilities.rho_props_ph(pump.p_b_nominal, pump.medium.h, $cse27); 32: heater.flowModel.mus[1] = Modelica.Media.Water.IF97_Utilities.dynamicViscosity(heater.statesFM[1].d, heater.statesFM[1].T, pump.p_b_nominal, 0); 15: heater.flowModel.mus[2] = Modelica.Media.Water.IF97_Utilities.dynamicViscosity(heater.statesFM[2].d, heater.heatTransfer.Ts[1], heater.mediums[1].p, heater.statesFM[2].phase); 13: heater.flowModel.dps_fg[1] = -2.0 * heater.flowModel.Fs_p[1] / (heater.flowModel.nParallel * 2.0 * heater.crossAreas[1]); 11: m_flow = $cse43 * heater.flowModel.nParallel; 12: $cse43 = Modelica.Fluid.Pipes.DynamicPipe$heater.FlowModel$heater$flowModel.WallFriction.massFlowRate_dp_staticHead(heater.flowModel.dps_fg[1], heater.statesFM[1].d, heater.statesFM[2].d, heater.flowModel.mus[1], heater.flowModel.mus[2], heater.pathLengths[1], heater.dimensions[1], 0.0, heater.crossAreas[1], heater.roughnesses[1], 0.5 * heater.flowModel.dp_small, heater.flowModel.Re_turbulent); 19: heater.statesFM[2].phase = if heater.mediums[1].h < Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(heater.mediums[1].p, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boilingcurve_p(heater.mediums[1].p)) or heater.mediums[1].h > Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(heater.mediums[1].p, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p(heater.mediums[1].p)) or heater.mediums[1].p > 22064000.0 then 1 else 2; 16: heater.statesFM[2].d = Modelica.Media.Water.IF97_Utilities.rho_props_ph(heater.mediums[1].p, heater.mediums[1].h, $cse17); 18: $cse17 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(heater.mediums[1].p, heater.mediums[1].h, heater.statesFM[2].phase, 0); for variables $cse27.x(3), $cse27.vt(4), $cse27.pd(5), $cse27.region(6), pump.N(113), $cse27.dpT(8), $cse27.pt(7), $cse27.phase(10), $cse27.p(9), $cse27.s(11), $cse27.h(13), $cse27.cp(14), $cse27.R(15), $cse27.cv(12), $cse27.rho(17), tank.heatTransfer.states[1].phase(22), $cse1.dpT(27), $cse43(101), pump.V_flow(104), $cse6.cv(45), $cse1.pd(36), $cse6.region(42), pump.heatTransfer.states[1].phase(41), $cse6.vt(43), $cse1.cp(38), tank.regularFlow[2](40), $cse1.s(37), $cse6.cp(48), $cse6.rho(50), $cse6.dpT(46), $cse6.h(52), $cse6.x(53), $cse6.T(54), $cse6.R(55), $cse5.rho(65), $cse5.cp(64), heater.heatTransfer.Ts[1](96), heater.flowModel.mus[2](98), pump.eta(108), m_flow(102), tank.vessel_ps_static[2](61), pump.head(109), pump.W_single(105), heater.statesFM[1].d(20), $cse1.rho(30), pump.V_flow_single(106), pump.dp_pump(110), $cse17.R(95), heater.flowModel.dps_fg[1](100), $cse5.vt(77), pump.Hb_flow(103), $cse17.pt(81), heater.statesFM[2].phase(79), $cse17.pd(83), $cse17.p(89), $cse5.p(75), $cse5.T(76), $cse17.rho(80), $cse17.vp(84), $cse17.s(82), $cse17.cv(88), $cse17.phase(85), $cse17.region(91), $cse17.dpT(92), $cse17.x(93), $cse17.h(94), heater.flowModel.Fs_p[1](99), $cse1.phase(23) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004275/9.923, allocations: 2.925 MB / 4.32 GB, free: 44.26 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01902/9.942, allocations: 13.42 MB / 4.333 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002478/9.944, allocations: 0.8509 MB / 4.334 GB, free: 38.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005568/9.945, allocations: 14.14 kB / 4.334 GB, free: 38.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002798/9.948, allocations: 305 kB / 4.334 GB, free: 38.87 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004911/9.948, allocations: 229.4 kB / 4.334 GB, free: 38.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003107/9.949, allocations: 113.9 kB / 4.334 GB, free: 38.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001351/9.95, allocations: 0.8771 MB / 4.335 GB, free: 38.45 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01541/9.965, allocations: 3.761 MB / 4.339 GB, free: 38.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 ($STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],radiator.mediums[1].p,radiator.mediums[1].h,pipe.mediums[1].p,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h) * Number of discrete variables: 48 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse32.phase,$cse32.region,$cse35.phase,$cse35.region,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse40.phase,$cse40.region,$cse42.phase,$cse42.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 (206): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {1 1,2 9,2 4,1 1,1 10,1 1,1 1,2 9,8 34} Notification: Performance of Backend phase and start with SimCode phase: time 0.01782/9.983, allocations: 3.942 MB / 4.343 GB, free: 36.94 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01702/10, allocations: 9.513 MB / 4.352 GB, free: 28.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.669e-06/10, allocations: 0 / 4.352 GB, free: 28.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008103/10.01, allocations: 5.049 MB / 4.357 GB, free: 24.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005188/10.01, allocations: 0.8768 MB / 4.358 GB, free: 23.48 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4354:9-4354:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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]