Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadModel(ModelicaTest): time 2.488/2.488, allocations: 234.9 MB / 251.1 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004417/0.0004418, allocations: 8 kB / 314.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3639, allocations: 54.86 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial): time 0.1452/0.5091, allocations: 90.99 MB / 460.8 MB, free: 15.54 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.4303/0.9395, allocations: 37.85 MB / 498.6 MB, free: 6.32 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00394/0.9435, allocations: 101.4 kB / 498.7 MB, free: 6.32 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005124/0.9486, allocations: 1.227 MB / 500 MB, free: 6.316 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02621/0.9749, allocations: 6.474 MB / 0.4946 GB, free: 6.242 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03015/1.005, allocations: 7.47 MB / 0.5019 GB, free: 6.145 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01233/1.017, allocations: 5.393 MB / 0.5071 GB, free: 5.273 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003705/1.021, allocations: 1.603 MB / 0.5087 GB, free: 4.637 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.06286/1.084, allocations: 24.42 MB / 0.5325 GB, free: 5.422 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0635/1.148, allocations: 23.99 MB / 0.556 GB, free: 15.36 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001041/1.149, allocations: 140 kB / 0.5561 GB, free: 15.22 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0396/1.188, allocations: 12.66 MB / 0.5685 GB, free: 4.93 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002398/1.191, allocations: 0.922 MB / 0.5694 GB, free: 4.332 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00171/1.193, allocations: 0.6218 MB / 0.57 GB, free: 3.973 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0203/1.213, allocations: 7 MB / 0.5768 GB, free: 13.98 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.213, allocations: 0 / 0.5768 GB, free: 13.98 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.116e-06/1.213, allocations: 0 / 0.5768 GB, free: 13.98 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.239e-05/1.213, allocations: 0 / 0.5768 GB, free: 13.98 MB / 458.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.01705/1.23, allocations: 4.038 MB / 0.5808 GB, free: 10.21 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/1.23, allocations: 8.031 kB / 0.5808 GB, free: 10.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/1.242, allocations: 0.9882 MB / 0.5817 GB, free: 9.281 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006701/1.249, allocations: 1.728 MB / 0.5834 GB, free: 7.977 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004943/1.249, allocations: 283.3 kB / 0.5837 GB, free: 7.777 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008568/1.25, allocations: 249.1 kB / 0.5839 GB, free: 7.617 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01964/1.27, allocations: 4.442 MB / 0.5883 GB, free: 4.23 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001166/1.27, allocations: 6.906 kB / 0.5883 GB, free: 4.227 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006093/1.271, allocations: 105.4 kB / 0.5884 GB, free: 4.203 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007608/1.271, allocations: 268.6 kB / 0.5886 GB, free: 3.969 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02081/1.292, allocations: 4.202 MB / 0.5927 GB, free: 0.9922 MB / 458.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.04655/1.339, allocations: 18.84 MB / 0.6111 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01171/1.351, allocations: 2.868 MB / 0.6139 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06023/1.411, allocations: 17.22 MB / 0.6307 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.487e-05/1.411, allocations: 55.38 kB / 0.6308 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00208/1.413, allocations: 220.4 kB / 0.631 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=192): time 4.939e-06/1.413, allocations: 0 / 0.631 GB, free: 8.102 MB / 0.4948 GB 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: heater.mediums[1].p 2: pump.medium.p 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: heater.statesFM[1].T = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pump.medium.p, pump.medium.h, 0, 0).T [/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