Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008315/0.0008315, allocations: 100.4 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.0009671/0.0009673, allocations: 175.1 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.432/1.432, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7957/0.7957, allocations: 132.3 MB / 424 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003426, allocations: 8.844 kB / 0.504 GB, free: 4.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.531/0.5314, allocations: 81.57 MB / 0.5837 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004802/0.5362, allocations: 3.57 MB / 0.5871 GB, free: 1.379 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001961/0.5364, allocations: 135.1 kB / 0.5873 GB, free: 1.289 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.072e-05/0.5365, allocations: 3.938 kB / 0.5873 GB, free: 1.285 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.5366, allocations: 2.094 kB / 0.5873 GB, free: 1.285 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.585e-05/0.5367, allocations: 25.88 kB / 0.5873 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.537, allocations: 53.73 kB / 0.5874 GB, free: 1.242 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.5371, allocations: 45.72 kB / 0.5874 GB, free: 1.227 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.568e-05/0.5372, allocations: 2.094 kB / 0.5874 GB, free: 1.227 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.977e-05/0.5372, allocations: 23.56 kB / 0.5874 GB, free: 1.215 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.336e-05/0.5373, allocations: 13.3 kB / 0.5874 GB, free: 1.211 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.5373, allocations: 1.219 kB / 0.5874 GB, free: 1.211 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.5375, allocations: 34.39 kB / 0.5875 GB, free: 1.195 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.5376, allocations: 4.5 kB / 0.5875 GB, free: 1.195 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.5376, allocations: 28.64 kB / 0.5875 GB, free: 1.164 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.5377, allocations: 33.7 kB / 0.5875 GB, free: 1.152 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5377, allocations: 0.7969 kB / 0.5875 GB, free: 1.152 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5377, allocations: 1.156 kB / 0.5875 GB, free: 1.152 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.5377, allocations: 0 / 0.5875 GB, free: 1.152 MB / 430.1 MB 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.000344/0.5381, allocations: 334 kB / 0.5879 GB, free: 0.793 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.5382, allocations: 12.66 kB / 0.5879 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.5382, allocations: 6.484 kB / 0.5879 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.253e-05/0.5383, allocations: 165.2 kB / 0.588 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.364e-05/0.5384, allocations: 28.62 kB / 0.5881 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.5384, allocations: 1.188 kB / 0.5881 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.5385, allocations: 48.92 kB / 0.5881 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.5386, allocations: 0 / 0.5881 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.5386, allocations: 0 / 0.5881 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.5386, allocations: 6.312 kB / 0.5881 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.88e-05/0.5387, allocations: 21.45 kB / 0.5881 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.5391, allocations: 327.9 kB / 0.5884 GB, free: 144 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.585e-05/0.5391, allocations: 16.83 kB / 0.5885 GB, free: 120 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.608e-05/0.5391, allocations: 6.656 kB / 0.5885 GB, free: 112 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.109e-05/0.5392, allocations: 87.52 kB / 0.5885 GB, free: 12 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.523e-05/0.5393, allocations: 40.66 kB / 0.5886 GB, free: 15.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.5393, allocations: 0 / 0.5886 GB, free: 15.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001587/0.5395, allocations: 41.33 kB / 0.5886 GB, free: 15.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.5395, allocations: 52.09 kB / 0.5887 GB, free: 15.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.866e-05/0.5396, allocations: 102.5 kB / 0.5888 GB, free: 15.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.5396, allocations: 30.27 kB / 0.5888 GB, free: 15.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.5397, allocations: 82.61 kB / 0.5889 GB, free: 15.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.694e-06/0.5397, allocations: 8.438 kB / 0.5889 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-06/0.5397, allocations: 1.438 kB / 0.5889 GB, free: 15.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002614/0.54, allocations: 315.7 kB / 0.5892 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.214e-05/0.54, allocations: 12.28 kB / 0.5892 GB, free: 15.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.924e-05/0.5401, allocations: 14.52 kB / 0.5892 GB, free: 15.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.273e-05/0.5401, allocations: 4.375 kB / 0.5892 GB, free: 15.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5401, allocations: 0.75 kB / 0.5892 GB, free: 15.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.536e-05/0.5402, allocations: 46.25 kB / 0.5893 GB, free: 15.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.5402, allocations: 12.53 kB / 0.5893 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.5402, allocations: 5.031 kB / 0.5893 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.5402, allocations: 1.312 kB / 0.5893 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.163e-05/0.5403, allocations: 5.578 kB / 0.5893 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5403, allocations: 1.344 kB / 0.5893 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.27e-05/0.5403, allocations: 5.312 kB / 0.5893 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.5404, allocations: 1.719 kB / 0.5893 GB, free: 15.25 MB / 446.1 MB 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 0.0001096/0.5405, allocations: 114.7 kB / 0.5894 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.5405, allocations: 5.328 kB / 0.5894 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.5406, allocations: 123.3 kB / 0.5895 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.118e-05/0.5407, allocations: 185.8 kB / 0.5897 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.994e-05/0.5408, allocations: 181.5 kB / 0.5899 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.392e-05/0.5409, allocations: 186.8 kB / 0.5901 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.5412, allocations: 407.7 kB / 0.5904 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.033e-05/0.5412, allocations: 109.5 kB / 0.5906 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.946e-05/0.5413, allocations: 103.7 kB / 0.5906 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.612e-05/0.5413, allocations: 176.9 kB / 0.5908 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.074e-05/0.5414, allocations: 182.7 kB / 0.591 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.974e-05/0.5415, allocations: 177.9 kB / 0.5912 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.423e-05/0.5416, allocations: 189.7 kB / 0.5913 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.5418, allocations: 302.8 kB / 0.5916 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.596e-05/0.5419, allocations: 185.4 kB / 0.5918 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.088e-05/0.542, allocations: 178.7 kB / 0.592 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.5422, allocations: 119 kB / 0.5921 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/0.5422, allocations: 182.3 kB / 0.5923 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.167e-05/0.5423, allocations: 105.5 kB / 0.5924 GB, free: 11.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.263e-05/0.5424, allocations: 82.52 kB / 0.5924 GB, free: 11.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.734e-06/0.5424, allocations: 1 kB / 0.5924 GB, free: 11.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.5426, allocations: 19.59 kB / 0.5925 GB, free: 11.86 MB / 446.1 MB 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.0002216/0.5429, allocations: 198.1 kB / 0.5927 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.428e-05/0.543, allocations: 7.578 kB / 0.5927 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.543, allocations: 0 / 0.5927 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.543, allocations: 0.9062 kB / 0.5927 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.5435, allocations: 0.5224 MB / 0.5932 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.544, allocations: 219.1 kB / 0.5934 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.5443, allocations: 0.6753 MB / 0.594 GB, free: 10.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.5444, allocations: 10.89 kB / 0.5941 GB, free: 10.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5444, allocations: 0 / 0.5941 GB, free: 10.23 MB / 446.1 MB Notification: Performance of Templates: time 0.002588/0.547, allocations: 0.6919 MB / 0.5947 GB, free: 10.18 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversionCalcHelperMain.o OMCppIDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversionCalcHelperMain.o] Error 1