Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0009676/0.0009676, allocations: 99.36 kB / 15.71 MB, free: 452 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.001719/0.001719, allocations: 179.9 kB / 16.58 MB, free: 6.879 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.548/1.548, 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.7765/0.7765, allocations: 132.3 MB / 424 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003245, allocations: 12 kB / 0.504 GB, free: 4.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5621/0.5624, allocations: 81.58 MB / 0.5837 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1914/0.7539, allocations: 134 MB / 0.7146 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001779/0.7541, allocations: 63.84 kB / 0.7146 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.7542, allocations: 0 / 0.7146 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.7543, allocations: 3.984 kB / 0.7146 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.7545, allocations: 15.92 kB / 0.7146 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006143/0.7551, allocations: 75.75 kB / 0.7147 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.7552, allocations: 51.81 kB / 0.7148 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.27e-05/0.7553, allocations: 4 kB / 0.7148 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.569e-05/0.7554, allocations: 15.98 kB / 0.7148 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.823e-05/0.7555, allocations: 15.88 kB / 0.7148 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.7555, allocations: 0 / 0.7148 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.7558, allocations: 55.81 kB / 0.7149 GB, free: 9.871 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.433e-05/0.7559, allocations: 4 kB / 0.7149 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.317e-05/0.7559, allocations: 29.7 kB / 0.7149 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.7561, allocations: 37.92 kB / 0.7149 GB, free: 9.797 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.7561, allocations: 0 / 0.7149 GB, free: 9.797 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.584e-06/0.7561, allocations: 4 kB / 0.7149 GB, free: 9.793 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.7561, allocations: 0 / 0.7149 GB, free: 9.793 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.0006099/0.7568, allocations: 327.8 kB / 0.7152 GB, free: 9.426 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.7568, allocations: 15.97 kB / 0.7153 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002998/0.7571, allocations: 19.94 kB / 0.7153 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.7574, allocations: 163.1 kB / 0.7154 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.169e-05/0.7575, allocations: 29.7 kB / 0.7155 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.7575, allocations: 12 kB / 0.7155 GB, free: 9.145 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.7577, allocations: 41.67 kB / 0.7155 GB, free: 9.098 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.7577, allocations: 0 / 0.7155 GB, free: 9.098 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.7578, allocations: 4 kB / 0.7155 GB, free: 9.094 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.7578, allocations: 3.953 kB / 0.7155 GB, free: 9.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.331e-05/0.7579, allocations: 19.98 kB / 0.7155 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005538/0.7584, allocations: 260.9 kB / 0.7158 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.817e-05/0.7585, allocations: 18.58 kB / 0.7158 GB, free: 8.738 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/0.7586, allocations: 8.797 kB / 0.7158 GB, free: 8.727 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.7586, allocations: 12 kB / 0.7158 GB, free: 8.715 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.7586, allocations: 30.56 kB / 0.7159 GB, free: 8.676 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.442e-06/0.7586, allocations: 0 / 0.7159 GB, free: 8.676 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001818/0.7588, allocations: 37.64 kB / 0.7159 GB, free: 8.633 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/0.759, allocations: 55.44 kB / 0.7159 GB, free: 8.566 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.7591, allocations: 105.8 kB / 0.716 GB, free: 8.453 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.7592, allocations: 29.7 kB / 0.7161 GB, free: 8.418 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.7594, allocations: 95.97 kB / 0.7162 GB, free: 8.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.427e-06/0.7594, allocations: 3.906 kB / 0.7162 GB, free: 8.316 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-06/0.7594, allocations: 0 / 0.7162 GB, free: 8.316 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002263/0.7596, allocations: 310.8 kB / 0.7165 GB, free: 8.004 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.056e-05/0.7597, allocations: 8 kB / 0.7165 GB, free: 7.996 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.287e-05/0.7597, allocations: 26.56 kB / 0.7165 GB, free: 7.961 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.694e-05/0.7598, allocations: 12 kB / 0.7165 GB, free: 7.949 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.7598, allocations: 0 / 0.7165 GB, free: 7.949 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001157/0.7599, allocations: 53.62 kB / 0.7166 GB, free: 7.891 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.7599, allocations: 7.953 kB / 0.7166 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.7599, allocations: 4.078 kB / 0.7166 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.76, allocations: 8 kB / 0.7166 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.072e-05/0.7601, allocations: 11.88 kB / 0.7166 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.7601, allocations: 0 / 0.7166 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.103e-05/0.7601, allocations: 4 kB / 0.7166 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.7602, allocations: 0 / 0.7166 GB, free: 7.855 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 0.0001546/0.7603, allocations: 115.4 kB / 0.7167 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.7604, allocations: 0 / 0.7167 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.7604, allocations: 11.08 kB / 0.7167 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.7604, allocations: 8 kB / 0.7167 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.7604, allocations: 0 / 0.7167 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.7604, allocations: 0 / 0.7167 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.7609, allocations: 342.7 kB / 0.717 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.7609, allocations: 3.953 kB / 0.7171 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.712e-05/0.7609, allocations: 3.984 kB / 0.7171 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.761, allocations: 0 / 0.7171 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.761, allocations: 0 / 0.7171 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.761, allocations: 7.938 kB / 0.7171 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.761, allocations: 4.031 kB / 0.7171 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.818e-05/0.7611, allocations: 57.05 kB / 0.7171 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-05/0.7612, allocations: 85.31 kB / 0.7172 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.7612, allocations: 3.984 kB / 0.7172 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.7613, allocations: 8 kB / 0.7172 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.495e-05/0.7613, allocations: 0 / 0.7172 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.7614, allocations: 0 / 0.7172 GB, free: 7.113 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.03e-05/0.7614, allocations: 91.3 kB / 0.7173 GB, free: 7.023 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7614, allocations: 3.938 kB / 0.7173 GB, free: 7.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003388/0.7618, allocations: 8 kB / 0.7173 GB, free: 7.012 MB / 0.545 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 (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.000128/0.7619, allocations: 95.25 kB / 0.7174 GB, free: 6.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.821e-05/0.762, allocations: 8 kB / 0.7174 GB, free: 6.902 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.762, allocations: 0 / 0.7174 GB, free: 6.902 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-05/0.7621, allocations: 4.188 kB / 0.7174 GB, free: 6.898 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.7624, allocations: 10.31 kB / 0.7174 GB, free: 6.891 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.7628, allocations: 146.2 kB / 0.7176 GB, free: 6.715 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.7632, allocations: 0.6731 MB / 0.7182 GB, free: 6.016 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.7633, allocations: 11.44 kB / 0.7182 GB, free: 6.004 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.7633, allocations: 0 / 0.7182 GB, free: 6.004 MB / 0.545 GB Notification: Performance of Templates: time 0.002736/0.766, allocations: 0.5607 MB / 0.7188 GB, free: 5.449 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversionCalcHelperMain.o OMCppIDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversionCalcHelperMain.o] Error 1