Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial.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.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial") translateModel(BuildingSystems.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 98.88 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.001302/0.001302, allocations: 185.5 kB / 16.92 MB, free: 6.684 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.398/1.398, allocations: 223.2 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001773/0.001773, allocations: 274.4 kB / 292.3 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9715/0.9715, allocations: 169.5 MB / 0.501 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000415/0.0004151, allocations: 13.7 kB / 0.5993 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1693, allocations: 88.54 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Factorial): time 0.001823/0.1712, allocations: 1.225 MB / 0.687 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004322/0.1716, allocations: 130.4 kB / 0.6871 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.1717, allocations: 0 / 0.6871 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.1717, allocations: 0 / 0.6871 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.032e-05/0.1718, allocations: 0 / 0.6871 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.172, allocations: 27.91 kB / 0.6871 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.631e-05/0.172, allocations: 24.48 kB / 0.6871 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1722, allocations: 9.406 kB / 0.6871 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.265e-05/0.1722, allocations: 11.92 kB / 0.6872 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.202e-05/0.1723, allocations: 12.73 kB / 0.6872 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.1723, allocations: 3.984 kB / 0.6872 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.454e-05/0.1724, allocations: 17.5 kB / 0.6872 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.1724, allocations: 3.938 kB / 0.6872 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.914e-05/0.1724, allocations: 37.62 kB / 0.6872 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.1725, allocations: 20.19 kB / 0.6872 GB, free: 13.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1726, allocations: 2.875 kB / 0.6873 GB, free: 13.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1726, allocations: 0 / 0.6873 GB, free: 13.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1726, allocations: 0 / 0.6873 GB, free: 13.54 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004408/0.173, allocations: 343.5 kB / 0.6876 GB, free: 13.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.1731, allocations: 8.531 kB / 0.6876 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.1731, allocations: 8.844 kB / 0.6876 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.1732, allocations: 168.9 kB / 0.6878 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.1733, allocations: 0.875 kB / 0.6878 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.1733, allocations: 9.781 kB / 0.6878 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.1735, allocations: 59.36 kB / 0.6878 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1735, allocations: 192 / 0.6878 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1735, allocations: 7.938 kB / 0.6878 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1735, allocations: 1.188 kB / 0.6878 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.1737, allocations: 57.86 kB / 0.6879 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.1741, allocations: 262.3 kB / 0.6881 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.1744, allocations: 69.12 kB / 0.6882 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.1746, allocations: 29.66 kB / 0.6882 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.1747, allocations: 81.77 kB / 0.6883 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.1747, allocations: 36.97 kB / 0.6883 GB, free: 12.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1747, allocations: 4 kB / 0.6883 GB, free: 12.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003964/0.1751, allocations: 111.6 kB / 0.6885 GB, free: 12.14 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.1752, allocations: 51.41 kB / 0.6885 GB, free: 12.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.92e-05/0.1753, allocations: 110.4 kB / 0.6886 GB, free: 11.96 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1753, allocations: 27.42 kB / 0.6886 GB, free: 11.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.1753, allocations: 84.08 kB / 0.6887 GB, free: 11.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.1753, allocations: 3.906 kB / 0.6887 GB, free: 11.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.1754, allocations: 17.72 kB / 0.6887 GB, free: 11.81 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1755, allocations: 315.7 kB / 0.689 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.908e-05/0.1756, allocations: 26.02 kB / 0.6891 GB, free: 11.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.8e-05/0.1757, allocations: 24.72 kB / 0.6891 GB, free: 11.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.1759, allocations: 61.39 kB / 0.6891 GB, free: 11.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1759, allocations: 3.938 kB / 0.6891 GB, free: 11.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002205/0.1761, allocations: 89.64 kB / 0.6892 GB, free: 11.29 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1761, allocations: 4 kB / 0.6892 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1762, allocations: 0 / 0.6892 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.1762, allocations: 0.5156 kB / 0.6892 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.214e-05/0.1763, allocations: 15.98 kB / 0.6893 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1763, allocations: 0 / 0.6893 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.915e-05/0.1763, allocations: 8 kB / 0.6893 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.1763, allocations: 0 / 0.6893 GB, free: 11.26 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: 2 (rea2Int.y,fac.y) * 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 8.823e-05/0.1764, allocations: 127 kB / 0.6894 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.1765, allocations: 11.84 kB / 0.6894 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.1768, allocations: 93.12 kB / 0.6895 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1768, allocations: 0 / 0.6895 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1768, allocations: 4 kB / 0.6895 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1768, allocations: 0 / 0.6895 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.177, allocations: 169.6 kB / 0.6896 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.177, allocations: 0 / 0.6896 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.455e-05/0.177, allocations: 11.98 kB / 0.6897 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1771, allocations: 0 / 0.6897 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1771, allocations: 0 / 0.6897 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1771, allocations: 4 kB / 0.6897 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1771, allocations: 0 / 0.6897 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.1773, allocations: 183.4 kB / 0.6898 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.29e-05/0.1774, allocations: 81.09 kB / 0.6899 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.1774, allocations: 0 / 0.6899 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.675e-05/0.1775, allocations: 15.94 kB / 0.6899 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.1776, allocations: 11.98 kB / 0.6899 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.1776, allocations: 0 / 0.6899 GB, free: 10.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.488e-05/0.1776, allocations: 83.27 kB / 0.69 GB, free: 10.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1776, allocations: 0 / 0.69 GB, free: 10.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002159/0.1778, allocations: 8 kB / 0.69 GB, free: 10.37 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: 2 (fac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001447/0.178, allocations: 99.25 kB / 0.6901 GB, free: 10.26 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002437/0.1782, allocations: 59.89 kB / 0.6902 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1783, allocations: 0 / 0.6902 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.1784, allocations: 31.97 kB / 0.6902 GB, free: 10.17 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.1786, allocations: 13.81 kB / 0.6902 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.1789, allocations: 149.1 kB / 0.6904 GB, free: 9.988 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.1792, allocations: 0.6809 MB / 0.691 GB, free: 9.281 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.1792, allocations: 7.438 kB / 0.691 GB, free: 9.273 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1792, allocations: 0 / 0.691 GB, free: 9.273 MB / 494.1 MB Notification: Performance of Templates: time 0.002072/0.1813, allocations: 0.7292 MB / 0.6917 GB, free: 8.547 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial.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.Math.Examples.FactorialCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.FactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.FactorialCalcHelperMain.o] Error 1