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.001423/0.001423, allocations: 101.5 kB / 17.85 MB, free: 5.664 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.001682/0.001682, allocations: 194 kB / 18.76 MB, free: 4.746 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.496/1.496, allocations: 222.9 MB / 242.4 MB, free: 15.48 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.1972/0.1972, allocations: 44.18 MB / 336.8 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001296, allocations: 61.28 kB / 408.4 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1175, allocations: 60.82 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.322/0.4396, allocations: 95.49 MB / 0.5514 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03553/0.4751, allocations: 22.61 MB / 0.5735 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004945/0.4801, allocations: 115.1 kB / 0.5736 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00356/0.4838, allocations: 0.8121 MB / 0.5744 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01077/0.4946, allocations: 3.514 MB / 0.5779 GB, free: 6.645 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01334/0.508, allocations: 4.948 MB / 0.5827 GB, free: 1.703 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0118/0.5198, allocations: 10.56 MB / 0.593 GB, free: 7.125 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003634/0.5235, allocations: 1.563 MB / 0.5945 GB, free: 5.543 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1762/0.6997, allocations: 73.38 MB / 0.6662 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07337/0.7732, allocations: 31.95 MB / 0.6974 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001279/0.7745, allocations: 132 kB / 0.6975 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01457/0.7891, allocations: 5.971 MB / 0.7033 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001989/0.7911, allocations: 0.9621 MB / 0.7043 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003864/0.795, allocations: 1.372 MB / 0.7056 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.2772/1.072, allocations: 3.978 MB / 0.7095 GB, free: 116 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.072, allocations: 0.7812 kB / 0.7095 GB, free: 116 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.673e-06/1.072, allocations: 0.5312 kB / 0.7095 GB, free: 116 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001449/1.072, allocations: 0.5938 kB / 0.7095 GB, free: 116 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.01141/1.084, allocations: 3.486 MB / 0.7129 GB, free: 114.9 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/1.084, allocations: 9.875 kB / 0.7129 GB, free: 114.9 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/1.085, allocations: 314.1 kB / 0.7132 GB, free: 114.7 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00312/1.088, allocations: 1.566 MB / 0.7148 GB, free: 114.3 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002069/1.089, allocations: 215.2 kB / 0.715 GB, free: 114.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000412/1.089, allocations: 183.5 kB / 0.7151 GB, free: 114.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006948/1.096, allocations: 3.281 MB / 0.7183 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.397e-05/1.096, allocations: 4.438 kB / 0.7183 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000318/1.096, allocations: 81.41 kB / 0.7184 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004015/1.097, allocations: 254.1 kB / 0.7187 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005929/1.103, allocations: 3.095 MB / 0.7217 GB, free: 113.8 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.02094/1.124, allocations: 13.82 MB / 0.7352 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004276/1.128, allocations: 2.198 MB / 0.7373 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001923/1.13, allocations: 1.182 MB / 0.7385 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009001/1.139, allocations: 5.605 MB / 0.7439 GB, free: 103.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.083e-05/1.139, allocations: 53.83 kB / 0.744 GB, free: 103.8 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001342/1.141, allocations: 234.8 kB / 0.7442 GB, free: 103.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=158): time 1.282e-05/1.141, allocations: 5.719 kB / 0.7442 GB, free: 103.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=259): time 0.559/1.7, allocations: 56.3 MB / 0.7992 GB, free: 58.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.838, allocations: 46.32 MB / 0.8444 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002359/1.84, allocations: 1.862 MB / 0.8463 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006654/1.841, allocations: 69.7 kB / 0.8463 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005643/1.842, allocations: 1.086 MB / 0.8474 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009705/1.843, allocations: 0.8678 MB / 0.8482 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001329/1.844, allocations: 0.5643 MB / 0.8488 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.471e-05/1.844, allocations: 301.1 kB / 0.8491 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003719/1.848, allocations: 2.18 MB / 0.8512 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004057/1.852, allocations: 2.822 MB / 0.854 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/1.863, allocations: 5.457 MB / 0.8593 GB, free: 12.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/1.863, allocations: 8 kB / 0.8593 GB, free: 12.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01745/1.881, allocations: 7.498 MB / 0.8666 GB, free: 4.902 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/1.881, allocations: 16 kB / 0.8666 GB, free: 4.887 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.038e-05/1.881, allocations: 16 kB / 0.8666 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05058/1.931, allocations: 12.26 MB / 0.8786 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/1.933, allocations: 345.6 kB / 0.8789 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01942/1.953, allocations: 8.651 MB / 0.8874 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004347/1.957, allocations: 255.8 kB / 0.8876 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007699/1.958, allocations: 151.9 kB / 0.8878 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005863/1.964, allocations: 2.68 MB / 0.8904 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004897/1.969, allocations: 2.753 MB / 0.8931 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01167/1.98, allocations: 5.332 MB / 0.8983 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.95e-05/1.98, allocations: 4 kB / 0.8983 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01645/1.997, allocations: 7.237 MB / 0.9054 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/1.997, allocations: 12 kB / 0.9054 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.143e-05/1.997, allocations: 20 kB / 0.9054 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02778/2.025, allocations: 7.749 MB / 0.913 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002081/2.027, allocations: 392.5 kB / 0.9133 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01823/2.045, allocations: 8.164 MB / 0.9213 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004462/2.05, allocations: 251.9 kB / 0.9216 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008017/2.05, allocations: 147.9 kB / 0.9217 GB, free: 12.06 MB / 0.6075 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.001361/2.052, allocations: 340.6 kB / 0.922 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/2.053, allocations: 251.8 kB / 0.9223 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01844/2.071, allocations: 7.848 MB / 0.9299 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.926e-05/2.071, allocations: 35.98 kB / 0.93 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/2.071, allocations: 0 / 0.93 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2371/2.309, allocations: 6.913 MB / 0.9367 GB, free: 273.3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03149/2.34, allocations: 13.78 MB / 0.9502 GB, free: 268.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.762e-05/2.34, allocations: 0 / 0.9502 GB, free: 268.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/2.341, allocations: 188.6 kB / 0.9503 GB, free: 268.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0457/2.387, allocations: 11.83 MB / 0.9619 GB, free: 265.6 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007657/2.388, allocations: 83.42 kB / 0.962 GB, free: 265.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01575/2.403, allocations: 8.362 MB / 0.9701 GB, free: 259 MB / 0.6075 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.545, allocations: 46.33 MB / 1.015 GB, free: 212.9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0216/2.566, allocations: 10.44 MB / 1.026 GB, free: 202.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002484/2.569, allocations: 0.809 MB / 1.026 GB, free: 201.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001157/2.57, allocations: 59.97 kB / 1.026 GB, free: 201.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003765/2.574, allocations: 239.5 kB / 1.027 GB, free: 201.3 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007346/2.575, allocations: 198 kB / 1.027 GB, free: 201.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005589/2.575, allocations: 112 kB / 1.027 GB, free: 201 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002143/2.577, allocations: 1.28 MB / 1.028 GB, free: 199.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/2.577, allocations: 0 / 1.028 GB, free: 199.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0117/2.589, allocations: 2.896 MB / 1.031 GB, free: 197.1 MB / 0.6075 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 (93): * Single equations (assignments): 87 * 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.01017/2.599, allocations: 2.09 MB / 1.033 GB, free: 195.1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.02974/2.629, allocations: 9.134 MB / 1.042 GB, free: 185.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/2.629, allocations: 4.062 kB / 1.042 GB, free: 185.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01051/2.64, allocations: 3.182 MB / 1.045 GB, free: 182.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007089/2.647, allocations: 0.9984 MB / 1.046 GB, free: 181.8 MB / 0.6075 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4614:9-4614:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:774:5-774:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]