Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008168/0.0008169, allocations: 101.4 kB / 15.71 MB, free: 456 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.0008522/0.0008523, allocations: 175.4 kB / 16.58 MB, free: 6.863 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.372/1.372, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001875/0.001875, allocations: 270.6 kB / 292 MB, free: 1.965 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.8876/0.8876, allocations: 144.7 MB / 487.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004559/0.000456, allocations: 15.28 kB / 0.5691 GB, free: 38.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1633, allocations: 83.08 MB / 0.6502 GB, free: 3.523 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.004855/0.1682, allocations: 3.925 MB / 0.6541 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00267/0.1709, allocations: 2.488 MB / 0.6565 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.655e-05/0.171, allocations: 0 / 0.6565 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.1712, allocations: 32.56 kB / 0.6565 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.1715, allocations: 81.09 kB / 0.6566 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.1725, allocations: 401.2 kB / 0.657 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.1728, allocations: 264.9 kB / 0.6572 GB, free: 12.35 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.407e-05/0.1729, allocations: 15.11 kB / 0.6572 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009524/0.1739, allocations: 397.8 kB / 0.6576 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.174, allocations: 95.64 kB / 0.6577 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.174, allocations: 8 kB / 0.6577 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008624/0.1749, allocations: 399.2 kB / 0.6581 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.76e-05/0.175, allocations: 35.89 kB / 0.6581 GB, free: 11.43 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.796e-05/0.175, allocations: 53.64 kB / 0.6582 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.1754, allocations: 211.7 kB / 0.6584 GB, free: 11.17 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.1754, allocations: 8 kB / 0.6584 GB, free: 11.16 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1754, allocations: 0 / 0.6584 GB, free: 11.16 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1754, allocations: 0 / 0.6584 GB, free: 11.16 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006612/0.1761, allocations: 471.1 kB / 0.6588 GB, free: 10.65 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1761, allocations: 12.03 kB / 0.6589 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.1762, allocations: 23.8 kB / 0.6589 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.1765, allocations: 206.8 kB / 0.6591 GB, free: 10.37 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.1765, allocations: 20.19 kB / 0.6591 GB, free: 10.35 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1765, allocations: 20 kB / 0.6591 GB, free: 10.33 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/0.1769, allocations: 248.9 kB / 0.6594 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1769, allocations: 3.938 kB / 0.6594 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.1769, allocations: 4 kB / 0.6594 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.177, allocations: 15.98 kB / 0.6594 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004607/0.1774, allocations: 423.5 kB / 0.6598 GB, free: 9.629 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.1786, allocations: 0.996 MB / 0.6607 GB, free: 8.539 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.1788, allocations: 164.3 kB / 0.6609 GB, free: 8.371 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.179, allocations: 68.83 kB / 0.661 GB, free: 8.301 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001371/0.1803, allocations: 1.817 MB / 0.6627 GB, free: 6.125 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.1804, allocations: 38.56 kB / 0.6628 GB, free: 6.078 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.233e-06/0.1804, allocations: 0 / 0.6628 GB, free: 6.078 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003182/0.1807, allocations: 151.1 kB / 0.6629 GB, free: 5.926 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.1808, allocations: 55.41 kB / 0.663 GB, free: 5.859 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.1809, allocations: 168.9 kB / 0.6631 GB, free: 5.676 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.1809, allocations: 29.7 kB / 0.6632 GB, free: 5.641 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/0.181, allocations: 139.8 kB / 0.6633 GB, free: 5.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.1811, allocations: 55.28 kB / 0.6634 GB, free: 5.445 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-06/0.1811, allocations: 4 kB / 0.6634 GB, free: 5.441 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1812, allocations: 326.8 kB / 0.6637 GB, free: 5.113 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.06e-05/0.1813, allocations: 31.97 kB / 0.6637 GB, free: 5.082 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.1814, allocations: 137.7 kB / 0.6638 GB, free: 4.898 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.1815, allocations: 55.92 kB / 0.6639 GB, free: 4.844 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.1815, allocations: 8 kB / 0.6639 GB, free: 4.836 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003158/0.1819, allocations: 215 kB / 0.6641 GB, free: 4.621 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.1819, allocations: 8 kB / 0.6641 GB, free: 4.613 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1819, allocations: 480 / 0.6641 GB, free: 4.613 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1819, allocations: 12 kB / 0.6641 GB, free: 4.602 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.1821, allocations: 59.86 kB / 0.6642 GB, free: 4.543 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.1821, allocations: 4 kB / 0.6642 GB, free: 4.539 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.1822, allocations: 35.69 kB / 0.6642 GB, free: 4.504 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.1823, allocations: 8 kB / 0.6642 GB, free: 4.496 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 29 * Array equations: 1 * 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.0001474/0.1824, allocations: 129.8 kB / 0.6643 GB, free: 4.359 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.1825, allocations: 15.81 kB / 0.6644 GB, free: 4.344 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/0.1828, allocations: 162.9 kB / 0.6645 GB, free: 4.184 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.1828, allocations: 0 / 0.6645 GB, free: 4.184 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1829, allocations: 11.89 kB / 0.6645 GB, free: 4.172 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1829, allocations: 0 / 0.6645 GB, free: 4.172 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.1831, allocations: 221.4 kB / 0.6647 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1831, allocations: 0 / 0.6647 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.369e-05/0.1832, allocations: 20 kB / 0.6648 GB, free: 3.887 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1832, allocations: 11.91 kB / 0.6648 GB, free: 3.875 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1832, allocations: 4 kB / 0.6648 GB, free: 3.871 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1832, allocations: 0 / 0.6648 GB, free: 3.871 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1833, allocations: 4 kB / 0.6648 GB, free: 3.867 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.1835, allocations: 220.8 kB / 0.665 GB, free: 3.637 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.981e-05/0.1836, allocations: 104.9 kB / 0.6651 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.1836, allocations: 4 kB / 0.6651 GB, free: 3.512 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.1838, allocations: 19.97 kB / 0.6651 GB, free: 3.492 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.1838, allocations: 15.98 kB / 0.6651 GB, free: 3.477 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.1838, allocations: 12 kB / 0.6651 GB, free: 3.465 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.963e-05/0.1839, allocations: 118.1 kB / 0.6652 GB, free: 3.352 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1839, allocations: 0 / 0.6652 GB, free: 3.352 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00037/0.1843, allocations: 83.84 kB / 0.6653 GB, free: 3.27 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0002489/0.1846, allocations: 167.1 kB / 0.6655 GB, free: 3.094 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.1848, allocations: 116.1 kB / 0.6656 GB, free: 2.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.1848, allocations: 4 kB / 0.6656 GB, free: 2.977 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.121e-05/0.1849, allocations: 45.47 kB / 0.6656 GB, free: 2.934 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.1853, allocations: 52.56 kB / 0.6657 GB, free: 2.883 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000688/0.186, allocations: 461.1 kB / 0.6661 GB, free: 2.402 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.1863, allocations: 0.7171 MB / 0.6668 GB, free: 1.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.1864, allocations: 31.44 kB / 0.6669 GB, free: 1.629 MB / 462.1 MB Notification: Performance of SimCode: time 2e-07/0.1864, allocations: 0 / 0.6669 GB, free: 1.629 MB / 462.1 MB Notification: Performance of Templates: time 0.005184/0.1916, allocations: 3.083 MB / 0.6699 GB, free: 14.57 MB / 478.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.makefile make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterPropertiesCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterPropertiesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterPropertiesCalcHelperMain.o] Error 1