Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica.Fluid.Examples.HeatingSystem") Notification: Performance of loadModel(Modelica): time 2/2, allocations: 171.2 MB / 187.3 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000411/0.0004112, allocations: 8 kB / 233.8 MB, free: 3.094 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1084, allocations: 38.77 MB / 272.6 MB, free: 12.24 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.4204/0.5289, allocations: 90.21 MB / 362.8 MB, free: 4.582 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.07993/0.6089, allocations: 37.6 MB / 400.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004665/0.6137, allocations: 99.12 kB / 400.5 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00619/0.6199, allocations: 1.225 MB / 401.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02962/0.6496, allocations: 6.417 MB / 408.1 MB, free: 7.152 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03239/0.682, allocations: 7.426 MB / 415.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01404/0.6961, allocations: 5.415 MB / 420.9 MB, free: 10.29 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00427/0.7004, allocations: 1.589 MB / 422.5 MB, free: 8.68 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3805/1.081, allocations: 24.12 MB / 446.7 MB, free: 18.09 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.05625/1.137, allocations: 23.74 MB / 470.4 MB, free: 4.805 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001304/1.139, allocations: 140 kB / 470.5 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04109/1.18, allocations: 12.79 MB / 483.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002595/1.182, allocations: 0.9272 MB / 484.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001992/1.184, allocations: 0.6219 MB / 484.9 MB, free: 12.33 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01962/1.204, allocations: 6.929 MB / 491.8 MB, free: 6.406 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/1.204, allocations: 0 / 491.8 MB, free: 6.406 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.875e-06/1.204, allocations: 2.625 kB / 491.8 MB, free: 6.406 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001432/1.204, allocations: 0 / 491.8 MB, free: 6.406 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.01709/1.221, allocations: 3.965 MB / 495.8 MB, free: 2.703 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/1.221, allocations: 12.02 kB / 495.8 MB, free: 2.691 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009884/1.231, allocations: 0.9609 MB / 496.7 MB, free: 1.801 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005815/1.237, allocations: 1.723 MB / 498.5 MB, free: 0.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00051/1.238, allocations: 288 kB / 498.7 MB, free: 308 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001165/1.239, allocations: 247.8 kB / 499 MB, free: 140 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01606/1.255, allocations: 4.434 MB / 0.4916 GB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.204e-05/1.255, allocations: 7.938 kB / 0.4916 GB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004573/1.256, allocations: 112.8 kB / 0.4917 GB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005559/1.256, allocations: 261.9 kB / 0.492 GB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01668/1.273, allocations: 4.207 MB / 0.4961 GB, free: 9.516 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.04761/1.321, allocations: 18.81 MB / 0.5145 GB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0163/1.337, allocations: 2.87 MB / 0.5173 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07278/1.41, allocations: 17.22 MB / 0.5341 GB, free: 3.477 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.925e-05/1.41, allocations: 57.31 kB / 0.5341 GB, free: 3.43 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002158/1.412, allocations: 215.6 kB / 0.5343 GB, free: 3.254 MB / 410.7 MB Notification: Performance of pre-optimization done (n=192): time 6.121e-06/1.412, allocations: 0 / 0.5343 GB, free: 3.254 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