Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005888/0.005888, allocations: 100.2 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.001069/0.001069, allocations: 188.6 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 1.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7917/0.7917, allocations: 132.2 MB / 422.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 58.69 kB / 0.5017 GB, free: 9.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1928, allocations: 80.21 MB / 0.58 GB, free: 9.215 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5407/0.7336, allocations: 146 MB / 0.7226 GB, free: 8.156 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000136/0.7338, allocations: 51.8 kB / 0.7227 GB, free: 8.125 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.952e-05/0.7338, allocations: 5.344 kB / 0.7227 GB, free: 8.121 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.734, allocations: 0.75 kB / 0.7227 GB, free: 8.121 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.349e-05/0.7341, allocations: 14.17 kB / 0.7227 GB, free: 8.113 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007881/0.7349, allocations: 198 kB / 0.7229 GB, free: 8.031 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.735, allocations: 58.16 kB / 0.7229 GB, free: 8.016 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.735, allocations: 10.28 kB / 0.7229 GB, free: 8.008 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.919e-05/0.7351, allocations: 19.72 kB / 0.7229 GB, free: 8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.36e-05/0.7352, allocations: 9.188 kB / 0.723 GB, free: 8 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.7352, allocations: 1.062 kB / 0.723 GB, free: 8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004716/0.7357, allocations: 230.9 kB / 0.7232 GB, free: 7.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.09e-05/0.7357, allocations: 14.02 kB / 0.7232 GB, free: 7.902 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.7358, allocations: 10.42 kB / 0.7232 GB, free: 7.898 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.736, allocations: 79.47 kB / 0.7233 GB, free: 7.883 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.736, allocations: 0 / 0.7233 GB, free: 7.883 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.736, allocations: 0 / 0.7233 GB, free: 7.883 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.736, allocations: 4 kB / 0.7233 GB, free: 7.879 MB / 0.545 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.0004454/0.7365, allocations: 342.2 kB / 0.7236 GB, free: 7.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.7365, allocations: 13.34 kB / 0.7236 GB, free: 7.516 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003258/0.7368, allocations: 27.61 kB / 0.7236 GB, free: 7.512 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.737, allocations: 164.8 kB / 0.7238 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.049e-05/0.737, allocations: 31.97 kB / 0.7238 GB, free: 7.281 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.737, allocations: 9.453 kB / 0.7238 GB, free: 7.273 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.7372, allocations: 49.58 kB / 0.7239 GB, free: 7.238 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.7372, allocations: 0 / 0.7239 GB, free: 7.238 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.7372, allocations: 4 kB / 0.7239 GB, free: 7.234 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.7372, allocations: 2.375 kB / 0.7239 GB, free: 7.234 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.643e-05/0.7373, allocations: 26.12 kB / 0.7239 GB, free: 7.227 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.7377, allocations: 254.8 kB / 0.7242 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.933e-05/0.7377, allocations: 25.31 kB / 0.7242 GB, free: 6.926 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.081e-05/0.7377, allocations: 7.812 kB / 0.7242 GB, free: 6.918 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.7379, allocations: 94.17 kB / 0.7243 GB, free: 6.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.7379, allocations: 31.59 kB / 0.7243 GB, free: 6.781 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.7379, allocations: 0.6562 kB / 0.7243 GB, free: 6.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002338/0.7382, allocations: 59.59 kB / 0.7244 GB, free: 6.738 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.7382, allocations: 52.69 kB / 0.7244 GB, free: 6.676 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.49e-05/0.7383, allocations: 106.6 kB / 0.7245 GB, free: 6.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.7383, allocations: 26.8 kB / 0.7245 GB, free: 6.539 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.7384, allocations: 89.7 kB / 0.7246 GB, free: 6.449 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.015e-06/0.7384, allocations: 5.656 kB / 0.7246 GB, free: 6.445 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.7384, allocations: 20.47 kB / 0.7247 GB, free: 6.426 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.7385, allocations: 316.6 kB / 0.725 GB, free: 6.109 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.7386, allocations: 7.078 kB / 0.725 GB, free: 6.109 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.022e-05/0.7386, allocations: 26.5 kB / 0.725 GB, free: 6.082 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.262e-05/0.7386, allocations: 31.53 kB / 0.725 GB, free: 6.051 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7386, allocations: 1.062 kB / 0.725 GB, free: 6.051 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.097e-05/0.7387, allocations: 57.23 kB / 0.7251 GB, free: 6.008 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.7388, allocations: 4.719 kB / 0.7251 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.7388, allocations: 1.75 kB / 0.7251 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.7388, allocations: 1.281 kB / 0.7251 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.57e-05/0.7388, allocations: 6 kB / 0.7251 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.7389, allocations: 1.281 kB / 0.7251 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.195e-05/0.7389, allocations: 5.766 kB / 0.7251 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.7389, allocations: 6.094 kB / 0.7251 GB, free: 6 MB / 0.545 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 6.878e-05/0.739, allocations: 121.3 kB / 0.7252 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.739, allocations: 6.016 kB / 0.7252 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.9e-05/0.739, allocations: 4.25 kB / 0.7252 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.739, allocations: 4.547 kB / 0.7252 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.739, allocations: 1.406 kB / 0.7252 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.7391, allocations: 4.547 kB / 0.7252 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.7393, allocations: 360.1 kB / 0.7256 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.7393, allocations: 4.062 kB / 0.7256 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.573e-05/0.7394, allocations: 3.641 kB / 0.7256 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.7394, allocations: 5 kB / 0.7256 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.7394, allocations: 2.078 kB / 0.7256 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7394, allocations: 0 / 0.7256 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7394, allocations: 1.094 kB / 0.7256 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.747e-05/0.7395, allocations: 70.66 kB / 0.7257 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.7395, allocations: 83.12 kB / 0.7257 GB, free: 5.285 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.7395, allocations: 6.031 kB / 0.7258 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.349e-05/0.7396, allocations: 7.859 kB / 0.7258 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.7397, allocations: 6.062 kB / 0.7258 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.7397, allocations: 1.906 kB / 0.7258 GB, free: 5.273 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.603e-05/0.7397, allocations: 80.34 kB / 0.7258 GB, free: 5.199 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7397, allocations: 0 / 0.7258 GB, free: 5.199 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001831/0.7399, allocations: 6.219 kB / 0.7258 GB, free: 5.199 MB / 0.545 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.0001204/0.74, allocations: 108 kB / 0.726 GB, free: 5.105 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.812e-05/0.7401, allocations: 16.2 kB / 0.726 GB, free: 5.102 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7401, allocations: 0 / 0.726 GB, free: 5.102 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-05/0.7401, allocations: 4.484 kB / 0.726 GB, free: 5.102 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.7404, allocations: 11.88 kB / 0.726 GB, free: 5.094 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002681/0.7407, allocations: 165.1 kB / 0.7261 GB, free: 4.926 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.7409, allocations: 0.6762 MB / 0.7268 GB, free: 4.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.356e-05/0.7409, allocations: 12.5 kB / 0.7268 GB, free: 4.223 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.7409, allocations: 1.188 kB / 0.7268 GB, free: 4.223 MB / 0.545 GB Notification: Performance of Templates: time 0.001947/0.7428, allocations: 0.6019 MB / 0.7274 GB, free: 4.191 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversionCalcHelperMain.o OMCppIDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversionCalcHelperMain.o] Error 1