Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck") translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008781/0.0008779, allocations: 102.1 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 176.4 kB / 16.58 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 223.2 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.422/2.422, allocations: 390.5 MB / 0.6662 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003898, allocations: 8 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8962/0.8966, allocations: 142.3 MB / 0.9544 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1609/1.058, allocations: 122.7 MB / 1.074 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.009317/1.067, allocations: 7.478 MB / 1.082 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.268e-05/1.067, allocations: 0 / 1.082 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001812/1.067, allocations: 23.88 kB / 1.082 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.261e-05/1.067, allocations: 19.84 kB / 1.082 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003582/1.071, allocations: 1.119 MB / 1.083 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/1.071, allocations: 67.64 kB / 1.083 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.075e-05/1.071, allocations: 4 kB / 1.083 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/1.071, allocations: 47.84 kB / 1.083 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/1.071, allocations: 35.89 kB / 1.083 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/1.071, allocations: 0 / 1.083 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004135/1.076, allocations: 2.52 MB / 1.085 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/1.076, allocations: 15.92 kB / 1.085 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.072e-05/1.076, allocations: 37.7 kB / 1.085 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001168/1.077, allocations: 0.9102 MB / 1.086 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/1.077, allocations: 0 / 1.086 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.245e-06/1.077, allocations: 0 / 1.086 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.609e-06/1.077, allocations: 0 / 1.086 GB, free: 8.75 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009716/1.078, allocations: 490.9 kB / 1.087 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/1.078, allocations: 8.031 kB / 1.087 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003369/1.078, allocations: 27.97 kB / 1.087 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/1.078, allocations: 167 kB / 1.087 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.513e-05/1.078, allocations: 29.7 kB / 1.087 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/1.079, allocations: 8 kB / 1.087 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/1.079, allocations: 121.5 kB / 1.087 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/1.079, allocations: 0 / 1.087 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/1.079, allocations: 8 kB / 1.087 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/1.079, allocations: 0 / 1.087 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002725/1.079, allocations: 115.9 kB / 1.087 GB, free: 7.695 MB / 0.8419 GB 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.0005254/1.08, allocations: 384 kB / 1.088 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/1.08, allocations: 122.6 kB / 1.088 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.529e-05/1.08, allocations: 52.84 kB / 1.088 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01011/1.09, allocations: 4.25 MB / 1.092 GB, free: 2.508 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/1.09, allocations: 34.56 kB / 1.092 GB, free: 2.465 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 4.218e-06/1.09, allocations: 3.984 kB / 1.092 GB, free: 2.461 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0005439/1.091, allocations: 168.2 kB / 1.092 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/1.091, allocations: 55.41 kB / 1.092 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.866e-05/1.091, allocations: 101.8 kB / 1.092 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/1.091, allocations: 25.7 kB / 1.092 GB, free: 2.086 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/1.091, allocations: 80.14 kB / 1.092 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/1.091, allocations: 59.42 kB / 1.092 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/1.091, allocations: 3.938 kB / 1.092 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.091, allocations: 314.8 kB / 1.093 GB, free: 1.625 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.267e-05/1.091, allocations: 27.92 kB / 1.093 GB, free: 1.598 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.054e-05/1.091, allocations: 27.98 kB / 1.093 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.548e-05/1.091, allocations: 28 kB / 1.093 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.091, allocations: 3.953 kB / 1.093 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001708/1.092, allocations: 113.5 kB / 1.093 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.092, allocations: 9.078 kB / 1.093 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/1.092, allocations: 4 kB / 1.093 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/1.092, allocations: 0 / 1.093 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/1.092, allocations: 27.98 kB / 1.093 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/1.092, allocations: 0 / 1.093 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/1.092, allocations: 0 / 1.093 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/1.092, allocations: 8 kB / 1.093 GB, free: 1.375 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.322e-05/1.092, allocations: 117.8 kB / 1.093 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/1.092, allocations: 11.86 kB / 1.093 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004759/1.092, allocations: 368 kB / 1.093 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/1.093, allocations: 7.984 kB / 1.093 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.093, allocations: 4 kB / 1.093 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.093, allocations: 0 / 1.093 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/1.093, allocations: 281.3 kB / 1.094 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/1.093, allocations: 3.953 kB / 1.094 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.242e-05/1.093, allocations: 27.92 kB / 1.094 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/1.093, allocations: 0 / 1.094 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/1.093, allocations: 8 kB / 1.094 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/1.093, allocations: 0 / 1.094 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.093, allocations: 0 / 1.094 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/1.093, allocations: 323 kB / 1.094 GB, free: 164 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.607e-05/1.093, allocations: 104.9 kB / 1.094 GB, free: 40 kB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/1.093, allocations: 0 / 1.094 GB, free: 40 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/1.094, allocations: 15.98 kB / 1.094 GB, free: 24 kB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/1.094, allocations: 11.98 kB / 1.094 GB, free: 12 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/1.094, allocations: 0 / 1.094 GB, free: 12 kB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.249e-05/1.094, allocations: 83.28 kB / 1.094 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/1.094, allocations: 0 / 1.094 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001022/1.095, allocations: 299.9 kB / 1.094 GB, free: 15.64 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001153/1.096, allocations: 399.6 kB / 1.095 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002234/1.096, allocations: 124 kB / 1.095 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.096, allocations: 0 / 1.095 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/1.096, allocations: 113.5 kB / 1.095 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/1.097, allocations: 23.92 kB / 1.095 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005723/1.097, allocations: 417.4 kB / 1.096 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/1.097, allocations: 0.7169 MB / 1.096 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/1.098, allocations: 19.44 kB / 1.096 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/1.098, allocations: 0 / 1.096 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of Templates: time 0.01216/1.11, allocations: 6.736 MB / 1.103 GB, free: 7.043 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile make -j1 -f Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheckCalcHelperMain.o OMCppBuildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheckCalcHelperMain.o] Error 1