Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0009717/0.0009717, allocations: 100.5 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.001315/0.001315, allocations: 175.3 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.502/1.502, allocations: 223.3 MB / 240.6 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.058/1.058, allocations: 135.3 MB / 427 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003412, allocations: 13.03 kB / 0.5076 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1802, allocations: 82.32 MB / 0.588 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.001595/0.1818, allocations: 1.217 MB / 0.5892 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003408/0.1822, allocations: 120.6 kB / 0.5893 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.683e-05/0.1822, allocations: 0 / 0.5893 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.394e-05/0.1822, allocations: 3.938 kB / 0.5893 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.063e-05/0.1823, allocations: 3.938 kB / 0.5893 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.1825, allocations: 19.98 kB / 0.5893 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.699e-05/0.1826, allocations: 23.92 kB / 0.5893 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.901e-05/0.1827, allocations: 8 kB / 0.5894 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.508e-05/0.1827, allocations: 19.91 kB / 0.5894 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.528e-05/0.1828, allocations: 4 kB / 0.5894 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.1828, allocations: 0 / 0.5894 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.24e-05/0.1829, allocations: 19.92 kB / 0.5894 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.935e-06/0.1829, allocations: 0 / 0.5894 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.1829, allocations: 29.7 kB / 0.5894 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.145e-05/0.183, allocations: 23.95 kB / 0.5894 GB, free: 1.473 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.183, allocations: 0 / 0.5894 GB, free: 1.473 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.183, allocations: 0 / 0.5894 GB, free: 1.473 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.183, allocations: 0 / 0.5894 GB, free: 1.473 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.0004532/0.1835, allocations: 351.5 kB / 0.5898 GB, free: 1.082 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1835, allocations: 8.031 kB / 0.5898 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.1835, allocations: 0 / 0.5898 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.1837, allocations: 171 kB / 0.59 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1837, allocations: 0 / 0.59 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.1837, allocations: 4 kB / 0.59 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1839, allocations: 73.53 kB / 0.59 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1839, allocations: 4 kB / 0.59 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1839, allocations: 0 / 0.59 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1839, allocations: 0 / 0.59 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.1841, allocations: 55.95 kB / 0.5901 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.1845, allocations: 260.8 kB / 0.5903 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.1848, allocations: 66.47 kB / 0.5904 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.1849, allocations: 36.89 kB / 0.5904 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.1851, allocations: 81.11 kB / 0.5905 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.1851, allocations: 30.56 kB / 0.5905 GB, free: 176 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.1851, allocations: 0 / 0.5905 GB, free: 176 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003744/0.1855, allocations: 113.6 kB / 0.5906 GB, free: 56 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.1856, allocations: 55.34 kB / 0.5907 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.585e-05/0.1856, allocations: 97.84 kB / 0.5908 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.1857, allocations: 29.7 kB / 0.5908 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.1857, allocations: 88.14 kB / 0.5909 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.1857, allocations: 7.844 kB / 0.5909 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-06/0.1858, allocations: 0 / 0.5909 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.1859, allocations: 318.8 kB / 0.5912 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.642e-05/0.186, allocations: 23.97 kB / 0.5912 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-05/0.1861, allocations: 28.36 kB / 0.5913 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.577e-05/0.1862, allocations: 24.08 kB / 0.5913 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1862, allocations: 3.938 kB / 0.5913 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002119/0.1864, allocations: 93.62 kB / 0.5914 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1864, allocations: 6.188 kB / 0.5914 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1864, allocations: 4 kB / 0.5914 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.1864, allocations: 0 / 0.5914 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.885e-05/0.1865, allocations: 15.92 kB / 0.5914 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1865, allocations: 0 / 0.5914 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.62e-05/0.1866, allocations: 11.91 kB / 0.5914 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.1866, allocations: 7.984 kB / 0.5914 GB, free: 15.21 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 (fac.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.759e-05/0.1867, allocations: 113.8 kB / 0.5915 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.1867, allocations: 0 / 0.5915 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.187, allocations: 97.14 kB / 0.5916 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.187, allocations: 7.938 kB / 0.5916 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.187, allocations: 0 / 0.5916 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.187, allocations: 0 / 0.5916 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.1872, allocations: 165.6 kB / 0.5918 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1872, allocations: 0 / 0.5918 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-05/0.1873, allocations: 15.92 kB / 0.5918 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1873, allocations: 0 / 0.5918 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1873, allocations: 4 kB / 0.5918 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1873, allocations: 0 / 0.5918 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1873, allocations: 0 / 0.5918 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.1875, allocations: 187.5 kB / 0.592 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.1876, allocations: 81.02 kB / 0.5921 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.1876, allocations: 4 kB / 0.5921 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.035e-05/0.1877, allocations: 11.98 kB / 0.5921 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.1877, allocations: 4 kB / 0.5921 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.1878, allocations: 0 / 0.5921 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.235e-05/0.1878, allocations: 87.27 kB / 0.5922 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1878, allocations: 0 / 0.5922 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002275/0.188, allocations: 8 kB / 0.5922 GB, free: 14.34 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 (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 (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.0001426/0.1882, allocations: 95.25 kB / 0.5923 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.1884, allocations: 63.89 kB / 0.5923 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1884, allocations: 0 / 0.5923 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.497e-05/0.1885, allocations: 35.97 kB / 0.5924 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.1888, allocations: 3.953 kB / 0.5924 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.1891, allocations: 146.8 kB / 0.5925 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.1894, allocations: 0.677 MB / 0.5932 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.1894, allocations: 11.44 kB / 0.5932 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1894, allocations: 0 / 0.5932 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.001947/0.1914, allocations: 0.7315 MB / 0.5939 GB, free: 12.52 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.makefile make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.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.FactorialCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.FactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.FactorialCalcHelperMain.o] Error 1