Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008766/0.0008767, allocations: 100.5 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.001346/0.001347, allocations: 175.3 kB / 16.58 MB, free: 6.422 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.377/1.377, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7452/0.7452, allocations: 132.3 MB / 424 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003444, allocations: 8 kB / 0.504 GB, free: 4.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5219/0.5223, allocations: 81.57 MB / 0.5837 GB, free: 4.23 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1489/0.6712, allocations: 122.6 MB / 0.7034 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001532/0.6714, allocations: 51.69 kB / 0.7034 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.697e-05/0.6714, allocations: 0 / 0.7034 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.6716, allocations: 4 kB / 0.7034 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.856e-05/0.6716, allocations: 7.922 kB / 0.7034 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009412/0.6726, allocations: 197.8 kB / 0.7036 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.728e-05/0.6727, allocations: 51.81 kB / 0.7037 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.63e-05/0.6727, allocations: 0 / 0.7037 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.002e-05/0.6728, allocations: 19.92 kB / 0.7037 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.251e-05/0.6729, allocations: 7.984 kB / 0.7037 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.6729, allocations: 0 / 0.7037 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003994/0.6733, allocations: 171.5 kB / 0.7039 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.286e-05/0.6733, allocations: 7.984 kB / 0.7039 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.6734, allocations: 29.7 kB / 0.7039 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.6736, allocations: 93.97 kB / 0.704 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.6736, allocations: 3.984 kB / 0.704 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.975e-06/0.6736, allocations: 0 / 0.704 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.6736, allocations: 0 / 0.704 GB, free: 5.184 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003838/0.674, allocations: 355.8 kB / 0.7043 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.674, allocations: 8.031 kB / 0.7043 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.6741, allocations: 7.953 kB / 0.7043 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.6742, allocations: 163.1 kB / 0.7045 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.022e-05/0.6743, allocations: 29.69 kB / 0.7045 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.6743, allocations: 3.984 kB / 0.7045 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.6744, allocations: 49.62 kB / 0.7046 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.6744, allocations: 0 / 0.7046 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.6744, allocations: 0 / 0.7046 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.6745, allocations: 3.938 kB / 0.7046 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.576e-05/0.6745, allocations: 19.94 kB / 0.7046 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000757/0.6753, allocations: 0.5951 MB / 0.7052 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.327e-05/0.6753, allocations: 18.58 kB / 0.7052 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.581e-05/0.6754, allocations: 4.859 kB / 0.7052 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/0.6756, allocations: 340.4 kB / 0.7055 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.6756, allocations: 34.56 kB / 0.7056 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.6756, allocations: 0 / 0.7056 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001387/0.6758, allocations: 41.64 kB / 0.7056 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.6758, allocations: 55.41 kB / 0.7057 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.864e-05/0.6759, allocations: 97.86 kB / 0.7058 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.6759, allocations: 29.69 kB / 0.7058 GB, free: 3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/0.676, allocations: 88.05 kB / 0.7059 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.684e-06/0.676, allocations: 7.969 kB / 0.7059 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.676, allocations: 4 kB / 0.7059 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.6761, allocations: 314.8 kB / 0.7062 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.6761, allocations: 7.938 kB / 0.7062 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.518e-05/0.6762, allocations: 17.7 kB / 0.7062 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.9e-05/0.6762, allocations: 4 kB / 0.7062 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6762, allocations: 0 / 0.7062 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.448e-05/0.6763, allocations: 49.69 kB / 0.7063 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.6763, allocations: 11.88 kB / 0.7063 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.6763, allocations: 0 / 0.7063 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.6763, allocations: 7.953 kB / 0.7063 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.502e-05/0.6764, allocations: 4 kB / 0.7063 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.6764, allocations: 0 / 0.7063 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.639e-05/0.6764, allocations: 0 / 0.7063 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.6764, allocations: 4 kB / 0.7063 GB, free: 2.465 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.209e-05/0.6765, allocations: 115.4 kB / 0.7064 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.6765, allocations: 8.062 kB / 0.7064 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.6767, allocations: 113.2 kB / 0.7065 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-05/0.6767, allocations: 188.2 kB / 0.7067 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.045e-05/0.6768, allocations: 184.2 kB / 0.7069 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.507e-05/0.6769, allocations: 192.1 kB / 0.707 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.6771, allocations: 413.2 kB / 0.7074 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.814e-05/0.6772, allocations: 104.9 kB / 0.7075 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.585e-05/0.6772, allocations: 101 kB / 0.7076 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001033/0.6773, allocations: 180.3 kB / 0.7078 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.451e-05/0.6774, allocations: 180.2 kB / 0.708 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001331/0.6776, allocations: 180.2 kB / 0.7082 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.14e-05/0.6776, allocations: 184.2 kB / 0.7083 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.6779, allocations: 303.8 kB / 0.7086 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.6781, allocations: 190 kB / 0.7088 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.522e-05/0.6781, allocations: 180.3 kB / 0.709 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.6784, allocations: 116.9 kB / 0.7091 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/0.6785, allocations: 176.3 kB / 0.7092 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.6785, allocations: 105 kB / 0.7093 GB, free: 15.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.264e-05/0.6786, allocations: 87.23 kB / 0.7094 GB, free: 15.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6786, allocations: 0 / 0.7094 GB, free: 15.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003209/0.6789, allocations: 55.92 kB / 0.7095 GB, free: 14.96 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 (0): * Single equations (assignments): 0 * 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.0002772/0.6792, allocations: 250.3 kB / 0.7097 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.574e-05/0.6793, allocations: 12 kB / 0.7097 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6793, allocations: 0 / 0.7097 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.6793, allocations: 128 / 0.7097 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.6797, allocations: 0.5224 MB / 0.7102 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002428/0.6799, allocations: 221.5 kB / 0.7105 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.6802, allocations: 0.6809 MB / 0.7111 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.851e-05/0.6802, allocations: 15.44 kB / 0.7111 GB, free: 13.2 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.6802, allocations: 0 / 0.7111 GB, free: 13.2 MB / 0.545 GB Notification: Performance of Templates: time 0.002696/0.6829, allocations: 1.2 MB / 0.7123 GB, free: 12.01 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.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.SteamTemperatureEnthalpyInversionCalcHelperMain.o OMCppIDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversionCalcHelperMain.o] Error 1