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.0008854/0.0008856, allocations: 99.58 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.001041/0.001041, allocations: 187.7 kB / 16.92 MB, free: 6.746 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.344/1.344, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001776/0.001776, allocations: 271.1 kB / 292.3 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9627/0.9627, allocations: 169.5 MB / 0.501 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004405/0.0004406, allocations: 12.83 kB / 0.5993 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1818, allocations: 88.54 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5155/0.6973, allocations: 143.7 MB / 0.8261 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001189/0.6975, allocations: 50.95 kB / 0.8262 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.882e-05/0.6975, allocations: 0 / 0.8262 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.6976, allocations: 1.094 kB / 0.8262 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.175e-05/0.6977, allocations: 13.03 kB / 0.8262 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.6982, allocations: 97.41 kB / 0.8263 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.6983, allocations: 60.97 kB / 0.8263 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.437e-05/0.6984, allocations: 5.969 kB / 0.8263 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.506e-05/0.6984, allocations: 22.39 kB / 0.8264 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.78e-05/0.6985, allocations: 10 kB / 0.8264 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.6985, allocations: 1.406 kB / 0.8264 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002738/0.6988, allocations: 87 kB / 0.8264 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.6989, allocations: 7.391 kB / 0.8265 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.947e-05/0.6989, allocations: 37.89 kB / 0.8265 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.6991, allocations: 48.64 kB / 0.8265 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.6991, allocations: 0 / 0.8265 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.913e-06/0.6991, allocations: 0 / 0.8265 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.6991, allocations: 5.031 kB / 0.8265 GB, free: 15.8 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.0003693/0.6995, allocations: 333.5 kB / 0.8269 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.6995, allocations: 13.53 kB / 0.8269 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002343/0.6998, allocations: 17.89 kB / 0.8269 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.6999, allocations: 161.2 kB / 0.827 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-05/0.7, allocations: 34.14 kB / 0.8271 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.7, allocations: 9.219 kB / 0.8271 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.7001, allocations: 52.8 kB / 0.8271 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.7001, allocations: 0 / 0.8271 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.7002, allocations: 0 / 0.8271 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.7002, allocations: 2.281 kB / 0.8271 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.579e-05/0.7002, allocations: 17.73 kB / 0.8272 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.7006, allocations: 260.3 kB / 0.8274 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.218e-05/0.7007, allocations: 24.45 kB / 0.8274 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.004e-05/0.7007, allocations: 14.41 kB / 0.8274 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-06/0.7007, allocations: 0 / 0.8274 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.7008, allocations: 31.56 kB / 0.8275 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.7008, allocations: 0 / 0.8275 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001388/0.7009, allocations: 31.83 kB / 0.8275 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.701, allocations: 51.53 kB / 0.8275 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.678e-05/0.701, allocations: 114.2 kB / 0.8277 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.7011, allocations: 29.64 kB / 0.8277 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.7011, allocations: 96.94 kB / 0.8278 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.362e-06/0.7011, allocations: 5.125 kB / 0.8278 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.7012, allocations: 11.12 kB / 0.8278 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.943e-05/0.7013, allocations: 315.9 kB / 0.8281 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/0.7013, allocations: 2.562 kB / 0.8281 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.962e-05/0.7013, allocations: 30.31 kB / 0.8281 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.484e-05/0.7014, allocations: 31.05 kB / 0.8282 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7014, allocations: 0 / 0.8282 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.812e-05/0.7015, allocations: 54.03 kB / 0.8282 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.7015, allocations: 4.781 kB / 0.8282 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.7015, allocations: 5.125 kB / 0.8282 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.7015, allocations: 1.219 kB / 0.8282 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.846e-05/0.7016, allocations: 5.875 kB / 0.8282 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.7016, allocations: 4.906 kB / 0.8282 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.361e-05/0.7017, allocations: 1.156 kB / 0.8282 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.7017, allocations: 6.328 kB / 0.8282 GB, free: 14.01 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 7.154e-05/0.7018, allocations: 109.5 kB / 0.8283 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.7018, allocations: 8.594 kB / 0.8283 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.955e-05/0.7018, allocations: 9.875 kB / 0.8284 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.7018, allocations: 5.156 kB / 0.8284 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.7018, allocations: 3.938 kB / 0.8284 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.7018, allocations: 0 / 0.8284 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.7021, allocations: 351 kB / 0.8287 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.7021, allocations: 0 / 0.8287 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.457e-05/0.7021, allocations: 1.531 kB / 0.8287 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.7021, allocations: 5.5 kB / 0.8287 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.7021, allocations: 0 / 0.8287 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7022, allocations: 0 / 0.8287 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7022, allocations: 4.031 kB / 0.8287 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.175e-05/0.7022, allocations: 55.58 kB / 0.8288 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.7023, allocations: 82.41 kB / 0.8288 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.7023, allocations: 5.031 kB / 0.8288 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.7024, allocations: 8.719 kB / 0.8289 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.079e-05/0.7024, allocations: 0 / 0.8289 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.7024, allocations: 5.188 kB / 0.8289 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.049e-05/0.7025, allocations: 91.11 kB / 0.8289 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7025, allocations: 1.281 kB / 0.8289 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001892/0.7027, allocations: 5.938 kB / 0.829 GB, free: 13.23 MB / 0.5606 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 9.456e-05/0.7028, allocations: 96.62 kB / 0.829 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.088e-05/0.7028, allocations: 12.97 kB / 0.8291 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7029, allocations: 0 / 0.8291 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.025e-05/0.7029, allocations: 10.22 kB / 0.8291 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.7031, allocations: 8.078 kB / 0.8291 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.7034, allocations: 147.7 kB / 0.8292 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.7037, allocations: 0.6803 MB / 0.8299 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.7037, allocations: 9.562 kB / 0.8299 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.7037, allocations: 0 / 0.8299 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of Templates: time 0.002515/0.7062, allocations: 0.5596 MB / 0.8304 GB, free: 12 MB / 0.5606 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