Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01206/0.01206, allocations: 100.4 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002556/0.002556, allocations: 189.4 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.028/2.028, allocations: 222.9 MB / 240.4 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002824/0.002824, allocations: 278.9 kB / 290.9 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.561/1.561, allocations: 169.2 MB / 0.4984 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00324/0.00324, allocations: 84.42 kB / 0.5951 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3294, allocations: 86.99 MB / 0.6801 GB, free: 1.211 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 1.026/1.355, allocations: 145.6 MB / 0.8222 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002357/1.355, allocations: 47.95 kB / 0.8223 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/1.355, allocations: 0 / 0.8223 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001789/1.356, allocations: 7.859 kB / 0.8223 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/1.356, allocations: 8.203 kB / 0.8223 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007434/1.357, allocations: 103.4 kB / 0.8224 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001597/1.357, allocations: 58.69 kB / 0.8225 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.642e-05/1.357, allocations: 1.219 kB / 0.8225 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.713e-05/1.357, allocations: 16.23 kB / 0.8225 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/1.357, allocations: 16.95 kB / 0.8225 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/1.357, allocations: 0 / 0.8225 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003648/1.357, allocations: 88.19 kB / 0.8226 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.489e-05/1.357, allocations: 7.953 kB / 0.8226 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/1.358, allocations: 11.92 kB / 0.8226 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/1.358, allocations: 47.34 kB / 0.8226 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/1.358, allocations: 3.188 kB / 0.8226 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/1.358, allocations: 3.938 kB / 0.8227 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.742e-06/1.358, allocations: 0 / 0.8227 GB, free: 1.234 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.0006798/1.358, allocations: 337.3 kB / 0.823 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/1.359, allocations: 8.781 kB / 0.823 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000373/1.359, allocations: 23.38 kB / 0.823 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/1.359, allocations: 161.2 kB / 0.8232 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/1.359, allocations: 31.14 kB / 0.8232 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/1.359, allocations: 3.484 kB / 0.8232 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/1.359, allocations: 44.61 kB / 0.8232 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/1.36, allocations: 0 / 0.8232 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/1.36, allocations: 1.344 kB / 0.8232 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.858e-05/1.36, allocations: 5.312 kB / 0.8232 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.284e-05/1.36, allocations: 23.03 kB / 0.8233 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005807/1.36, allocations: 262.8 kB / 0.8235 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.924e-05/1.36, allocations: 16.86 kB / 0.8235 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.536e-05/1.36, allocations: 6.109 kB / 0.8235 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/1.36, allocations: 0 / 0.8235 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/1.36, allocations: 36.56 kB / 0.8236 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.683e-06/1.36, allocations: 0 / 0.8236 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.000227/1.361, allocations: 42.12 kB / 0.8236 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/1.361, allocations: 51.41 kB / 0.8237 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/1.361, allocations: 108.4 kB / 0.8238 GB, free: 16.06 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/1.361, allocations: 25.7 kB / 0.8238 GB, free: 16.03 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.4e-05/1.361, allocations: 97.7 kB / 0.8239 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/1.361, allocations: 15.48 kB / 0.8239 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/1.361, allocations: 13.47 kB / 0.8239 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001931/1.361, allocations: 317.5 kB / 0.8242 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.881e-05/1.361, allocations: 2.312 kB / 0.8242 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.545e-05/1.361, allocations: 25.98 kB / 0.8242 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.398e-05/1.362, allocations: 37.36 kB / 0.8243 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.362, allocations: 3.375 kB / 0.8243 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001656/1.362, allocations: 53.27 kB / 0.8243 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/1.362, allocations: 6.281 kB / 0.8243 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.362, allocations: 0 / 0.8243 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/1.362, allocations: 1.125 kB / 0.8243 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-05/1.362, allocations: 6.344 kB / 0.8243 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/1.362, allocations: 4.875 kB / 0.8243 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.073e-05/1.362, allocations: 9.281 kB / 0.8244 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/1.362, allocations: 2.562 kB / 0.8244 GB, free: 15.5 MB / 0.5762 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 0.0001275/1.362, allocations: 123.6 kB / 0.8245 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/1.362, allocations: 1.438 kB / 0.8245 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/1.362, allocations: 3.125 kB / 0.8245 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.362, allocations: 1.344 kB / 0.8245 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.362, allocations: 3.938 kB / 0.8245 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/1.362, allocations: 0 / 0.8245 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004176/1.363, allocations: 345.9 kB / 0.8248 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.363, allocations: 1.188 kB / 0.8248 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/1.363, allocations: 0.9688 kB / 0.8248 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/1.363, allocations: 5.125 kB / 0.8248 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/1.363, allocations: 7.172 kB / 0.8248 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/1.363, allocations: 1.812 kB / 0.8248 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.363, allocations: 1 kB / 0.8248 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/1.363, allocations: 62.11 kB / 0.8249 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.409e-05/1.363, allocations: 86.11 kB / 0.825 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/1.363, allocations: 6.047 kB / 0.825 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/1.363, allocations: 2.594 kB / 0.825 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/1.363, allocations: 4.078 kB / 0.825 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/1.363, allocations: 0 / 0.825 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.271e-05/1.363, allocations: 80.59 kB / 0.8251 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.993e-06/1.363, allocations: 0 / 0.8251 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003994/1.364, allocations: 13.94 kB / 0.8251 GB, free: 14.73 MB / 0.5762 GB 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 (1): * Single equations (assignments): 1 * 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.0001549/1.364, allocations: 102.9 kB / 0.8252 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001232/1.364, allocations: 13.53 kB / 0.8252 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.364, allocations: 0 / 0.8252 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.516e-05/1.364, allocations: 2.688 kB / 0.8252 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/1.365, allocations: 7.734 kB / 0.8252 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/1.365, allocations: 142.4 kB / 0.8253 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/1.366, allocations: 0.6777 MB / 0.826 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/1.366, allocations: 10 kB / 0.826 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of SimCode: time 7.31e-07/1.366, allocations: 3.938 kB / 0.826 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of Templates: time 0.003576/1.369, allocations: 0.5535 MB / 0.8265 GB, free: 13.77 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversionCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversionCalcHelperMain.o] Error 1