Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem.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) Running command: translateModel(Modelica.Fluid.Examples.HeatingSystem,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="Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem") Notification: Performance of loadModel(Modelica): time 1.558/1.558, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004923, allocations: 8 kB / 233.8 MB, free: 2.406 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.109, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.442/0.551, allocations: 90.22 MB / 362.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.07454/0.6256, allocations: 37.6 MB / 400.4 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003663/0.6294, allocations: 103.1 kB / 400.5 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005405/0.6348, allocations: 1.221 MB / 401.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02616/0.661, allocations: 6.404 MB / 408.2 MB, free: 6.645 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02911/0.6901, allocations: 7.432 MB / 415.6 MB, free: 15.2 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01215/0.7023, allocations: 5.415 MB / 421 MB, free: 9.773 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003727/0.7061, allocations: 1.597 MB / 422.6 MB, free: 8.156 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3369/1.043, allocations: 24.09 MB / 446.7 MB, free: 17 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.05205/1.095, allocations: 23.72 MB / 470.4 MB, free: 3.887 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001046/1.096, allocations: 143.5 kB / 470.6 MB, free: 3.75 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03402/1.13, allocations: 12.51 MB / 483.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002199/1.133, allocations: 0.9271 MB / 484 MB, free: 11.87 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00175/1.134, allocations: 0.6233 MB / 484.6 MB, free: 11.51 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01802/1.152, allocations: 6.929 MB / 491.5 MB, free: 5.887 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/1.152, allocations: 0 / 491.5 MB, free: 5.887 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.174e-06/1.152, allocations: 0 / 491.5 MB, free: 5.887 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001279/1.153, allocations: 4 kB / 491.6 MB, free: 5.883 MB / 362.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.01795/1.171, allocations: 3.956 MB / 495.5 MB, free: 2.184 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/1.171, allocations: 16 kB / 495.5 MB, free: 2.168 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009988/1.181, allocations: 0.9624 MB / 496.5 MB, free: 1.277 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005475/1.186, allocations: 1.721 MB / 498.2 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004519/1.187, allocations: 279.4 kB / 498.5 MB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009676/1.188, allocations: 251.2 kB / 498.7 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01526/1.203, allocations: 4.42 MB / 0.4914 GB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.574e-05/1.203, allocations: 15.02 kB / 0.4914 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004658/1.203, allocations: 101 kB / 0.4915 GB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005649/1.204, allocations: 270.1 kB / 0.4917 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01649/1.221, allocations: 4.199 MB / 0.4958 GB, free: 9.02 MB / 378.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.04069/1.261, allocations: 18.8 MB / 0.5142 GB, free: 7.914 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01147/1.273, allocations: 2.874 MB / 0.517 GB, free: 5.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07328/1.346, allocations: 17.22 MB / 0.5338 GB, free: 2.977 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/1.346, allocations: 58.91 kB / 0.5339 GB, free: 2.93 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002678/1.349, allocations: 205.8 kB / 0.5341 GB, free: 2.754 MB / 410.7 MB Notification: Performance of pre-optimization done (n=192): time 1.48e-05/1.349, allocations: 3.984 kB / 0.5341 GB, free: 2.75 MB / 410.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: 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