Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.m|m_flow|T_forward|T_return|tankLevel|tank.ports.1..m_flow|tank.ports.1..p|tank.ports.1..h_outflow|tank.ports.2..m_flow|tank.ports.2..p|tank.ports.2..h_outflow|tank.portsData.1..diameter|tank.portsData.1..height|tank.portsData.1..zeta_out|tank.portsData.1..zeta_in|tank.portsData.2..diameter|tank.portsData.2..height|tank.portsData.2..zeta_out|tank.portsData.2..zeta_in|tank.ports_H_flow.1.|tank.ports_H_flow.2.|tank.ports_E_flow.1.|tank.ports_E_flow.2.|tank.ports_penetration.1.|tank.ports_penetration.2.|tank.portsData_diameter_internal.1.|tank.portsData_diameter_internal.2.|tank.portsData_height_internal.1.|tank.portsData_height_internal.2.|tank.portsData_zeta_in_internal.1.|tank.portsData_zeta_in_internal.2.|tank.portsData_zeta_out_internal.1.|tank.portsData_zeta_out_internal.2.|tank.portsData_diameter.1.|tank.portsData_diameter.2.|tank.portsData_height.1.|tank.portsData_height.2.|tank.portsData_zeta_in.1.|tank.portsData_zeta_in.2.|tank.portsData_zeta_out.1.|tank.portsData_zeta_out.2.|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|sensor_m_flow.port_b.m_flow|sensor_m_flow.port_b.p|sensor_m_flow.port_b.h_outflow|heater.port_b.m_flow|heater.port_b.p|heater.port_b.h_outflow|radiator.port_b.m_flow|radiator.port_b.p|radiator.port_b.h_outflow|handle.y|pipe.port_b.m_flow|pipe.port_b.p|pipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.m|m_flow|T_forward|T_return|tankLevel|tank.ports.1..m_flow|tank.ports.1..p|tank.ports.1..h_outflow|tank.ports.2..m_flow|tank.ports.2..p|tank.ports.2..h_outflow|tank.portsData.1..diameter|tank.portsData.1..height|tank.portsData.1..zeta_out|tank.portsData.1..zeta_in|tank.portsData.2..diameter|tank.portsData.2..height|tank.portsData.2..zeta_out|tank.portsData.2..zeta_in|tank.ports_H_flow.1.|tank.ports_H_flow.2.|tank.ports_E_flow.1.|tank.ports_E_flow.2.|tank.ports_penetration.1.|tank.ports_penetration.2.|tank.portsData_diameter_internal.1.|tank.portsData_diameter_internal.2.|tank.portsData_height_internal.1.|tank.portsData_height_internal.2.|tank.portsData_zeta_in_internal.1.|tank.portsData_zeta_in_internal.2.|tank.portsData_zeta_out_internal.1.|tank.portsData_zeta_out_internal.2.|tank.portsData_diameter.1.|tank.portsData_diameter.2.|tank.portsData_height.1.|tank.portsData_height.2.|tank.portsData_zeta_in.1.|tank.portsData_zeta_in.2.|tank.portsData_zeta_out.1.|tank.portsData_zeta_out.2.|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|sensor_m_flow.port_b.m_flow|sensor_m_flow.port_b.p|sensor_m_flow.port_b.h_outflow|heater.port_b.m_flow|heater.port_b.p|heater.port_b.h_outflow|radiator.port_b.m_flow|radiator.port_b.p|radiator.port_b.h_outflow|handle.y|pipe.port_b.m_flow|pipe.port_b.p|pipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 108.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 189.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 241.9 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2074/0.2074, allocations: 44.18 MB / 336.2 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 62.5 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1193, allocations: 60.83 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.3241/0.4435, allocations: 93.22 MB / 0.5488 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03131/0.4748, allocations: 21.77 MB / 0.57 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003689/0.4785, allocations: 115.1 kB / 0.5701 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002577/0.4812, allocations: 0.8354 MB / 0.571 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01024/0.4915, allocations: 3.489 MB / 0.5744 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01461/0.5061, allocations: 5.215 MB / 0.5795 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01049/0.5166, allocations: 6.933 MB / 0.5862 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003356/0.52, allocations: 1.816 MB / 0.588 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1527/0.6727, allocations: 74.38 MB / 0.6606 GB, free: 20 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0646/0.7374, allocations: 32.11 MB / 0.692 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001232/0.7387, allocations: 248 kB / 0.6922 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01425/0.7529, allocations: 6.104 MB / 0.6982 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002341/0.7553, allocations: 1.071 MB / 0.6992 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004122/0.7594, allocations: 1.497 MB / 0.7007 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01246/0.7719, allocations: 5.446 MB / 0.706 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.772, allocations: 11.94 kB / 0.706 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.813e-06/0.772, allocations: 0 / 0.706 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000153/0.7721, allocations: 0 / 0.706 GB, free: 1.09 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.2431/1.015, allocations: 3.468 MB / 0.7094 GB, free: 206.7 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.015, allocations: 10.12 kB / 0.7094 GB, free: 206.7 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/1.017, allocations: 312.1 kB / 0.7097 GB, free: 206.6 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003002/1.02, allocations: 1.571 MB / 0.7113 GB, free: 205.8 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001946/1.02, allocations: 216.7 kB / 0.7115 GB, free: 205.7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003272/1.02, allocations: 185.4 kB / 0.7116 GB, free: 205.6 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005954/1.026, allocations: 3.28 MB / 0.7148 GB, free: 204.3 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.799e-05/1.026, allocations: 11.09 kB / 0.7149 GB, free: 204.3 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002284/1.026, allocations: 79.39 kB / 0.7149 GB, free: 204.2 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003265/1.027, allocations: 252.5 kB / 0.7152 GB, free: 204.2 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005945/1.033, allocations: 3.095 MB / 0.7182 GB, free: 203.2 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01977/1.052, allocations: 13.82 MB / 0.7317 GB, free: 192.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003757/1.056, allocations: 2.198 MB / 0.7338 GB, free: 191.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/1.058, allocations: 1.186 MB / 0.735 GB, free: 190.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00829/1.066, allocations: 5.61 MB / 0.7405 GB, free: 185.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/1.066, allocations: 53.62 kB / 0.7405 GB, free: 185.7 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001171/1.067, allocations: 210.2 kB / 0.7407 GB, free: 185.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=158): time 5.069e-06/1.067, allocations: 0 / 0.7407 GB, free: 185.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=259): time 0.5512/1.619, allocations: 56.4 MB / 0.7958 GB, free: 129.8 MB / 0.5294 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1383/1.757, allocations: 46.45 MB / 0.8412 GB, free: 82.83 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002468/1.76, allocations: 1.866 MB / 0.843 GB, free: 80.92 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006178/1.76, allocations: 65.7 kB / 0.843 GB, free: 80.85 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005508/1.761, allocations: 1.088 MB / 0.8441 GB, free: 79.76 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008907/1.762, allocations: 0.8656 MB / 0.845 GB, free: 78.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001325/1.763, allocations: 0.5721 MB / 0.8455 GB, free: 78.32 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.435e-05/1.763, allocations: 305.1 kB / 0.8458 GB, free: 78.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003646/1.767, allocations: 2.184 MB / 0.8479 GB, free: 75.83 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003948/1.771, allocations: 2.825 MB / 0.8507 GB, free: 72.74 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009803/1.78, allocations: 5.48 MB / 0.856 GB, free: 66.96 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/1.78, allocations: 8 kB / 0.8561 GB, free: 66.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01393/1.794, allocations: 7.518 MB / 0.8634 GB, free: 59.39 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/1.794, allocations: 12 kB / 0.8634 GB, free: 59.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.298e-05/1.795, allocations: 20 kB / 0.8634 GB, free: 59.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04513/1.84, allocations: 12.28 MB / 0.8754 GB, free: 47.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/1.841, allocations: 355.4 kB / 0.8758 GB, free: 46.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01627/1.858, allocations: 8.643 MB / 0.8842 GB, free: 38.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004036/1.862, allocations: 255.8 kB / 0.8844 GB, free: 37.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006164/1.862, allocations: 155.9 kB / 0.8846 GB, free: 37.64 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004563/1.867, allocations: 2.688 MB / 0.8872 GB, free: 34.95 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003889/1.871, allocations: 2.767 MB / 0.8899 GB, free: 31.92 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00985/1.881, allocations: 5.347 MB / 0.8951 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.814e-05/1.881, allocations: 4 kB / 0.8951 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01393/1.895, allocations: 7.263 MB / 0.9022 GB, free: 18.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/1.895, allocations: 12 kB / 0.9022 GB, free: 18.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/1.895, allocations: 16 kB / 0.9023 GB, free: 18.92 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02501/1.92, allocations: 7.754 MB / 0.9098 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002022/1.922, allocations: 391.4 kB / 0.9102 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0159/1.938, allocations: 8.169 MB / 0.9182 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004025/1.942, allocations: 255.8 kB / 0.9184 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006136/1.942, allocations: 155.9 kB / 0.9186 GB, free: 2.141 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 4 (tank.inFlow[2],tank.inFlow[1],tank.regularFlow[2],tank.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(15,79), (18,78)} Notification: Performance of prepare postOptimizeDAE: time 0.001081/1.944, allocations: 332.2 kB / 0.9189 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008697/1.944, allocations: 252.9 kB / 0.9191 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2316/2.176, allocations: 8.081 MB / 0.927 GB, free: 193.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-05/2.176, allocations: 35.03 kB / 0.9271 GB, free: 193.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/2.176, allocations: 0 / 0.9271 GB, free: 193.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01646/2.193, allocations: 7.091 MB / 0.934 GB, free: 191.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02456/2.217, allocations: 13.82 MB / 0.9475 GB, free: 185.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/2.217, allocations: 0 / 0.9475 GB, free: 185.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009493/2.218, allocations: 198.5 kB / 0.9477 GB, free: 185.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04552/2.264, allocations: 11.68 MB / 0.9591 GB, free: 177.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007048/2.265, allocations: 91.89 kB / 0.9592 GB, free: 177.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01494/2.279, allocations: 8.37 MB / 0.9673 GB, free: 168.8 MB / 0.5294 GB Warning: There are tearing variables with annotation attribute 'tearingSelect = never'. Use -d=tearingdump and -d=tearingdumpV for more information. Error: Jacobian StateSetJac9 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1413/2.421, allocations: 46.15 MB / 1.012 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02067/2.441, allocations: 10.68 MB / 1.023 GB, free: 112.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001894/2.443, allocations: 0.8081 MB / 1.024 GB, free: 111.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007988/2.444, allocations: 52 kB / 1.024 GB, free: 111.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003295/2.448, allocations: 239.3 kB / 1.024 GB, free: 111.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005304/2.448, allocations: 202 kB / 1.024 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003249/2.448, allocations: 116 kB / 1.024 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001648/2.45, allocations: 1.277 MB / 1.025 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/2.45, allocations: 0 / 1.025 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008473/2.459, allocations: 2.904 MB / 1.028 GB, free: 106.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(15,77), (19,105)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008678/2.467, allocations: 2.097 MB / 1.03 GB, free: 105 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02796/2.495, allocations: 10.36 MB / 1.04 GB, free: 94.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/2.495, allocations: 4.062 kB / 1.04 GB, free: 94.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01004/2.505, allocations: 3.233 MB / 1.044 GB, free: 91.35 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006061/2.511, allocations: 1.056 MB / 1.045 GB, free: 90.33 MB / 0.5294 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4638:9-4638:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:798:5-798:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]