Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") translateModel(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009116/0.0009116, allocations: 99.59 kB / 15.71 MB, free: 452 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.00138/0.00138, allocations: 174 kB / 16.58 MB, free: 6.422 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.459/1.459, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001697/0.001697, allocations: 266.4 kB / 292 MB, free: 1.973 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.869/0.869, allocations: 144.7 MB / 487.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004321/0.0004322, allocations: 11.78 kB / 0.5691 GB, free: 38.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1764, allocations: 83.08 MB / 0.6502 GB, free: 3.613 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1499/0.3264, allocations: 123.2 MB / 0.7706 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4546/0.7811, allocations: 21 MB / 0.7911 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002407/0.7814, allocations: 6.938 kB / 0.7911 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.7817, allocations: 36.56 kB / 0.7911 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003911/0.7821, allocations: 85.23 kB / 0.7912 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.02116/0.8033, allocations: 5.124 MB / 0.7962 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006391/0.8039, allocations: 276.8 kB / 0.7965 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.541e-05/0.804, allocations: 8.594 kB / 0.7965 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004762/0.8045, allocations: 128.9 kB / 0.7966 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000283/0.8048, allocations: 88.09 kB / 0.7967 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.004e-05/0.8049, allocations: 12.59 kB / 0.7967 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02695/0.8318, allocations: 10.46 MB / 0.8069 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.8321, allocations: 38.05 kB / 0.8069 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003676/0.8324, allocations: 54.95 kB / 0.807 GB, free: 17.81 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.8436, allocations: 4.082 MB / 0.811 GB, free: 17.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.8436, allocations: 9.219 kB / 0.811 GB, free: 17.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.878e-06/0.8436, allocations: 0 / 0.811 GB, free: 17.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.8437, allocations: 2.938 kB / 0.811 GB, free: 17.64 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.005215/0.8489, allocations: 1.142 MB / 0.8121 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.8489, allocations: 11.75 kB / 0.8121 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.8501, allocations: 81.3 kB / 0.8122 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.8504, allocations: 226.1 kB / 0.8124 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.8504, allocations: 12.47 kB / 0.8124 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.8505, allocations: 19.52 kB / 0.8124 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.8515, allocations: 453.9 kB / 0.8129 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.8516, allocations: 3.984 kB / 0.8129 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.8516, allocations: 11.7 kB / 0.8129 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/0.8516, allocations: 11.05 kB / 0.8129 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.8526, allocations: 0.5904 MB / 0.8135 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.8537, allocations: 0.8796 MB / 0.8143 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006849/0.8544, allocations: 251.8 kB / 0.8146 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.8545, allocations: 79.11 kB / 0.8146 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07662/0.9312, allocations: 35.33 MB / 0.8491 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.9312, allocations: 44.98 kB / 0.8492 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=25): time 3.156e-06/0.9313, allocations: 0 / 0.8492 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of matching and sorting (n=25): time 0.001583/0.9328, allocations: 418.8 kB / 0.8496 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.9329, allocations: 55.34 kB / 0.8496 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.9331, allocations: 143 kB / 0.8498 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.9331, allocations: 33.58 kB / 0.8498 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.758e-05/0.9332, allocations: 107.6 kB / 0.8499 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.787e-05/0.9333, allocations: 85.64 kB / 0.85 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/0.9333, allocations: 3.938 kB / 0.85 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.9334, allocations: 326.8 kB / 0.8503 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.9336, allocations: 81.34 kB / 0.8504 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.9338, allocations: 128 kB / 0.8505 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.934, allocations: 86.48 kB / 0.8506 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.934, allocations: 3.953 kB / 0.8506 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006508/0.9347, allocations: 298.7 kB / 0.8509 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.9347, allocations: 9.719 kB / 0.8509 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.9347, allocations: 0 / 0.8509 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.9347, allocations: 5.75 kB / 0.8509 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.935, allocations: 82.34 kB / 0.851 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.9351, allocations: 6.906 kB / 0.851 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.9352, allocations: 28.33 kB / 0.851 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/0.9353, allocations: 23.55 kB / 0.851 GB, free: 6.332 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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 0.0001416/0.9354, allocations: 128.4 kB / 0.8512 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.9356, allocations: 15.86 kB / 0.8512 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.938, allocations: 2.345 MB / 0.8535 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.938, allocations: 11.3 kB / 0.8535 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.938, allocations: 0 / 0.8535 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.938, allocations: 3.984 kB / 0.8535 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003194/0.9412, allocations: 3.422 MB / 0.8568 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.9412, allocations: 0 / 0.8568 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.9415, allocations: 57.11 kB / 0.8569 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.9415, allocations: 0 / 0.8569 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.9415, allocations: 9.625 kB / 0.8569 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.9415, allocations: 0 / 0.8569 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9415, allocations: 3.938 kB / 0.8569 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007412/0.9423, allocations: 0.5503 MB / 0.8574 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.9424, allocations: 149.9 kB / 0.8576 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.9425, allocations: 2.875 kB / 0.8576 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.9427, allocations: 19.42 kB / 0.8576 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.9427, allocations: 18.02 kB / 0.8576 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.9428, allocations: 14.11 kB / 0.8576 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.924e-05/0.9429, allocations: 104.9 kB / 0.8577 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9429, allocations: 4 kB / 0.8577 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00579/0.9487, allocations: 1.621 MB / 0.8593 GB, free: 208 kB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01001/0.9587, allocations: 1.894 MB / 0.8612 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006978/0.9595, allocations: 315.5 kB / 0.8615 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.9595, allocations: 0 / 0.8615 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003069/0.9598, allocations: 241.9 kB / 0.8617 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005978/0.9604, allocations: 71.52 kB / 0.8618 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.9615, allocations: 0.8308 MB / 0.8626 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.9619, allocations: 0.7664 MB / 0.8633 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.9621, allocations: 49.59 kB / 0.8634 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.9621, allocations: 0 / 0.8634 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of Templates: time 0.0557/1.018, allocations: 31.46 MB / 0.8941 GB, free: 13.09 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.makefile make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.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 OMCppBuildingSystems_BuildingSystems.Media.Examples.SteamPropertiesCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Media.Examples.SteamPropertiesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Media.Examples.SteamPropertiesCalcHelperMain.o] Error 1