Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008818/0.0008819, 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.0009601/0.0009602, allocations: 185.3 kB / 16.92 MB, free: 6.727 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.311/1.311, allocations: 223.2 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001698/0.001698, allocations: 262.9 kB / 292.3 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9209/0.9209, allocations: 169.5 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004243/0.0004243, allocations: 20.5 kB / 0.5993 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1829, allocations: 88.54 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.001758/0.1847, allocations: 1.249 MB / 0.687 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003798/0.1851, allocations: 129.5 kB / 0.6871 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.407e-05/0.1851, allocations: 0 / 0.6871 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.1851, allocations: 3.984 kB / 0.6871 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.477e-05/0.1852, allocations: 5.562 kB / 0.6871 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.1854, allocations: 27.97 kB / 0.6872 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.152e-05/0.1855, allocations: 27.92 kB / 0.6872 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1856, allocations: 17.08 kB / 0.6872 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.99e-05/0.1856, allocations: 11.94 kB / 0.6872 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.291e-05/0.1857, allocations: 21.88 kB / 0.6872 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.1857, allocations: 4 kB / 0.6872 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.727e-05/0.1858, allocations: 11.98 kB / 0.6872 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.1858, allocations: 4 kB / 0.6872 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.1858, allocations: 45.56 kB / 0.6873 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.839e-05/0.1859, allocations: 30.69 kB / 0.6873 GB, free: 13.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1859, allocations: 0 / 0.6873 GB, free: 13.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.186, allocations: 0 / 0.6873 GB, free: 13.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.186, allocations: 0 / 0.6873 GB, free: 13.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004632/0.1864, allocations: 349.1 kB / 0.6877 GB, free: 13.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1865, allocations: 8.031 kB / 0.6877 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.1865, allocations: 4.938 kB / 0.6877 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.1866, allocations: 169.9 kB / 0.6878 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.1867, allocations: 4.375 kB / 0.6878 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.1867, allocations: 4.312 kB / 0.6878 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.1869, allocations: 69.73 kB / 0.6879 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.1869, allocations: 192 / 0.6879 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1869, allocations: 7.922 kB / 0.6879 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.1869, allocations: 0 / 0.6879 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.1871, allocations: 57.73 kB / 0.688 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.1876, allocations: 286.3 kB / 0.6882 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.1879, allocations: 67.84 kB / 0.6883 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.188, allocations: 34.28 kB / 0.6883 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002687/0.1883, allocations: 393.5 kB / 0.6887 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.1883, allocations: 39.95 kB / 0.6887 GB, free: 11.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.445e-06/0.1883, allocations: 0 / 0.6887 GB, free: 11.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004122/0.1887, allocations: 122.1 kB / 0.6889 GB, free: 11.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.1888, allocations: 51.41 kB / 0.6889 GB, free: 11.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.027e-05/0.1889, allocations: 105.8 kB / 0.689 GB, free: 11.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.1889, allocations: 29.7 kB / 0.689 GB, free: 11.44 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.1889, allocations: 92.2 kB / 0.6891 GB, free: 11.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.1889, allocations: 8.406 kB / 0.6891 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.189, allocations: 13.72 kB / 0.6892 GB, free: 11.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1891, allocations: 318.8 kB / 0.6895 GB, free: 11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.776e-05/0.1892, allocations: 27.97 kB / 0.6895 GB, free: 10.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.9e-05/0.1893, allocations: 27.98 kB / 0.6895 GB, free: 10.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.1895, allocations: 53.09 kB / 0.6896 GB, free: 10.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1895, allocations: 0 / 0.6896 GB, free: 10.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002227/0.1897, allocations: 93.58 kB / 0.6896 GB, free: 10.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1897, allocations: 4 kB / 0.6897 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1898, allocations: 0 / 0.6897 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.1898, allocations: 0 / 0.6897 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.843e-05/0.1899, allocations: 15.98 kB / 0.6897 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.1899, allocations: 0 / 0.6897 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.974e-05/0.1899, allocations: 15.98 kB / 0.6897 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.19, allocations: 4 kB / 0.6897 GB, free: 10.75 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 (falFac.y,rea2Int.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.049e-05/0.19, allocations: 115.1 kB / 0.6898 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.1901, allocations: 3.906 kB / 0.6898 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/0.1904, allocations: 101.5 kB / 0.6899 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1904, allocations: 0 / 0.6899 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1904, allocations: 0 / 0.6899 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1904, allocations: 0 / 0.6899 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.1906, allocations: 173.5 kB / 0.6901 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1906, allocations: 0 / 0.6901 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.1907, allocations: 15.98 kB / 0.6901 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1907, allocations: 4 kB / 0.6901 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.1907, allocations: 4 kB / 0.6901 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1907, allocations: 0 / 0.6901 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1907, allocations: 4 kB / 0.6901 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.191, allocations: 179.5 kB / 0.6903 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-05/0.191, allocations: 88.94 kB / 0.6903 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.191, allocations: 4 kB / 0.6904 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-05/0.1911, allocations: 4 kB / 0.6904 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.1912, allocations: 15.92 kB / 0.6904 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1912, allocations: 3.938 kB / 0.6904 GB, free: 9.949 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.492e-05/0.1912, allocations: 87.27 kB / 0.6905 GB, free: 9.863 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1912, allocations: 0 / 0.6905 GB, free: 9.863 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.1915, allocations: 16 kB / 0.6905 GB, free: 9.848 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 (rea2Int.y,falFac.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.0001538/0.1916, allocations: 99.25 kB / 0.6906 GB, free: 9.742 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.1919, allocations: 55.95 kB / 0.6906 GB, free: 9.688 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.1919, allocations: 4 kB / 0.6906 GB, free: 9.684 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.192, allocations: 27.97 kB / 0.6906 GB, free: 9.656 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.1923, allocations: 9.812 kB / 0.6907 GB, free: 9.648 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.1926, allocations: 150.3 kB / 0.6908 GB, free: 9.473 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.1928, allocations: 0.6848 MB / 0.6915 GB, free: 8.762 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.1929, allocations: 15.44 kB / 0.6915 GB, free: 8.746 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1929, allocations: 0 / 0.6915 GB, free: 8.746 MB / 494.1 MB Notification: Performance of Templates: time 0.002052/0.1949, allocations: 0.7877 MB / 0.6923 GB, free: 7.961 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.FallingFactorialCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorialCalcHelperMain.o] Error 1