Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 98.56 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.001649/0.001649, allocations: 188.2 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.362/1.362, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001793/0.001794, allocations: 271 kB / 292.3 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9604/0.9604, allocations: 169.5 MB / 0.501 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000418/0.000418, allocations: 15.38 kB / 0.5993 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1702, allocations: 88.55 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001269/0.1715, allocations: 0.9978 MB / 0.6868 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1728, allocations: 0.822 MB / 0.6876 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.519e-05/0.1728, allocations: 0.5 kB / 0.6876 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.1728, allocations: 4.438 kB / 0.6876 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.508e-05/0.1729, allocations: 5.547 kB / 0.6876 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.1733, allocations: 111.5 kB / 0.6877 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.953e-05/0.1733, allocations: 28.88 kB / 0.6877 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.072e-05/0.1734, allocations: 0 / 0.6877 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.115e-05/0.1734, allocations: 13.62 kB / 0.6877 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.514e-05/0.1735, allocations: 11.98 kB / 0.6877 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1735, allocations: 0 / 0.6877 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003046/0.1738, allocations: 175.7 kB / 0.6879 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.1738, allocations: 8.672 kB / 0.6879 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.1739, allocations: 37.64 kB / 0.6879 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.1741, allocations: 81.31 kB / 0.688 GB, free: 12.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1741, allocations: 0 / 0.688 GB, free: 12.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1741, allocations: 0 / 0.688 GB, free: 12.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1741, allocations: 0 / 0.688 GB, free: 12.77 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003877/0.1745, allocations: 355.7 kB / 0.6884 GB, free: 12.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.1745, allocations: 12.03 kB / 0.6884 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.1746, allocations: 0.9375 kB / 0.6884 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.1747, allocations: 172.2 kB / 0.6885 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.9e-05/0.1748, allocations: 30.88 kB / 0.6886 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.1748, allocations: 5.344 kB / 0.6886 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1749, allocations: 46.23 kB / 0.6886 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1749, allocations: 4.531 kB / 0.6886 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.175, allocations: 2.5 kB / 0.6886 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.175, allocations: 0 / 0.6886 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.426e-05/0.1751, allocations: 19.98 kB / 0.6886 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.1752, allocations: 157.7 kB / 0.6888 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.1754, allocations: 52.58 kB / 0.6888 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.032e-05/0.1755, allocations: 20.94 kB / 0.6889 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002767/0.1758, allocations: 178.8 kB / 0.689 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.1758, allocations: 35.38 kB / 0.6891 GB, free: 11.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1758, allocations: 0.7188 kB / 0.6891 GB, free: 11.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002514/0.1761, allocations: 70.23 kB / 0.6891 GB, free: 11.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.1762, allocations: 56.69 kB / 0.6892 GB, free: 11.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.546e-05/0.1762, allocations: 97.86 kB / 0.6893 GB, free: 11.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.1762, allocations: 25.7 kB / 0.6893 GB, free: 11.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.1763, allocations: 84.84 kB / 0.6894 GB, free: 11.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.1763, allocations: 19.75 kB / 0.6894 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.1764, allocations: 13.72 kB / 0.6894 GB, free: 11.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1765, allocations: 310.8 kB / 0.6897 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.85e-05/0.1765, allocations: 11.98 kB / 0.6897 GB, free: 10.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.757e-05/0.1766, allocations: 8 kB / 0.6897 GB, free: 10.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.152e-05/0.1767, allocations: 28.84 kB / 0.6898 GB, free: 10.74 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1767, allocations: 0 / 0.6898 GB, free: 10.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001312/0.1768, allocations: 65.55 kB / 0.6898 GB, free: 10.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1768, allocations: 11.94 kB / 0.6898 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.1769, allocations: 4 kB / 0.6898 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.1769, allocations: 0 / 0.6898 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.713e-05/0.1769, allocations: 8 kB / 0.6898 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1769, allocations: 0 / 0.6898 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.662e-05/0.177, allocations: 0 / 0.6898 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-06/0.177, allocations: 4 kB / 0.6898 GB, free: 10.64 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 (4): * Single equations (assignments): 4 * 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.513e-05/0.1771, allocations: 115.1 kB / 0.69 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.1771, allocations: 12.36 kB / 0.69 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.1773, allocations: 65.17 kB / 0.69 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1773, allocations: 7.969 kB / 0.69 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1773, allocations: 0 / 0.69 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1773, allocations: 4 kB / 0.69 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.1774, allocations: 153.7 kB / 0.6902 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1774, allocations: 0 / 0.6902 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.572e-05/0.1775, allocations: 8 kB / 0.6902 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1775, allocations: 3.938 kB / 0.6902 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.1775, allocations: 3.984 kB / 0.6902 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1775, allocations: 4 kB / 0.6902 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1775, allocations: 0 / 0.6902 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.1777, allocations: 81.12 kB / 0.6903 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.394e-05/0.1777, allocations: 89.03 kB / 0.6904 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.1777, allocations: 3.938 kB / 0.6904 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.323e-05/0.1778, allocations: 0 / 0.6904 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.1778, allocations: 7.984 kB / 0.6904 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.1779, allocations: 4 kB / 0.6904 GB, free: 9.984 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.316e-05/0.1779, allocations: 87.22 kB / 0.6905 GB, free: 9.898 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1779, allocations: 0 / 0.6905 GB, free: 9.898 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002225/0.1781, allocations: 35.94 kB / 0.6905 GB, free: 9.863 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 (4): * Single equations (assignments): 4 * 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.0002056/0.1783, allocations: 131.2 kB / 0.6906 GB, free: 9.723 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001489/0.1785, allocations: 23.98 kB / 0.6906 GB, free: 9.699 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.1785, allocations: 8 kB / 0.6907 GB, free: 9.691 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.021e-05/0.1786, allocations: 15.98 kB / 0.6907 GB, free: 9.676 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.1788, allocations: 10.58 kB / 0.6907 GB, free: 9.668 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/0.1791, allocations: 176 kB / 0.6908 GB, free: 9.469 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.1793, allocations: 0.677 MB / 0.6915 GB, free: 8.766 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.1794, allocations: 7.438 kB / 0.6915 GB, free: 8.758 MB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1794, allocations: 4 kB / 0.6915 GB, free: 8.754 MB / 494.1 MB Notification: Performance of Templates: time 0.00245/0.1818, allocations: 0.9876 MB / 0.6925 GB, free: 7.77 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.Functions.Examples.phi_pTXCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTXCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTXCalcHelperMain.o] Error 1