Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica.Fluid.Examples.HeatingSystem") Notification: Performance of loadModel(Modelica): time 2.201/2.201, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003944, allocations: 12 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1134, allocations: 44.5 MB / 309 MB, free: 1.062 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.4589/0.5724, allocations: 90.92 MB / 399.9 MB, free: 11.1 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.07529/0.6478, allocations: 37.86 MB / 437.8 MB, free: 10.15 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004866/0.6527, allocations: 103.1 kB / 437.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006719/0.6595, allocations: 1.223 MB / 439.1 MB, free: 9.047 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03338/0.6929, allocations: 6.491 MB / 445.6 MB, free: 3.152 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0358/0.7287, allocations: 7.465 MB / 453 MB, free: 11.68 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01393/0.7427, allocations: 5.461 MB / 458.5 MB, free: 6.199 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00459/0.7474, allocations: 1.597 MB / 460.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.07329/0.8207, allocations: 24.41 MB / 484.5 MB, free: 12.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.07242/0.8932, allocations: 23.99 MB / 0.4966 GB, free: 4.152 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001517/0.8948, allocations: 140 kB / 0.4967 GB, free: 4.016 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04367/0.9385, allocations: 12.66 MB / 0.5091 GB, free: 7.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003733/0.9423, allocations: 0.9193 MB / 0.51 GB, free: 6.418 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00326/0.9457, allocations: 0.6212 MB / 0.5106 GB, free: 5.789 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0316/0.9773, allocations: 7 MB / 0.5174 GB, free: 14.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.9774, allocations: 0 / 0.5174 GB, free: 14.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.298e-06/0.9775, allocations: 0 / 0.5174 GB, free: 14.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002174/0.9777, allocations: 0 / 0.5174 GB, free: 14.77 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.02128/0.999, allocations: 4.022 MB / 0.5213 GB, free: 10.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.47e-05/0.9991, allocations: 8.031 kB / 0.5214 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01067/1.01, allocations: 1.003 MB / 0.5223 GB, free: 9.668 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007137/1.017, allocations: 1.721 MB / 0.524 GB, free: 7.891 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007582/1.018, allocations: 284.1 kB / 0.5243 GB, free: 7.598 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001502/1.019, allocations: 243.9 kB / 0.5245 GB, free: 7.359 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02412/1.044, allocations: 4.436 MB / 0.5288 GB, free: 2.742 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000193/1.044, allocations: 7.938 kB / 0.5289 GB, free: 2.734 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001321/1.045, allocations: 108 kB / 0.529 GB, free: 2.629 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008702/1.046, allocations: 272.7 kB / 0.5292 GB, free: 2.359 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3241/1.37, allocations: 4.197 MB / 0.5333 GB, free: 163.9 MB / 426.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.06188/1.432, allocations: 18.82 MB / 0.5517 GB, free: 150.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0146/1.447, allocations: 2.868 MB / 0.5545 GB, free: 148.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07412/1.521, allocations: 17.22 MB / 0.5713 GB, free: 135.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.956e-05/1.521, allocations: 55.5 kB / 0.5714 GB, free: 135.3 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00292/1.524, allocations: 221.8 kB / 0.5716 GB, free: 135.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=192): time 1.441e-05/1.524, allocations: 0 / 0.5716 GB, free: 135.1 MB / 426.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