Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.HeatingSystem.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) 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.2_Modelica.Fluid.Examples.HeatingSystem") Notification: Performance of loadModel(Modelica): time 2.098/2.098, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004771/0.0004772, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0917/0.09221, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.3967/0.4889, allocations: 90.91 MB / 400 MB, free: 11.87 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.06268/0.5517, allocations: 37.86 MB / 437.8 MB, free: 10 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003439/0.5552, allocations: 105.9 kB / 437.9 MB, free: 9.941 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005122/0.5603, allocations: 1.224 MB / 439.2 MB, free: 8.891 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02701/0.5874, allocations: 6.49 MB / 445.6 MB, free: 2.707 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02946/0.6168, allocations: 7.469 MB / 453.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01182/0.6287, allocations: 5.458 MB / 458.6 MB, free: 5.754 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003563/0.6323, allocations: 1.599 MB / 460.2 MB, free: 4.137 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.06342/0.6957, allocations: 24.37 MB / 484.5 MB, free: 11.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06098/0.7568, allocations: 23.96 MB / 0.4966 GB, free: 3.77 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008936/0.7577, allocations: 140 kB / 0.4967 GB, free: 3.633 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0366/0.7943, allocations: 12.66 MB / 0.5091 GB, free: 6.957 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002139/0.7965, allocations: 0.9193 MB / 0.51 GB, free: 6.035 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001359/0.7979, allocations: 0.6212 MB / 0.5106 GB, free: 5.406 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.331/1.129, allocations: 6.994 MB / 0.5174 GB, free: 61.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.129, allocations: 0.5 kB / 0.5174 GB, free: 61.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.186e-06/1.129, allocations: 0.6875 kB / 0.5174 GB, free: 61.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000163/1.129, allocations: 0.7812 kB / 0.5174 GB, free: 61.55 MB / 410.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.02495/1.154, allocations: 4.025 MB / 0.5214 GB, free: 59.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/1.154, allocations: 8.344 kB / 0.5214 GB, free: 59.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01658/1.171, allocations: 0.9909 MB / 0.5223 GB, free: 59.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008291/1.179, allocations: 1.727 MB / 0.524 GB, free: 59.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006363/1.18, allocations: 282.7 kB / 0.5243 GB, free: 59.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001598/1.181, allocations: 245.1 kB / 0.5245 GB, free: 59.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02228/1.204, allocations: 4.423 MB / 0.5288 GB, free: 58.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001278/1.204, allocations: 7.5 kB / 0.5288 GB, free: 58.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007237/1.205, allocations: 106.1 kB / 0.5289 GB, free: 58.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000756/1.205, allocations: 267 kB / 0.5292 GB, free: 58.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02537/1.231, allocations: 4.203 MB / 0.5333 GB, free: 58.59 MB / 410.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.04661/1.278, allocations: 18.82 MB / 0.5517 GB, free: 47.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01444/1.292, allocations: 2.867 MB / 0.5545 GB, free: 47.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0689/1.361, allocations: 17.22 MB / 0.5713 GB, free: 34.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.625e-05/1.361, allocations: 56.5 kB / 0.5714 GB, free: 34.51 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002864/1.364, allocations: 224.3 kB / 0.5716 GB, free: 34.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=192): time 7.735e-06/1.364, allocations: 0 / 0.5716 GB, free: 34.32 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