Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.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.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.02092/0.02092, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.002364/0.002364, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.835/2.835, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004264/0.004265, allocations: 286.2 kB / 290.9 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.994/1.994, allocations: 169.2 MB / 0.4983 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003297/0.003298, allocations: 90.28 kB / 0.5951 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3368, allocations: 86.99 MB / 0.6801 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.004283/0.3412, allocations: 1.47 MB / 0.6815 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.3428, allocations: 0.5965 MB / 0.6821 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.498e-05/0.3429, allocations: 0 / 0.6821 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.259e-05/0.3429, allocations: 0 / 0.6821 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.215e-05/0.343, allocations: 9.984 kB / 0.6821 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004937/0.3435, allocations: 83.64 kB / 0.6822 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.346e-05/0.3436, allocations: 27.92 kB / 0.6822 GB, free: 15 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.3438, allocations: 4.625 kB / 0.6822 GB, free: 15 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.653e-05/0.3439, allocations: 13.7 kB / 0.6822 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.558e-05/0.344, allocations: 7.938 kB / 0.6822 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.344, allocations: 0 / 0.6822 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004165/0.3444, allocations: 151.7 kB / 0.6824 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.3444, allocations: 8.641 kB / 0.6824 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.017e-05/0.3445, allocations: 7.938 kB / 0.6824 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.3447, allocations: 72.86 kB / 0.6825 GB, free: 14.74 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.3448, allocations: 0 / 0.6825 GB, free: 14.74 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3448, allocations: 0.875 kB / 0.6825 GB, free: 14.74 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.3448, allocations: 0 / 0.6825 GB, free: 14.74 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.0006978/0.3455, allocations: 361.4 kB / 0.6828 GB, free: 14.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.3456, allocations: 12.03 kB / 0.6828 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006365/0.3462, allocations: 29.56 kB / 0.6829 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.3464, allocations: 176.2 kB / 0.683 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.3464, allocations: 384 / 0.683 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.3464, allocations: 384 / 0.683 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003494/0.3468, allocations: 70.19 kB / 0.6831 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3468, allocations: 192 / 0.6831 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.3469, allocations: 7.938 kB / 0.6831 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.3469, allocations: 0 / 0.6831 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003762/0.3473, allocations: 55.94 kB / 0.6832 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006776/0.3479, allocations: 268.9 kB / 0.6834 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.3483, allocations: 62.42 kB / 0.6835 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.3485, allocations: 32.89 kB / 0.6835 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.3485, allocations: 3.984 kB / 0.6835 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.3486, allocations: 34.56 kB / 0.6835 GB, free: 13.49 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.3486, allocations: 0 / 0.6835 GB, free: 13.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007244/0.3493, allocations: 117.5 kB / 0.6836 GB, free: 13.37 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.3494, allocations: 55.41 kB / 0.6837 GB, free: 13.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.3495, allocations: 101.8 kB / 0.6838 GB, free: 13.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.3495, allocations: 25.83 kB / 0.6838 GB, free: 13.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.3496, allocations: 84.14 kB / 0.6839 GB, free: 13.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.3497, allocations: 3.906 kB / 0.6839 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.382e-05/0.3497, allocations: 21.7 kB / 0.6839 GB, free: 13.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3499, allocations: 310.8 kB / 0.6842 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.3501, allocations: 27.97 kB / 0.6842 GB, free: 12.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.3503, allocations: 27.97 kB / 0.6843 GB, free: 12.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/0.3506, allocations: 52.81 kB / 0.6843 GB, free: 12.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3506, allocations: 0 / 0.6843 GB, free: 12.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004418/0.3511, allocations: 105.5 kB / 0.6844 GB, free: 12.51 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.3511, allocations: 8 kB / 0.6844 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3511, allocations: 0 / 0.6844 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.3512, allocations: 0 / 0.6844 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.3514, allocations: 15.92 kB / 0.6844 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3514, allocations: 0 / 0.6844 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.3515, allocations: 7.984 kB / 0.6845 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.3516, allocations: 8.031 kB / 0.6845 GB, free: 12.47 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001088/0.3517, allocations: 111.1 kB / 0.6846 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.3517, allocations: 3.984 kB / 0.6846 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.137e-05/0.3518, allocations: 11.12 kB / 0.6846 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.3518, allocations: 0 / 0.6846 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3519, allocations: 0 / 0.6846 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3519, allocations: 0 / 0.6846 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.3521, allocations: 165.6 kB / 0.6847 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.3521, allocations: 8 kB / 0.6848 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.3523, allocations: 11.98 kB / 0.6848 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/0.3523, allocations: 3.984 kB / 0.6848 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.3523, allocations: 0 / 0.6848 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3524, allocations: 0 / 0.6848 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3524, allocations: 0 / 0.6848 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005075/0.3529, allocations: 195.4 kB / 0.685 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/0.353, allocations: 85.02 kB / 0.685 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.353, allocations: 0 / 0.685 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.3532, allocations: 11.98 kB / 0.685 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.3532, allocations: 4 kB / 0.685 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.098e-06/0.3533, allocations: 0 / 0.685 GB, free: 11.78 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.442e-05/0.3533, allocations: 91.47 kB / 0.6851 GB, free: 11.69 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3533, allocations: 0 / 0.6851 GB, free: 11.69 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004359/0.3538, allocations: 12 kB / 0.6851 GB, free: 11.68 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 (2): * Single equations (assignments): 2 * 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.0002789/0.3541, allocations: 111.2 kB / 0.6853 GB, free: 11.56 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004656/0.3545, allocations: 63.94 kB / 0.6853 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.3546, allocations: 0 / 0.6853 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.3548, allocations: 31.91 kB / 0.6853 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005255/0.3553, allocations: 7.938 kB / 0.6854 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007195/0.356, allocations: 166.2 kB / 0.6855 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.3564, allocations: 0.6731 MB / 0.6862 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.225e-05/0.3565, allocations: 19.36 kB / 0.6862 GB, free: 10.55 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3565, allocations: 0 / 0.6862 GB, free: 10.55 MB / 494.1 MB Notification: Performance of Templates: time 0.003952/0.3605, allocations: 0.8875 MB / 0.6871 GB, free: 9.668 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.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.Utilities.Psychrometrics.Examples.SaturationPressureCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureCalcHelperMain.o] Error 1