Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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_3.2.1_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") Notification: Performance of loadModel(ModelicaTest): time 1.766/1.766, allocations: 209.3 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004095/0.0004096, allocations: 12 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3318, allocations: 48.71 MB / 331.8 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.1324/0.4643, allocations: 90.25 MB / 422.1 MB, free: 4.09 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0737/0.5381, allocations: 37.6 MB / 459.7 MB, free: 14.41 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003269/0.5414, allocations: 103.1 kB / 459.8 MB, free: 14.31 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00527/0.5467, allocations: 1.229 MB / 461 MB, free: 13.08 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02633/0.5731, allocations: 6.404 MB / 467.4 MB, free: 6.656 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.3619/0.935, allocations: 7.417 MB / 474.8 MB, free: 12.53 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01086/0.9458, allocations: 5.328 MB / 480.2 MB, free: 12.53 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003539/0.9494, allocations: 1.563 MB / 481.7 MB, free: 12.4 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05721/1.007, allocations: 24.09 MB / 0.4939 GB, free: 10.45 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.05553/1.062, allocations: 23.74 MB / 0.5171 GB, free: 7.117 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000961/1.063, allocations: 140 kB / 0.5173 GB, free: 6.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03556/1.099, allocations: 12.48 MB / 0.5295 GB, free: 14.04 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002119/1.101, allocations: 0.894 MB / 0.5303 GB, free: 13.46 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001615/1.103, allocations: 0.625 MB / 0.5309 GB, free: 13.1 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01775/1.12, allocations: 6.912 MB / 0.5377 GB, free: 7.191 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.12, allocations: 0 / 0.5377 GB, free: 7.191 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.534e-06/1.12, allocations: 0 / 0.5377 GB, free: 7.191 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001087/1.121, allocations: 0 / 0.5377 GB, free: 7.191 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 670 * Number of variables: 670 Notification: Performance of Generate backend data structure: time 0.01576/1.136, allocations: 3.964 MB / 0.5416 GB, free: 3.484 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/1.136, allocations: 10.88 kB / 0.5416 GB, free: 3.477 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009334/1.146, allocations: 0.9589 MB / 0.5425 GB, free: 2.582 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004994/1.151, allocations: 1.709 MB / 0.5442 GB, free: 1.293 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003946/1.151, allocations: 280.4 kB / 0.5444 GB, free: 1.098 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006689/1.152, allocations: 244.2 kB / 0.5447 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01426/1.166, allocations: 4.429 MB / 0.549 GB, free: 13.56 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.899e-05/1.166, allocations: 10.03 kB / 0.549 GB, free: 13.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004237/1.167, allocations: 100.3 kB / 0.5491 GB, free: 13.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005263/1.167, allocations: 269.3 kB / 0.5494 GB, free: 13.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01508/1.182, allocations: 4.188 MB / 0.5535 GB, free: 10.34 MB / 442.7 MB 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.03748/1.22, allocations: 18.84 MB / 0.5718 GB, free: 9.16 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/1.231, allocations: 2.761 MB / 0.5745 GB, free: 7.242 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05848/1.289, allocations: 17.23 MB / 0.5914 GB, free: 4.309 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.692e-05/1.289, allocations: 58.06 kB / 0.5914 GB, free: 4.258 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002058/1.291, allocations: 325.6 kB / 0.5917 GB, free: 3.965 MB / 474.7 MB Notification: Performance of pre-optimization done (n=179): time 5.872e-06/1.291, allocations: 0 / 0.5917 GB, free: 3.965 MB / 474.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: tank.medium.h 2: radiator.mediums[1].h 3: pump.medium.h 4: pump.medium.p 5: heater.mediums[1].h 6: radiator.mediums[1].p 7: pipe.mediums[2].p 8: pipe.mediums[2].h 9: heater.mediums[1].p 10: pipe.mediums[1].p 11: pipe.mediums[1].h Please use -d=bltdump for more information. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: pump.head = homotopy((pump.N / pump.N_nominal) ^ 2.0 * ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pump.flowCharacteristic(pump.V_flow_single * pump.N_nominal / pump.N, {0.0, pump.V_flow_op, 1.5 * pump.V_flow_op}, {2.0 * pump.head_op, pump.head_op, 0.0}), pump.N / pump.N_nominal * (ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pump.flowCharacteristic(0.0, {0.0, pump.V_flow_op, 1.5 * pump.V_flow_op}, {2.0 * pump.head_op, pump.head_op, 0.0}) + pump.delta_head_init * pump.V_flow_single / pump.V_flow_single_init)) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7904:5-7904:89:writable] Error: Internal error Transformation module sort components failed