Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009063/0.0009059, allocations: 102.7 kB / 15.71 MB, free: 460 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.0009387/0.0009387, allocations: 176 kB / 16.58 MB, free: 6.863 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.474/1.474, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9852/0.9852, allocations: 135.3 MB / 427 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004442, allocations: 8 kB / 0.5076 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1964, allocations: 82.33 MB / 0.588 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001114/0.1977, allocations: 307.1 kB / 0.5883 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003198/0.198, allocations: 43.84 kB / 0.5883 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.422e-05/0.198, allocations: 0 / 0.5883 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.1981, allocations: 4 kB / 0.5883 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.017e-06/0.1981, allocations: 4 kB / 0.5883 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.1984, allocations: 7.984 kB / 0.5884 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.385e-05/0.1984, allocations: 4 kB / 0.5884 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.799e-05/0.1985, allocations: 0 / 0.5884 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.963e-05/0.1985, allocations: 0 / 0.5884 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.369e-05/0.1986, allocations: 7.984 kB / 0.5884 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1986, allocations: 0 / 0.5884 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1987, allocations: 8 kB / 0.5884 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.707e-06/0.1987, allocations: 0 / 0.5884 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.1988, allocations: 29.64 kB / 0.5884 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.85e-05/0.1989, allocations: 19.91 kB / 0.5884 GB, free: 2.652 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.1989, allocations: 0 / 0.5884 GB, free: 2.652 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1989, allocations: 0 / 0.5884 GB, free: 2.652 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.1989, allocations: 0 / 0.5884 GB, free: 2.652 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004152/0.1994, allocations: 307.4 kB / 0.5887 GB, free: 2.305 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.1994, allocations: 11.97 kB / 0.5887 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.1995, allocations: 0 / 0.5887 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.1996, allocations: 171 kB / 0.5889 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.1997, allocations: 0 / 0.5889 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.1997, allocations: 4 kB / 0.5889 GB, free: 2.082 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.1998, allocations: 29.7 kB / 0.5889 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1998, allocations: 0 / 0.5889 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.1999, allocations: 4 kB / 0.5889 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.1999, allocations: 0 / 0.5889 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.717e-05/0.1999, allocations: 3.938 kB / 0.5889 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002547/0.2002, allocations: 157.6 kB / 0.5891 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.266e-05/0.2003, allocations: 18.61 kB / 0.5891 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.552e-05/0.2003, allocations: 16.92 kB / 0.5891 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002459/0.2006, allocations: 81.09 kB / 0.5892 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.2006, allocations: 38.56 kB / 0.5892 GB, free: 1.645 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.2006, allocations: 0 / 0.5892 GB, free: 1.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001852/0.2008, allocations: 45.62 kB / 0.5893 GB, free: 1.594 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.2009, allocations: 51.41 kB / 0.5893 GB, free: 1.531 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.64e-05/0.201, allocations: 93.77 kB / 0.5894 GB, free: 1.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.201, allocations: 25.83 kB / 0.5894 GB, free: 1.398 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.201, allocations: 84.14 kB / 0.5895 GB, free: 1.312 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.2011, allocations: 4 kB / 0.5895 GB, free: 1.309 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.2011, allocations: 0 / 0.5895 GB, free: 1.309 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.2013, allocations: 310.8 kB / 0.5898 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.2013, allocations: 4 kB / 0.5898 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.337e-05/0.2013, allocations: 4 kB / 0.5898 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.003e-05/0.2014, allocations: 0 / 0.5898 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.2014, allocations: 7.891 kB / 0.5898 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001741/0.2016, allocations: 41.75 kB / 0.5899 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.2016, allocations: 11.94 kB / 0.5899 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2016, allocations: 0 / 0.5899 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2016, allocations: 0 / 0.5899 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.578e-05/0.2017, allocations: 8 kB / 0.5899 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.2017, allocations: 0 / 0.5899 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.083e-05/0.2018, allocations: 0 / 0.5899 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.2018, allocations: 0 / 0.5899 GB, free: 0.9141 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 (fac,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001033/0.2019, allocations: 113.9 kB / 0.59 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/0.2019, allocations: 7.953 kB / 0.59 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.202, allocations: 41.11 kB / 0.59 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.2021, allocations: 3.984 kB / 0.59 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.2021, allocations: 0 / 0.59 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2021, allocations: 0 / 0.59 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.2022, allocations: 149.6 kB / 0.5902 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.2023, allocations: 4 kB / 0.5902 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.088e-05/0.2023, allocations: 7.891 kB / 0.5902 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2023, allocations: 0 / 0.5902 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.2023, allocations: 12.02 kB / 0.5902 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.2023, allocations: 4 kB / 0.5902 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2023, allocations: 0 / 0.5902 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.98e-05/0.2025, allocations: 57.14 kB / 0.5903 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.685e-05/0.2025, allocations: 89 kB / 0.5904 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.2026, allocations: 3.953 kB / 0.5904 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.455e-05/0.2026, allocations: 0 / 0.5904 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.2026, allocations: 4 kB / 0.5904 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.2026, allocations: 4.031 kB / 0.5904 GB, free: 328 kB / 494.1 MB Notification: Performance of sorting global known variables: time 9.738e-05/0.2027, allocations: 75.28 kB / 0.5904 GB, free: 252 kB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2027, allocations: 0 / 0.5904 GB, free: 252 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.2031, allocations: 8 kB / 0.5904 GB, free: 244 kB / 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,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002137/0.2033, allocations: 103.2 kB / 0.5905 GB, free: 128 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.606e-05/0.2034, allocations: 11.94 kB / 0.5906 GB, free: 116 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.2034, allocations: 7.938 kB / 0.5906 GB, free: 108 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.431e-05/0.2034, allocations: 8.062 kB / 0.5906 GB, free: 100 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.2036, allocations: 0 / 0.5906 GB, free: 100 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002716/0.2039, allocations: 104.5 kB / 0.5907 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.2042, allocations: 0.6692 MB / 0.5913 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.2043, allocations: 15.44 kB / 0.5913 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.2043, allocations: 0 / 0.5913 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.002308/0.2066, allocations: 461.5 kB / 0.5918 GB, free: 14.8 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.makefile make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.FactorialCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FactorialCalcHelperMain.o] Error 1