Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.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.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009768/0.0009767, allocations: 99.11 kB / 16.02 MB, free: 76 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.001078/0.001078, allocations: 185.9 kB / 16.92 MB, free: 6.688 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.352/1.352, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001728/0.001728, allocations: 282.5 kB / 292.3 MB, free: 1.789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9285/0.9285, allocations: 169.5 MB / 0.501 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004639/0.0004639, allocations: 16.92 kB / 0.5993 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2006, allocations: 88.54 MB / 0.6858 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5617/0.7624, allocations: 144.1 MB / 0.8265 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001546/0.7626, allocations: 56.06 kB / 0.8266 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.643e-05/0.7627, allocations: 1.406 kB / 0.8266 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.7628, allocations: 2.578 kB / 0.8266 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.827e-05/0.7629, allocations: 13.34 kB / 0.8266 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009112/0.7638, allocations: 196.1 kB / 0.8268 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.764, allocations: 63.53 kB / 0.8268 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.857e-05/0.764, allocations: 5.234 kB / 0.8268 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.325e-05/0.7641, allocations: 16.62 kB / 0.8269 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.871e-05/0.7642, allocations: 14.67 kB / 0.8269 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.7642, allocations: 1.031 kB / 0.8269 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005605/0.7648, allocations: 228 kB / 0.8271 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.176e-05/0.7648, allocations: 7.406 kB / 0.8271 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.384e-05/0.7649, allocations: 38.62 kB / 0.8271 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.7651, allocations: 76.94 kB / 0.8272 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.7651, allocations: 0 / 0.8272 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.435e-06/0.7652, allocations: 4.969 kB / 0.8272 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.7652, allocations: 0 / 0.8272 GB, free: 15.65 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004345/0.7656, allocations: 333.5 kB / 0.8275 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.7657, allocations: 9.625 kB / 0.8275 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003562/0.766, allocations: 26.08 kB / 0.8276 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.7662, allocations: 166.9 kB / 0.8277 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.433e-05/0.7663, allocations: 31.11 kB / 0.8278 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.7663, allocations: 1.406 kB / 0.8278 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.7664, allocations: 53.03 kB / 0.8278 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.7664, allocations: 0 / 0.8278 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.7665, allocations: 4.781 kB / 0.8278 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.7665, allocations: 5.953 kB / 0.8278 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.052e-05/0.7666, allocations: 24.88 kB / 0.8278 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.767, allocations: 258.8 kB / 0.8281 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.751e-05/0.767, allocations: 31.86 kB / 0.8281 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.425e-05/0.7671, allocations: 11.45 kB / 0.8281 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001728/0.7672, allocations: 91.41 kB / 0.8282 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.7673, allocations: 31.81 kB / 0.8282 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.7673, allocations: 0 / 0.8282 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002652/0.7676, allocations: 54.81 kB / 0.8283 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.7676, allocations: 52.41 kB / 0.8284 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.343e-05/0.7677, allocations: 111.6 kB / 0.8285 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.7677, allocations: 25.7 kB / 0.8285 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.7678, allocations: 88.86 kB / 0.8286 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.095e-05/0.7678, allocations: 6.156 kB / 0.8286 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.7678, allocations: 11 kB / 0.8286 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.768, allocations: 315.5 kB / 0.8289 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.842e-05/0.768, allocations: 11.14 kB / 0.8289 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.947e-05/0.768, allocations: 19.92 kB / 0.8289 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.859e-05/0.7681, allocations: 30.83 kB / 0.8289 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7681, allocations: 0 / 0.8289 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.608e-05/0.7682, allocations: 61.44 kB / 0.829 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.7682, allocations: 5.375 kB / 0.829 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.7682, allocations: 1.75 kB / 0.829 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.7682, allocations: 0 / 0.829 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.056e-05/0.7683, allocations: 9.391 kB / 0.829 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.7683, allocations: 5.094 kB / 0.829 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.356e-05/0.7684, allocations: 5.906 kB / 0.829 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.7684, allocations: 1.156 kB / 0.829 GB, free: 13.76 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.552e-05/0.7685, allocations: 113.5 kB / 0.8291 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.7685, allocations: 5.812 kB / 0.8291 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.7685, allocations: 7.781 kB / 0.8291 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.7686, allocations: 1.062 kB / 0.8292 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.7686, allocations: 0 / 0.8292 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-06/0.7686, allocations: 7.875 kB / 0.8292 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.7689, allocations: 364.5 kB / 0.8295 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.7689, allocations: 0.9688 kB / 0.8295 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.887e-05/0.7689, allocations: 11.12 kB / 0.8295 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.769, allocations: 5.281 kB / 0.8295 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.769, allocations: 0 / 0.8295 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.769, allocations: 4.891 kB / 0.8295 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.769, allocations: 1.125 kB / 0.8295 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.372e-05/0.7691, allocations: 67.97 kB / 0.8296 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.7691, allocations: 81.14 kB / 0.8297 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.7692, allocations: 9.859 kB / 0.8297 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.189e-05/0.7692, allocations: 3.219 kB / 0.8297 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.7693, allocations: 0.9375 kB / 0.8297 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-06/0.7693, allocations: 1.125 kB / 0.8297 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.393e-05/0.7693, allocations: 79.53 kB / 0.8298 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7693, allocations: 0 / 0.8298 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001948/0.7695, allocations: 10.06 kB / 0.8298 GB, free: 12.96 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000141/0.7697, allocations: 114.6 kB / 0.8299 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.814e-05/0.7698, allocations: 13.34 kB / 0.8299 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.7698, allocations: 0 / 0.8299 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.321e-05/0.7698, allocations: 8.375 kB / 0.8299 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.77, allocations: 6.984 kB / 0.8299 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.7703, allocations: 162.7 kB / 0.8301 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.7706, allocations: 0.6771 MB / 0.8307 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.7706, allocations: 9.562 kB / 0.8307 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.7706, allocations: 0 / 0.8307 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.00216/0.7728, allocations: 0.6132 MB / 0.8313 GB, free: 11.68 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.makefile make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversionCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversionCalcHelperMain.o] Error 1