Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01098/0.01098, allocations: 100.5 kB / 15.87 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002068/0.002068, allocations: 194.7 kB / 16.79 MB, free: 6.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.353/2.353, allocations: 222.9 MB / 240.5 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003506/0.003506, allocations: 291.1 kB / 290.9 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.776/1.776, allocations: 169.3 MB / 0.4984 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003315/0.003314, allocations: 91.78 kB / 0.5951 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3365, allocations: 86.98 MB / 0.6801 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.009669/0.3462, allocations: 3.33 MB / 0.6833 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002426/0.3466, allocations: 55.86 kB / 0.6834 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.965e-05/0.3466, allocations: 0.7188 kB / 0.6834 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.3469, allocations: 7.922 kB / 0.6834 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.347, allocations: 4.875 kB / 0.6834 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.3482, allocations: 172.2 kB / 0.6836 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.3484, allocations: 64.39 kB / 0.6836 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.591e-05/0.3485, allocations: 0 / 0.6836 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.284e-05/0.3486, allocations: 23.91 kB / 0.6837 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.3487, allocations: 12 kB / 0.6837 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.3488, allocations: 0 / 0.6837 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006727/0.3494, allocations: 171.5 kB / 0.6838 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.134e-05/0.3495, allocations: 7.984 kB / 0.6838 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.505e-05/0.3496, allocations: 7.938 kB / 0.6838 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003589/0.35, allocations: 96.09 kB / 0.6839 GB, free: 13.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.779e-06/0.35, allocations: 4 kB / 0.6839 GB, free: 13.22 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.35, allocations: 3.938 kB / 0.6839 GB, free: 13.22 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.3501, allocations: 0 / 0.6839 GB, free: 13.22 MB / 494.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.0006626/0.3507, allocations: 347.5 kB / 0.6843 GB, free: 12.83 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.442e-05/0.3508, allocations: 8.031 kB / 0.6843 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.024e-05/0.3509, allocations: 4.938 kB / 0.6843 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.3512, allocations: 168.3 kB / 0.6844 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.737e-05/0.3513, allocations: 26.27 kB / 0.6845 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.3513, allocations: 8.312 kB / 0.6845 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.3515, allocations: 45.61 kB / 0.6845 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3516, allocations: 4 kB / 0.6845 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.3516, allocations: 4 kB / 0.6845 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.258e-05/0.3517, allocations: 3.938 kB / 0.6845 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.963e-05/0.3518, allocations: 15.98 kB / 0.6845 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.3529, allocations: 0.5794 MB / 0.6851 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.035e-05/0.353, allocations: 26.52 kB / 0.6851 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.895e-05/0.3531, allocations: 4.859 kB / 0.6851 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005524/0.3536, allocations: 344.5 kB / 0.6855 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/0.3537, allocations: 46.55 kB / 0.6855 GB, free: 11.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.345e-06/0.3537, allocations: 0 / 0.6855 GB, free: 11.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002783/0.354, allocations: 29.7 kB / 0.6855 GB, free: 11.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.3541, allocations: 51.41 kB / 0.6856 GB, free: 11.19 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.3543, allocations: 109.8 kB / 0.6857 GB, free: 11.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.3543, allocations: 25.7 kB / 0.6857 GB, free: 11.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.509e-05/0.3544, allocations: 88.17 kB / 0.6858 GB, free: 10.95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.3545, allocations: 7.938 kB / 0.6858 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/0.3545, allocations: 17.62 kB / 0.6858 GB, free: 10.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.3547, allocations: 322.8 kB / 0.6861 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-05/0.3548, allocations: 0 / 0.6861 GB, free: 10.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-05/0.3548, allocations: 17.72 kB / 0.6862 GB, free: 10.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.859e-05/0.3549, allocations: 25.7 kB / 0.6862 GB, free: 10.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3549, allocations: 0 / 0.6862 GB, free: 10.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001434/0.3551, allocations: 45.64 kB / 0.6862 GB, free: 10.49 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.3551, allocations: 8 kB / 0.6862 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.3552, allocations: 0 / 0.6862 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.3552, allocations: 3.984 kB / 0.6862 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.193e-05/0.3553, allocations: 4 kB / 0.6862 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.3553, allocations: 0 / 0.6862 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.648e-05/0.3554, allocations: 4 kB / 0.6862 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.3554, allocations: 4.062 kB / 0.6862 GB, free: 10.47 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001559/0.3556, allocations: 123 kB / 0.6864 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.3556, allocations: 0 / 0.6864 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.3559, allocations: 123 kB / 0.6865 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001108/0.356, allocations: 180.2 kB / 0.6867 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001218/0.3561, allocations: 188.2 kB / 0.6868 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00011/0.3563, allocations: 180.3 kB / 0.687 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003646/0.3566, allocations: 405.1 kB / 0.6874 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.536e-05/0.3567, allocations: 113 kB / 0.6875 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.396e-05/0.3568, allocations: 101 kB / 0.6876 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.902e-05/0.3569, allocations: 180.2 kB / 0.6878 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.986e-05/0.357, allocations: 180.3 kB / 0.6879 GB, free: 8.609 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001018/0.3571, allocations: 184.4 kB / 0.6881 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-05/0.3573, allocations: 180.3 kB / 0.6883 GB, free: 8.238 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.3575, allocations: 311.7 kB / 0.6886 GB, free: 7.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.3577, allocations: 190 kB / 0.6888 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.3578, allocations: 184.5 kB / 0.6889 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002816/0.3581, allocations: 109 kB / 0.689 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.3582, allocations: 180.2 kB / 0.6892 GB, free: 7.215 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.897e-05/0.3583, allocations: 105 kB / 0.6893 GB, free: 7.105 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.924e-05/0.3584, allocations: 87.27 kB / 0.6894 GB, free: 7.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.3584, allocations: 0 / 0.6894 GB, free: 7.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005792/0.359, allocations: 39.94 kB / 0.6894 GB, free: 6.98 MB / 494.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 (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.0004941/0.3595, allocations: 240.3 kB / 0.6897 GB, free: 6.734 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.3597, allocations: 15.92 kB / 0.6897 GB, free: 6.719 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3597, allocations: 0 / 0.6897 GB, free: 6.719 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.567e-06/0.3597, allocations: 0 / 0.6897 GB, free: 6.719 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008383/0.3606, allocations: 0.5185 MB / 0.6902 GB, free: 6.195 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.3611, allocations: 217.5 kB / 0.6904 GB, free: 5.949 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.3615, allocations: 0.6731 MB / 0.6911 GB, free: 5.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.3615, allocations: 11.42 kB / 0.6911 GB, free: 5.242 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3615, allocations: 0 / 0.6911 GB, free: 5.242 MB / 494.1 MB Notification: Performance of Templates: time 0.005185/0.3667, allocations: 1.173 MB / 0.6922 GB, free: 4.082 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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 OMCppBuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversionCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversionCalcHelperMain.o] Error 1