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.0008519/0.000852, allocations: 102.6 kB / 15.71 MB, free: 460 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.0009708/0.0009708, allocations: 175 kB / 16.58 MB, free: 5.969 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.411/1.411, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7549/0.7549, allocations: 132.3 MB / 424 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003254, allocations: 8 kB / 0.504 GB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/0.5607, allocations: 81.58 MB / 0.5837 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1755/0.7363, allocations: 134.5 MB / 0.715 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001281/0.7365, allocations: 55.88 kB / 0.715 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.086e-05/0.7365, allocations: 0 / 0.715 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.7367, allocations: 0 / 0.715 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.16e-05/0.7367, allocations: 15.91 kB / 0.715 GB, free: 9.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007023/0.7375, allocations: 145.8 kB / 0.7152 GB, free: 9.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.695e-05/0.7376, allocations: 47.83 kB / 0.7152 GB, free: 9.473 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.608e-05/0.7376, allocations: 3.984 kB / 0.7152 GB, free: 9.469 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.609e-05/0.7376, allocations: 12 kB / 0.7152 GB, free: 9.457 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.484e-05/0.7377, allocations: 23.91 kB / 0.7153 GB, free: 9.434 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.7377, allocations: 4 kB / 0.7153 GB, free: 9.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003006/0.738, allocations: 99.67 kB / 0.7154 GB, free: 9.332 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.742e-05/0.7381, allocations: 7.984 kB / 0.7154 GB, free: 9.324 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.7381, allocations: 29.7 kB / 0.7154 GB, free: 9.289 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.7383, allocations: 45.91 kB / 0.7154 GB, free: 9.246 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.7383, allocations: 4 kB / 0.7154 GB, free: 9.242 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7383, allocations: 4 kB / 0.7154 GB, free: 9.238 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.7383, allocations: 0 / 0.7154 GB, free: 9.238 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.0003734/0.7387, allocations: 331.3 kB / 0.7158 GB, free: 8.867 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.7387, allocations: 16.03 kB / 0.7158 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003082/0.739, allocations: 23.92 kB / 0.7158 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.7392, allocations: 171 kB / 0.716 GB, free: 8.621 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.678e-05/0.7392, allocations: 33.67 kB / 0.716 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.7392, allocations: 0 / 0.716 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.7394, allocations: 53.62 kB / 0.716 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.7394, allocations: 0 / 0.716 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.7394, allocations: 4 kB / 0.7161 GB, free: 8.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.7394, allocations: 11.88 kB / 0.7161 GB, free: 8.508 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.421e-05/0.7395, allocations: 23.98 kB / 0.7161 GB, free: 8.484 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.7399, allocations: 249 kB / 0.7163 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.004e-05/0.7399, allocations: 22.58 kB / 0.7163 GB, free: 8.16 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.74, allocations: 16.78 kB / 0.7164 GB, free: 8.141 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/0.7401, allocations: 93.17 kB / 0.7164 GB, free: 8.031 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.7401, allocations: 38.5 kB / 0.7165 GB, free: 7.984 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.7401, allocations: 0 / 0.7165 GB, free: 7.984 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002558/0.7404, allocations: 53.59 kB / 0.7165 GB, free: 7.926 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.7405, allocations: 51.41 kB / 0.7166 GB, free: 7.863 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.95e-05/0.7406, allocations: 102 kB / 0.7167 GB, free: 7.754 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.7406, allocations: 25.7 kB / 0.7167 GB, free: 7.723 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.7406, allocations: 95.97 kB / 0.7168 GB, free: 7.625 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.322e-06/0.7407, allocations: 0 / 0.7168 GB, free: 7.625 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.7407, allocations: 4 kB / 0.7168 GB, free: 7.621 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.7408, allocations: 310.8 kB / 0.7171 GB, free: 7.309 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.7408, allocations: 7.938 kB / 0.7171 GB, free: 7.301 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.328e-05/0.7409, allocations: 26.56 kB / 0.7171 GB, free: 7.266 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.487e-05/0.7409, allocations: 12 kB / 0.7171 GB, free: 7.254 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7409, allocations: 0 / 0.7171 GB, free: 7.254 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.754e-05/0.741, allocations: 57.53 kB / 0.7172 GB, free: 7.191 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.741, allocations: 7.953 kB / 0.7172 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.741, allocations: 0 / 0.7172 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.741, allocations: 4 kB / 0.7172 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.147e-05/0.7411, allocations: 4.094 kB / 0.7172 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.7411, allocations: 4 kB / 0.7172 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.654e-05/0.7411, allocations: 4 kB / 0.7172 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.7411, allocations: 0 / 0.7172 GB, free: 7.168 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.56e-05/0.7412, allocations: 121.8 kB / 0.7173 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.7413, allocations: 3.938 kB / 0.7173 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.7413, allocations: 11.08 kB / 0.7174 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.7413, allocations: 0 / 0.7174 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.7413, allocations: 8 kB / 0.7174 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.7413, allocations: 0 / 0.7174 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.7416, allocations: 355.6 kB / 0.7177 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.7416, allocations: 7.891 kB / 0.7177 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.227e-05/0.7416, allocations: 4 kB / 0.7177 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7416, allocations: 0 / 0.7177 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.7417, allocations: 0 / 0.7177 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.7417, allocations: 4 kB / 0.7177 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7417, allocations: 0 / 0.7177 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.6e-05/0.7417, allocations: 77.95 kB / 0.7178 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.7418, allocations: 89 kB / 0.7179 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.7418, allocations: 0 / 0.7179 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.739e-05/0.7419, allocations: 7.984 kB / 0.7179 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.417e-05/0.7419, allocations: 0 / 0.7179 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.7419, allocations: 3.938 kB / 0.7179 GB, free: 6.375 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.216e-05/0.742, allocations: 83.31 kB / 0.718 GB, free: 6.293 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.742, allocations: 0 / 0.718 GB, free: 6.293 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001866/0.7422, allocations: 12 kB / 0.718 GB, free: 6.281 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001272/0.7423, allocations: 95.67 kB / 0.7181 GB, free: 6.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.62e-05/0.7424, allocations: 15.98 kB / 0.7181 GB, free: 6.164 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.7424, allocations: 4.188 kB / 0.7181 GB, free: 6.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.34e-05/0.7424, allocations: 7.938 kB / 0.7181 GB, free: 6.152 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.7426, allocations: 10.12 kB / 0.7181 GB, free: 6.145 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/0.7429, allocations: 166.8 kB / 0.7183 GB, free: 5.949 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.7432, allocations: 0.6731 MB / 0.7189 GB, free: 5.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.657e-05/0.7432, allocations: 11.56 kB / 0.7189 GB, free: 5.238 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.7432, allocations: 4 kB / 0.7189 GB, free: 5.234 MB / 0.545 GB Notification: Performance of Templates: time 0.001856/0.7451, allocations: 0.6048 MB / 0.7195 GB, free: 4.629 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile make -j1 -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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