Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") translateModel(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 102.6 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.001266/0.001266, allocations: 171.8 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.408/1.408, allocations: 223.3 MB / 240.6 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001736/0.001736, allocations: 271 kB / 292 MB, free: 1.941 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.8391/0.8391, allocations: 144.7 MB / 487.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004373/0.0004373, allocations: 13.62 kB / 0.5691 GB, free: 38.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1868, allocations: 83.09 MB / 0.6502 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.005023/0.1919, allocations: 4.191 MB / 0.6543 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002697/0.1947, allocations: 2.487 MB / 0.6567 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.553e-05/0.1948, allocations: 0 / 0.6567 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.195, allocations: 31.81 kB / 0.6568 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.1953, allocations: 98.73 kB / 0.6569 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.1963, allocations: 405.9 kB / 0.6573 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.1966, allocations: 267.9 kB / 0.6575 GB, free: 12.12 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.445e-05/0.1967, allocations: 11.22 kB / 0.6575 GB, free: 12.12 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.1969, allocations: 111.6 kB / 0.6576 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.197, allocations: 92.84 kB / 0.6577 GB, free: 11.92 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.1971, allocations: 8 kB / 0.6577 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005298/0.1976, allocations: 260.1 kB / 0.658 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.545e-05/0.1977, allocations: 39.88 kB / 0.658 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.365e-05/0.1977, allocations: 55.55 kB / 0.6581 GB, free: 11.56 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.1981, allocations: 211.8 kB / 0.6583 GB, free: 11.35 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.1981, allocations: 0 / 0.6583 GB, free: 11.35 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1981, allocations: 3.938 kB / 0.6583 GB, free: 11.35 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1981, allocations: 0 / 0.6583 GB, free: 11.35 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.0006994/0.1988, allocations: 481.7 kB / 0.6587 GB, free: 10.83 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.1989, allocations: 8.031 kB / 0.6587 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.199, allocations: 23.8 kB / 0.6588 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.1992, allocations: 218.8 kB / 0.659 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.1993, allocations: 12.33 kB / 0.659 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.1993, allocations: 16.78 kB / 0.659 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003646/0.1997, allocations: 241.1 kB / 0.6592 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1997, allocations: 3.938 kB / 0.6592 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.1997, allocations: 12 kB / 0.6592 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/0.1997, allocations: 4 kB / 0.6592 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/0.2002, allocations: 427.9 kB / 0.6597 GB, free: 9.824 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.2014, allocations: 0.9489 MB / 0.6606 GB, free: 8.785 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.2017, allocations: 161 kB / 0.6607 GB, free: 8.621 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.2018, allocations: 60.88 kB / 0.6608 GB, free: 8.559 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001447/0.2032, allocations: 1.829 MB / 0.6626 GB, free: 6.371 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.2033, allocations: 38.56 kB / 0.6626 GB, free: 6.324 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.2033, allocations: 0 / 0.6626 GB, free: 6.324 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003141/0.2036, allocations: 141.4 kB / 0.6627 GB, free: 6.18 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.2037, allocations: 59.34 kB / 0.6628 GB, free: 6.109 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.2038, allocations: 176.8 kB / 0.663 GB, free: 5.922 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.2039, allocations: 29.7 kB / 0.663 GB, free: 5.887 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.008e-05/0.204, allocations: 135.8 kB / 0.6631 GB, free: 5.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.211e-05/0.204, allocations: 55.28 kB / 0.6632 GB, free: 5.695 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/0.204, allocations: 4 kB / 0.6632 GB, free: 5.691 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.2042, allocations: 322.8 kB / 0.6635 GB, free: 5.367 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.655e-05/0.2043, allocations: 35.97 kB / 0.6635 GB, free: 5.332 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.2044, allocations: 141.7 kB / 0.6637 GB, free: 5.145 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.996e-05/0.2045, allocations: 57.47 kB / 0.6637 GB, free: 5.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2045, allocations: 3.938 kB / 0.6637 GB, free: 5.086 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003151/0.2049, allocations: 217.1 kB / 0.6639 GB, free: 4.867 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2049, allocations: 5.406 kB / 0.6639 GB, free: 4.863 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.2049, allocations: 4 kB / 0.6639 GB, free: 4.859 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.2049, allocations: 12.42 kB / 0.664 GB, free: 4.848 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.2051, allocations: 63.83 kB / 0.664 GB, free: 4.785 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.2051, allocations: 4 kB / 0.664 GB, free: 4.781 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.2053, allocations: 27.75 kB / 0.664 GB, free: 4.754 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.2053, allocations: 12 kB / 0.6641 GB, free: 4.742 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.0001156/0.2054, allocations: 133.7 kB / 0.6642 GB, free: 4.602 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.2055, allocations: 19.81 kB / 0.6642 GB, free: 4.582 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003066/0.2058, allocations: 164.2 kB / 0.6644 GB, free: 4.418 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.2058, allocations: 4 kB / 0.6644 GB, free: 4.414 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.2058, allocations: 3.953 kB / 0.6644 GB, free: 4.41 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.2058, allocations: 4 kB / 0.6644 GB, free: 4.406 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.2061, allocations: 209.6 kB / 0.6646 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2061, allocations: 0 / 0.6646 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.252e-05/0.2062, allocations: 31.98 kB / 0.6646 GB, free: 4.121 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2062, allocations: 0 / 0.6646 GB, free: 4.121 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.2062, allocations: 0 / 0.6646 GB, free: 4.121 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2062, allocations: 0 / 0.6646 GB, free: 4.121 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.2062, allocations: 4 kB / 0.6646 GB, free: 4.117 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.2065, allocations: 229.1 kB / 0.6648 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.563e-05/0.2066, allocations: 112.8 kB / 0.6649 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.2066, allocations: 4 kB / 0.6649 GB, free: 3.746 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.2068, allocations: 15.98 kB / 0.6649 GB, free: 3.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.2069, allocations: 15.98 kB / 0.665 GB, free: 3.715 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.2069, allocations: 4 kB / 0.665 GB, free: 3.711 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.207, allocations: 134 kB / 0.6651 GB, free: 3.582 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.207, allocations: 0 / 0.6651 GB, free: 3.582 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003759/0.2074, allocations: 72 kB / 0.6652 GB, free: 3.512 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.000289/0.2077, allocations: 175 kB / 0.6653 GB, free: 3.328 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.2079, allocations: 119.8 kB / 0.6654 GB, free: 3.211 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2079, allocations: 0 / 0.6654 GB, free: 3.211 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.154e-05/0.208, allocations: 43.92 kB / 0.6655 GB, free: 3.168 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.2085, allocations: 62.88 kB / 0.6655 GB, free: 3.109 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007319/0.2092, allocations: 453.1 kB / 0.666 GB, free: 2.637 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.2096, allocations: 0.7172 MB / 0.6667 GB, free: 1.895 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.2096, allocations: 31.42 kB / 0.6667 GB, free: 1.863 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2096, allocations: 0 / 0.6667 GB, free: 1.863 MB / 462.1 MB Notification: Performance of Templates: time 0.005257/0.2149, allocations: 3.089 MB / 0.6697 GB, free: 14.79 MB / 478.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.makefile make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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.WaterPropertiesCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Media.Examples.WaterPropertiesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Media.Examples.WaterPropertiesCalcHelperMain.o] Error 1