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.0007893/0.0007895, allocations: 99.19 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.001091/0.001091, allocations: 186.5 kB / 16.92 MB, free: 6.75 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.334/1.334, allocations: 223.2 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7027/0.7027, allocations: 132.3 MB / 424.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003119, allocations: 15.98 kB / 0.5046 GB, free: 3.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4332/0.4336, allocations: 81.58 MB / 0.5843 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1719/0.6055, allocations: 144.1 MB / 0.725 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001215/0.6057, allocations: 47.88 kB / 0.7251 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.9e-05/0.6057, allocations: 0 / 0.7251 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.6058, allocations: 11.88 kB / 0.7251 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.398e-05/0.6059, allocations: 11.97 kB / 0.7251 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007231/0.6067, allocations: 199.3 kB / 0.7253 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.96e-05/0.6068, allocations: 55.88 kB / 0.7254 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.6068, allocations: 7.984 kB / 0.7254 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.558e-05/0.6068, allocations: 19.98 kB / 0.7254 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.975e-05/0.6069, allocations: 19.86 kB / 0.7254 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.6069, allocations: 0 / 0.7254 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003994/0.6073, allocations: 227.3 kB / 0.7256 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.161e-05/0.6074, allocations: 7.984 kB / 0.7256 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.6074, allocations: 33.7 kB / 0.7257 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.6076, allocations: 81.8 kB / 0.7257 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.6076, allocations: 0 / 0.7257 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.787e-06/0.6076, allocations: 4 kB / 0.7257 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.6076, allocations: 0 / 0.7257 GB, free: 15.09 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.0004001/0.608, allocations: 337 kB / 0.7261 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.6081, allocations: 16.02 kB / 0.7261 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003017/0.6084, allocations: 20.92 kB / 0.7261 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.6085, allocations: 168.4 kB / 0.7263 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.309e-05/0.6086, allocations: 29.64 kB / 0.7263 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-06/0.6086, allocations: 0 / 0.7263 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.6088, allocations: 57.67 kB / 0.7263 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.6088, allocations: 0 / 0.7263 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.6088, allocations: 0 / 0.7263 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.6088, allocations: 3.938 kB / 0.7263 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.189e-05/0.6089, allocations: 27.92 kB / 0.7264 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.6092, allocations: 256.9 kB / 0.7266 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.204e-05/0.6093, allocations: 26.58 kB / 0.7266 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/0.6093, allocations: 8.859 kB / 0.7267 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001597/0.6095, allocations: 93.16 kB / 0.7267 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.6095, allocations: 30.56 kB / 0.7268 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 3.476e-06/0.6095, allocations: 0 / 0.7268 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002174/0.6097, allocations: 61.62 kB / 0.7268 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.6098, allocations: 51.41 kB / 0.7269 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.812e-05/0.6099, allocations: 109.8 kB / 0.727 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.6099, allocations: 25.7 kB / 0.727 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/0.6099, allocations: 91.98 kB / 0.7271 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.566e-06/0.61, allocations: 7.984 kB / 0.7271 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.61, allocations: 13.72 kB / 0.7271 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.6101, allocations: 318.8 kB / 0.7274 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.6101, allocations: 4.031 kB / 0.7274 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.734e-05/0.6102, allocations: 26.58 kB / 0.7274 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.232e-05/0.6102, allocations: 34.5 kB / 0.7275 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6102, allocations: 0 / 0.7275 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.779e-05/0.6103, allocations: 57.61 kB / 0.7275 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.6103, allocations: 4 kB / 0.7275 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.6103, allocations: 7.984 kB / 0.7275 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.6104, allocations: 0 / 0.7275 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.118e-05/0.6104, allocations: 4 kB / 0.7276 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.6104, allocations: 11.88 kB / 0.7276 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.6105, allocations: 0 / 0.7276 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.6105, allocations: 0 / 0.7276 GB, free: 12.96 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 6.915e-05/0.6105, allocations: 113.8 kB / 0.7277 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.6106, allocations: 0 / 0.7277 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.273e-05/0.6106, allocations: 11.16 kB / 0.7277 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.6106, allocations: 3.984 kB / 0.7277 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6106, allocations: 3.938 kB / 0.7277 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.6106, allocations: 0 / 0.7277 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.6109, allocations: 359.5 kB / 0.728 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.6109, allocations: 4 kB / 0.728 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.869e-05/0.611, allocations: 7.984 kB / 0.728 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.611, allocations: 12.28 kB / 0.7281 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.611, allocations: 0 / 0.7281 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.611, allocations: 0 / 0.7281 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.611, allocations: 0 / 0.7281 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.408e-05/0.6111, allocations: 73.92 kB / 0.7281 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/0.6111, allocations: 92.97 kB / 0.7282 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.6112, allocations: 0 / 0.7282 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.081e-05/0.6112, allocations: 8.031 kB / 0.7282 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.6113, allocations: 4 kB / 0.7282 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.6113, allocations: 0 / 0.7282 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.042e-05/0.6113, allocations: 83.27 kB / 0.7283 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6113, allocations: 0 / 0.7283 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001794/0.6115, allocations: 4 kB / 0.7283 GB, free: 12.08 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.0001313/0.6116, allocations: 107.2 kB / 0.7284 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.76e-05/0.6117, allocations: 15.88 kB / 0.7284 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6117, allocations: 0 / 0.7284 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.131e-05/0.6117, allocations: 7.984 kB / 0.7284 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.612, allocations: 15.88 kB / 0.7284 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002602/0.6122, allocations: 159.4 kB / 0.7286 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.6125, allocations: 0.677 MB / 0.7293 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.084e-05/0.6125, allocations: 7.438 kB / 0.7293 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.6125, allocations: 0 / 0.7293 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.001886/0.6144, allocations: 0.6006 MB / 0.7299 GB, free: 10.43 MB / 0.5606 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