Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 92.08 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.001127/0.001127, allocations: 183.1 kB / 16.92 MB, free: 6.926 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.358/1.358, allocations: 223.2 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001909/0.001909, allocations: 267 kB / 292.3 MB, free: 1.809 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9318/0.9318, allocations: 169.5 MB / 0.501 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004538/0.0004537, allocations: 16.11 kB / 0.5993 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1643, allocations: 88.55 MB / 0.6858 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001011/0.1654, allocations: 305.4 kB / 0.6861 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003806/0.1658, allocations: 59.78 kB / 0.6861 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.78e-05/0.1658, allocations: 0 / 0.6861 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.1659, allocations: 0 / 0.6861 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.552e-06/0.1659, allocations: 0.6875 kB / 0.6861 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.1662, allocations: 12.92 kB / 0.6862 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.993e-05/0.1663, allocations: 31.92 kB / 0.6862 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.883e-05/0.1664, allocations: 7.984 kB / 0.6862 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.298e-05/0.1664, allocations: 16.73 kB / 0.6862 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.188e-05/0.1665, allocations: 4 kB / 0.6862 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.1665, allocations: 1.188 kB / 0.6862 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.1666, allocations: 23.97 kB / 0.6862 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.503e-05/0.1667, allocations: 11.98 kB / 0.6862 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.312e-05/0.1667, allocations: 39.27 kB / 0.6863 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.098e-05/0.1668, allocations: 23.95 kB / 0.6863 GB, free: 14.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1668, allocations: 0 / 0.6863 GB, free: 14.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1668, allocations: 0 / 0.6863 GB, free: 14.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.1669, allocations: 0 / 0.6863 GB, free: 14.55 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00036/0.1672, allocations: 332.9 kB / 0.6866 GB, free: 14.17 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1673, allocations: 14.06 kB / 0.6866 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.1673, allocations: 8.781 kB / 0.6866 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.1674, allocations: 164.3 kB / 0.6868 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.1674, allocations: 4.375 kB / 0.6868 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.1675, allocations: 4.375 kB / 0.6868 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.1676, allocations: 68.61 kB / 0.6869 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1677, allocations: 192 / 0.6869 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.1677, allocations: 7.938 kB / 0.6869 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1677, allocations: 0 / 0.6869 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.1679, allocations: 103.8 kB / 0.687 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002109/0.1681, allocations: 174.1 kB / 0.6871 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.1682, allocations: 71.11 kB / 0.6872 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.901e-05/0.1683, allocations: 30.06 kB / 0.6872 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003898/0.1687, allocations: 409.5 kB / 0.6876 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.1687, allocations: 32 kB / 0.6877 GB, free: 12.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.1687, allocations: 0 / 0.6877 GB, free: 12.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002563/0.169, allocations: 117.9 kB / 0.6878 GB, free: 12.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.169, allocations: 56.16 kB / 0.6878 GB, free: 12.72 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.461e-05/0.1691, allocations: 101.7 kB / 0.6879 GB, free: 12.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.1691, allocations: 31.42 kB / 0.688 GB, free: 12.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.197e-05/0.1692, allocations: 80.14 kB / 0.688 GB, free: 12.49 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.1692, allocations: 15.75 kB / 0.6881 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.1692, allocations: 25.72 kB / 0.6881 GB, free: 12.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1694, allocations: 317.6 kB / 0.6884 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.337e-05/0.1694, allocations: 19.98 kB / 0.6884 GB, free: 12.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.397e-05/0.1695, allocations: 19.98 kB / 0.6884 GB, free: 12.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.78e-05/0.1696, allocations: 61.44 kB / 0.6885 GB, free: 12.03 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1696, allocations: 0 / 0.6885 GB, free: 12.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001351/0.1697, allocations: 101.4 kB / 0.6886 GB, free: 11.92 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1697, allocations: 5.719 kB / 0.6886 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1697, allocations: 3.938 kB / 0.6886 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1698, allocations: 0 / 0.6886 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1699, allocations: 19.98 kB / 0.6886 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1699, allocations: 0.7188 kB / 0.6886 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.829e-05/0.1699, allocations: 11.94 kB / 0.6886 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.1699, allocations: 4.875 kB / 0.6886 GB, free: 11.88 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001429/0.1701, allocations: 125.1 kB / 0.6887 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.1701, allocations: 7.906 kB / 0.6887 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.1703, allocations: 118.2 kB / 0.6889 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1704, allocations: 11.94 kB / 0.6889 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1704, allocations: 3.938 kB / 0.6889 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1704, allocations: 0 / 0.6889 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.1705, allocations: 173.6 kB / 0.689 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1705, allocations: 0 / 0.689 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.645e-05/0.1706, allocations: 19.98 kB / 0.6891 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1706, allocations: 3.938 kB / 0.6891 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.1706, allocations: 12 kB / 0.6891 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1706, allocations: 3.938 kB / 0.6891 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1706, allocations: 0 / 0.6891 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.1708, allocations: 117.1 kB / 0.6892 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.1709, allocations: 92.89 kB / 0.6893 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.1709, allocations: 0 / 0.6893 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.372e-05/0.1709, allocations: 0 / 0.6893 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.1709, allocations: 11.98 kB / 0.6893 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1709, allocations: 7.938 kB / 0.6893 GB, free: 11.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.906e-05/0.171, allocations: 75.28 kB / 0.6894 GB, free: 11.01 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.171, allocations: 0 / 0.6894 GB, free: 11.01 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001888/0.1712, allocations: 16 kB / 0.6894 GB, free: 11 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001874/0.1714, allocations: 119.2 kB / 0.6895 GB, free: 10.87 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.1715, allocations: 59.97 kB / 0.6896 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1715, allocations: 0 / 0.6896 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.681e-05/0.1716, allocations: 35.92 kB / 0.6896 GB, free: 10.78 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.1717, allocations: 7.938 kB / 0.6896 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.172, allocations: 180.4 kB / 0.6898 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.1723, allocations: 0.6809 MB / 0.6904 GB, free: 9.855 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.1724, allocations: 23.42 kB / 0.6905 GB, free: 9.832 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1724, allocations: 0 / 0.6905 GB, free: 9.832 MB / 494.1 MB Notification: Performance of Templates: time 0.002738/0.1751, allocations: 0.9482 MB / 0.6914 GB, free: 8.887 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.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.Functions.Examples.FallingFactorialCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorialCalcHelperMain.o] Error 1