Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.001813/0.001813, allocations: 174.2 kB / 7.454 MB, free: 484 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.347/1.347, allocations: 170.6 MB / 178.4 MB, free: 4.117 MB / 142.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001864/0.001864, allocations: 111.9 kB / 217.7 MB, free: 12.99 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1636/0.1636, allocations: 37.97 MB / 294.8 MB, free: 13.55 MB / 222.1 MB Notification: Performance of FrontEnd - loaded program: time 7.875e-06/7.895e-06, allocations: 0 / 349.5 MB, free: 6.762 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2339, allocations: 48.71 MB / 398.2 MB, free: 16.87 MB / 270.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.623/6.857, allocations: 2.559 GB / 2.948 GB, free: 18.24 MB / 430.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/6.857, allocations: 79.95 kB / 2.948 GB, free: 18.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.904/11.76, allocations: 0.9933 GB / 3.941 GB, free: 30.34 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0006794/11.76, allocations: 74 kB / 3.941 GB, free: 30.33 MB / 478.1 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 0.02556/11.79, allocations: 4.284 MB / 3.945 GB, free: 28.27 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.172e-05/11.79, allocations: 14 kB / 3.945 GB, free: 28.27 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/11.8, allocations: 1.095 MB / 3.946 GB, free: 28.11 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01097/11.81, allocations: 2.267 MB / 3.949 GB, free: 27.55 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005416/11.81, allocations: 202.2 kB / 3.949 GB, free: 27.48 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001956/11.81, allocations: 147.7 kB / 3.949 GB, free: 27.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0106/11.82, allocations: 3.525 MB / 3.952 GB, free: 27.46 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0143/11.84, allocations: 3.714 MB / 3.956 GB, free: 26.86 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002366/11.84, allocations: 18.22 kB / 3.956 GB, free: 26.84 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001725/11.84, allocations: 6.5 kB / 3.956 GB, free: 26.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003549/11.84, allocations: 234.5 kB / 3.956 GB, free: 26.83 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0447/11.88, allocations: 19.85 MB / 3.976 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003233/11.89, allocations: 1.524 MB / 3.977 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002771/11.89, allocations: 1.492 MB / 3.979 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03868/11.93, allocations: 17.07 MB / 3.995 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/11.93, allocations: 57.12 kB / 3.995 GB, free: 12.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=194): time 1.119e-05/11.93, allocations: 4 kB / 3.995 GB, free: 12.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=244): time 0.5505/12.48, allocations: 19.26 MB / 4.014 GB, free: 71.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/12.48, allocations: 130.2 kB / 4.014 GB, free: 70.99 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002491/12.48, allocations: 1.21 MB / 4.016 GB, free: 70.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008713/12.48, allocations: 29.36 kB / 4.016 GB, free: 70.81 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000736/12.48, allocations: 0.9083 MB / 4.016 GB, free: 70.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001339/12.49, allocations: 0.7965 MB / 4.017 GB, free: 69.99 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/12.49, allocations: 2.656 kB / 4.017 GB, free: 69.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/12.49, allocations: 413.5 kB / 4.018 GB, free: 69.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002931/12.49, allocations: 2.033 MB / 4.02 GB, free: 69.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003403/12.49, allocations: 2.541 MB / 4.022 GB, free: 69.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01678/12.51, allocations: 4.564 MB / 4.027 GB, free: 69.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-05/12.51, allocations: 6.781 kB / 4.027 GB, free: 69.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.02751/12.54, allocations: 8.607 MB / 4.035 GB, free: 68.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001504/12.54, allocations: 5.419 MB / 4.04 GB, free: 63.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.93e-05/12.54, allocations: 14.28 kB / 4.04 GB, free: 63.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005286/12.54, allocations: 2.311 MB / 4.042 GB, free: 63.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00343/12.55, allocations: 0.596 MB / 4.043 GB, free: 63.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/12.56, allocations: 8.299 MB / 4.051 GB, free: 58.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005429/12.56, allocations: 362.3 kB / 4.052 GB, free: 58.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008852/12.56, allocations: 157.4 kB / 4.052 GB, free: 58.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/12.56, allocations: 3.5 kB / 4.052 GB, free: 58.5 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02022/12.58, allocations: 6.429 MB / 4.058 GB, free: 58.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.32e-05/12.58, allocations: 14.28 kB / 4.058 GB, free: 58.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00172/12.59, allocations: 0.6293 MB / 4.059 GB, free: 58.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003491/12.59, allocations: 0.703 MB / 4.059 GB, free: 58.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006579/12.6, allocations: 7.999 MB / 4.067 GB, free: 52.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005211/12.6, allocations: 346.8 kB / 4.067 GB, free: 52.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004841/12.6, allocations: 141 kB / 4.068 GB, free: 52.02 MB / 494.1 MB 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.001319/12.6, allocations: 189.5 kB / 4.068 GB, free: 51.92 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002341/12.61, allocations: 0.6805 MB / 4.068 GB, free: 51.81 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01875/12.62, allocations: 11.72 MB / 4.08 GB, free: 51.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01502/12.64, allocations: 10.17 MB / 4.09 GB, free: 50.69 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/12.64, allocations: 2.156 kB / 4.09 GB, free: 50.69 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01464/12.65, allocations: 10.32 MB / 4.1 GB, free: 49.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03195/12.69, allocations: 18.17 MB / 4.118 GB, free: 48.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/12.69, allocations: 3.469 kB / 4.118 GB, free: 48.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002229/12.69, allocations: 419.3 kB / 4.118 GB, free: 48.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008481/12.7, allocations: 4.231 MB / 4.122 GB, free: 48.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007703/12.7, allocations: 73.47 kB / 4.122 GB, free: 48.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/12.71, allocations: 10.71 MB / 4.133 GB, free: 43.54 MB / 494.1 MB 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.005006/12.72, allocations: 2.911 MB / 4.135 GB, free: 42.95 MB / 494.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02143/12.74, allocations: 13.43 MB / 4.149 GB, free: 38.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002946/12.74, allocations: 0.8536 MB / 4.149 GB, free: 38.36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008562/12.74, allocations: 16.95 kB / 4.149 GB, free: 38.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003637/12.75, allocations: 296.5 kB / 4.15 GB, free: 38.35 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005748/12.75, allocations: 226.5 kB / 4.15 GB, free: 38.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000393/12.75, allocations: 116.5 kB / 4.15 GB, free: 38.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 0.002029/12.75, allocations: 0.8744 MB / 4.151 GB, free: 37.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.02409/12.77, allocations: 3.743 MB / 4.155 GB, free: 37.64 MB / 494.1 MB 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.02152/12.79, allocations: 3.929 MB / 4.158 GB, free: 37.17 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01979/12.81, allocations: 9.503 MB / 4.168 GB, free: 33.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.891e-05/12.81, allocations: 4.969 kB / 4.168 GB, free: 33.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01017/12.82, allocations: 5.052 MB / 4.173 GB, free: 31.74 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006264/12.83, allocations: 0.886 MB / 4.173 GB, free: 31.59 MB / 494.1 MB [/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]