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.0009101/0.0009101, allocations: 97.78 kB / 16.02 MB, free: 76 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.001037/0.001038, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.349/1.349, allocations: 223.2 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001751/0.001752, allocations: 262.9 kB / 292.3 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.935/0.935, allocations: 169.5 MB / 0.501 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004706, allocations: 13.81 kB / 0.5993 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1861, allocations: 88.54 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001755/0.1879, allocations: 1.135 MB / 0.6869 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009944/0.1889, allocations: 0.5966 MB / 0.6874 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.073e-05/0.189, allocations: 0 / 0.6874 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.798e-05/0.189, allocations: 0 / 0.6874 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.062e-05/0.189, allocations: 8.984 kB / 0.6875 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.1894, allocations: 81.7 kB / 0.6875 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.963e-05/0.1894, allocations: 31.86 kB / 0.6876 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.815e-05/0.1895, allocations: 0 / 0.6876 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.805e-05/0.1896, allocations: 11.94 kB / 0.6876 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.465e-05/0.1896, allocations: 14.36 kB / 0.6876 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.1896, allocations: 0 / 0.6876 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002715/0.1899, allocations: 151.8 kB / 0.6877 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.137e-06/0.1899, allocations: 0 / 0.6877 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.19, allocations: 41.62 kB / 0.6878 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.1901, allocations: 64.14 kB / 0.6878 GB, free: 12.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1901, allocations: 4.5 kB / 0.6878 GB, free: 12.92 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.1901, allocations: 0.5625 kB / 0.6878 GB, free: 12.92 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1901, allocations: 3.938 kB / 0.6878 GB, free: 12.92 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.0004472/0.1906, allocations: 359.1 kB / 0.6882 GB, free: 12.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1906, allocations: 13.22 kB / 0.6882 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004112/0.1911, allocations: 30.28 kB / 0.6882 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.1912, allocations: 164.3 kB / 0.6884 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.1912, allocations: 384 / 0.6884 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.1912, allocations: 1.125 kB / 0.6884 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.1915, allocations: 77.09 kB / 0.6885 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1915, allocations: 192 / 0.6885 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.1915, allocations: 7.938 kB / 0.6885 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1915, allocations: 0 / 0.6885 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.1918, allocations: 63.84 kB / 0.6885 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.1923, allocations: 270.6 kB / 0.6888 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.1925, allocations: 68.06 kB / 0.6889 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.1927, allocations: 38.92 kB / 0.6889 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1927, allocations: 3.984 kB / 0.6889 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.1928, allocations: 39.22 kB / 0.6889 GB, free: 11.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.1928, allocations: 0 / 0.6889 GB, free: 11.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005296/0.1933, allocations: 137.6 kB / 0.6891 GB, free: 11.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.1934, allocations: 51.41 kB / 0.6891 GB, free: 11.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.32e-05/0.1934, allocations: 101.9 kB / 0.6892 GB, free: 11.35 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1935, allocations: 25.7 kB / 0.6892 GB, free: 11.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.1935, allocations: 88.03 kB / 0.6893 GB, free: 11.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.1935, allocations: 0 / 0.6893 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.1936, allocations: 13.72 kB / 0.6893 GB, free: 11.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1937, allocations: 318.9 kB / 0.6896 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.1938, allocations: 27.97 kB / 0.6897 GB, free: 10.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.194, allocations: 31.97 kB / 0.6897 GB, free: 10.83 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.1942, allocations: 64.88 kB / 0.6898 GB, free: 10.76 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1942, allocations: 3.984 kB / 0.6898 GB, free: 10.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003244/0.1946, allocations: 113.4 kB / 0.6899 GB, free: 10.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1946, allocations: 4 kB / 0.6899 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1946, allocations: 0 / 0.6899 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1946, allocations: 4.031 kB / 0.6899 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.1948, allocations: 15.98 kB / 0.6899 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1948, allocations: 3.984 kB / 0.6899 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.063e-05/0.1949, allocations: 12 kB / 0.6899 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.1949, allocations: 3.984 kB / 0.6899 GB, free: 10.6 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 7.597e-05/0.195, allocations: 115.1 kB / 0.69 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.195, allocations: 4 kB / 0.69 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/0.1951, allocations: 7.125 kB / 0.69 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1951, allocations: 4 kB / 0.69 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1951, allocations: 0 / 0.69 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1951, allocations: 0 / 0.69 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.1952, allocations: 161.8 kB / 0.6902 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.1953, allocations: 0 / 0.6902 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.1954, allocations: 23.97 kB / 0.6902 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1954, allocations: 7.922 kB / 0.6902 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.1954, allocations: 0 / 0.6902 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1954, allocations: 3.938 kB / 0.6902 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1954, allocations: 4 kB / 0.6902 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/0.1958, allocations: 195.4 kB / 0.6904 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.1958, allocations: 85.02 kB / 0.6905 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.1959, allocations: 0 / 0.6905 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.196, allocations: 11.98 kB / 0.6905 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.196, allocations: 4.031 kB / 0.6905 GB, free: 9.891 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.196, allocations: 0 / 0.6905 GB, free: 9.891 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.963e-05/0.1961, allocations: 91.2 kB / 0.6906 GB, free: 9.801 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1961, allocations: 0 / 0.6906 GB, free: 9.801 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.1963, allocations: 16 kB / 0.6906 GB, free: 9.785 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.0001725/0.1965, allocations: 111.2 kB / 0.6907 GB, free: 9.664 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000309/0.1968, allocations: 71.88 kB / 0.6908 GB, free: 9.594 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1968, allocations: 0 / 0.6908 GB, free: 9.594 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.197, allocations: 40.03 kB / 0.6908 GB, free: 9.555 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.1973, allocations: 8.688 kB / 0.6908 GB, free: 9.547 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/0.1977, allocations: 162.3 kB / 0.691 GB, free: 9.359 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.1979, allocations: 0.6771 MB / 0.6916 GB, free: 8.656 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.198, allocations: 19.44 kB / 0.6917 GB, free: 8.637 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.198, allocations: 0 / 0.6917 GB, free: 8.637 MB / 494.1 MB Notification: Performance of Templates: time 0.002285/0.2003, allocations: 0.9026 MB / 0.6925 GB, free: 7.746 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