Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001074/0.001074, allocations: 97.02 kB / 15.71 MB, free: 452 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.001756/0.001756, allocations: 175 kB / 16.58 MB, free: 6.422 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.492/1.492, allocations: 223.2 MB / 240.6 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.03/1.03, allocations: 135.3 MB / 427 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.000365, allocations: 8 kB / 0.5076 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1679, allocations: 82.31 MB / 0.588 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.001618/0.1696, allocations: 1.237 MB / 0.5892 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003341/0.1699, allocations: 128.5 kB / 0.5893 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.042e-05/0.17, allocations: 0 / 0.5893 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.275e-05/0.17, allocations: 0 / 0.5893 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.686e-05/0.1701, allocations: 7.938 kB / 0.5893 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.1703, allocations: 15.98 kB / 0.5893 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.069e-05/0.1704, allocations: 31.91 kB / 0.5894 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.833e-05/0.1705, allocations: 16 kB / 0.5894 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.233e-05/0.1705, allocations: 19.91 kB / 0.5894 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.875e-05/0.1706, allocations: 11.92 kB / 0.5894 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.1706, allocations: 0 / 0.5894 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.906e-05/0.1707, allocations: 15.98 kB / 0.5894 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.1707, allocations: 4 kB / 0.5894 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.1707, allocations: 29.7 kB / 0.5895 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.266e-05/0.1708, allocations: 31.94 kB / 0.5895 GB, free: 1.551 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1708, allocations: 0 / 0.5895 GB, free: 1.551 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1708, allocations: 0 / 0.5895 GB, free: 1.551 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.1708, allocations: 4 kB / 0.5895 GB, free: 1.547 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.0004233/0.1712, allocations: 351.5 kB / 0.5898 GB, free: 1.156 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1713, allocations: 12.03 kB / 0.5898 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.1713, allocations: 7.875 kB / 0.5898 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.1715, allocations: 174.9 kB / 0.59 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.1715, allocations: 0 / 0.59 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.1715, allocations: 4 kB / 0.59 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.1717, allocations: 69.66 kB / 0.5901 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.1717, allocations: 0 / 0.5901 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.1717, allocations: 0 / 0.5901 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1717, allocations: 4 kB / 0.5901 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.1719, allocations: 59.94 kB / 0.5901 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.1723, allocations: 284.7 kB / 0.5904 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.1726, allocations: 66.53 kB / 0.5905 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.398e-05/0.1727, allocations: 28.91 kB / 0.5905 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003279/0.1731, allocations: 401.5 kB / 0.5909 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.1731, allocations: 38.56 kB / 0.5909 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 3.075e-06/0.1731, allocations: 0 / 0.5909 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004442/0.1736, allocations: 117.5 kB / 0.591 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.1736, allocations: 51.41 kB / 0.5911 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.1738, allocations: 117.8 kB / 0.5912 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.1738, allocations: 29.7 kB / 0.5912 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.1739, allocations: 84.14 kB / 0.5913 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.1739, allocations: 7.906 kB / 0.5913 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.1739, allocations: 0 / 0.5913 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1741, allocations: 314.8 kB / 0.5916 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.1742, allocations: 23.97 kB / 0.5916 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.211e-05/0.1743, allocations: 27.98 kB / 0.5917 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.105e-05/0.1744, allocations: 23.97 kB / 0.5917 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1744, allocations: 0 / 0.5917 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002215/0.1746, allocations: 93.59 kB / 0.5918 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.1747, allocations: 5.875 kB / 0.5918 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1747, allocations: 0 / 0.5918 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1747, allocations: 0 / 0.5918 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.959e-05/0.1748, allocations: 15.98 kB / 0.5918 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.1748, allocations: 0 / 0.5918 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.368e-05/0.1749, allocations: 19.83 kB / 0.5918 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.1749, allocations: 11.95 kB / 0.5918 GB, free: 14.84 MB / 0.4981 GB 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,falFac.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.175, allocations: 105.8 kB / 0.5919 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.175, allocations: 4 kB / 0.5919 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.1753, allocations: 101.5 kB / 0.592 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1753, allocations: 0 / 0.592 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1754, allocations: 0 / 0.592 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1754, allocations: 0 / 0.592 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.1756, allocations: 165.6 kB / 0.5922 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1756, allocations: 3.938 kB / 0.5922 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.452e-05/0.1757, allocations: 15.98 kB / 0.5922 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1757, allocations: 0 / 0.5922 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1757, allocations: 4 kB / 0.5922 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1757, allocations: 4 kB / 0.5922 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1757, allocations: 3.984 kB / 0.5922 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.176, allocations: 191.7 kB / 0.5924 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.1761, allocations: 81.11 kB / 0.5925 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.1761, allocations: 0 / 0.5925 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-05/0.1762, allocations: 11.98 kB / 0.5925 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.1762, allocations: 7.984 kB / 0.5925 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.1763, allocations: 4 kB / 0.5925 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.348e-05/0.1763, allocations: 79.28 kB / 0.5926 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1763, allocations: 0 / 0.5926 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002294/0.1766, allocations: 12 kB / 0.5926 GB, free: 13.96 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000222/0.1768, allocations: 111.2 kB / 0.5927 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.177, allocations: 55.95 kB / 0.5928 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.177, allocations: 0 / 0.5928 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.821e-05/0.1771, allocations: 35.91 kB / 0.5928 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.1775, allocations: 7.953 kB / 0.5928 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/0.1779, allocations: 154.3 kB / 0.5929 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.1782, allocations: 0.6848 MB / 0.5936 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.1783, allocations: 15.44 kB / 0.5936 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1783, allocations: 0 / 0.5936 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.00278/0.1811, allocations: 0.7906 MB / 0.5944 GB, free: 12.05 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorialCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorialCalcHelperMain.o] Error 1