Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0007146/0.0007148, allocations: 99.58 kB / 16.02 MB, free: 72 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.0008314/0.0008313, allocations: 180.8 kB / 16.92 MB, free: 6.918 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.306/1.306, allocations: 223.2 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7054/0.7054, allocations: 132.3 MB / 424.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003181, allocations: 12 kB / 0.5046 GB, free: 3.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3964, allocations: 81.59 MB / 0.5843 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.001782/0.3982, allocations: 1.248 MB / 0.5855 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003987/0.3987, allocations: 130.8 kB / 0.5856 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.831e-05/0.3987, allocations: 1.312 kB / 0.5856 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.334e-05/0.3987, allocations: 4.453 kB / 0.5856 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.094e-05/0.3988, allocations: 0.7969 kB / 0.5856 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.399, allocations: 19.83 kB / 0.5857 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.019e-05/0.3991, allocations: 38.3 kB / 0.5857 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.422e-05/0.3992, allocations: 16.03 kB / 0.5857 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.387e-05/0.3993, allocations: 10.97 kB / 0.5857 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.747e-05/0.3993, allocations: 16.83 kB / 0.5857 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.3993, allocations: 6.094 kB / 0.5857 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.446e-05/0.3994, allocations: 19.72 kB / 0.5858 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.3994, allocations: 6.906 kB / 0.5858 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.3995, allocations: 36.75 kB / 0.5858 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.785e-05/0.3996, allocations: 29.36 kB / 0.5858 GB, free: 2.957 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3996, allocations: 0.875 kB / 0.5858 GB, free: 2.957 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3996, allocations: 4 kB / 0.5858 GB, free: 2.953 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.3996, allocations: 0 / 0.5858 GB, free: 2.953 MB / 430.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.0004201/0.4, allocations: 354.6 kB / 0.5862 GB, free: 2.586 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.4001, allocations: 9.906 kB / 0.5862 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.4001, allocations: 7.312 kB / 0.5862 GB, free: 2.582 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.879e-05/0.4002, allocations: 168 kB / 0.5864 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.4002, allocations: 1.281 kB / 0.5864 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.4003, allocations: 6.5 kB / 0.5864 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.4005, allocations: 71.16 kB / 0.5864 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4005, allocations: 0.8438 kB / 0.5864 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.4005, allocations: 4.531 kB / 0.5864 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.4005, allocations: 1.125 kB / 0.5864 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.4007, allocations: 61.8 kB / 0.5865 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.4011, allocations: 276.6 kB / 0.5868 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.4014, allocations: 70.55 kB / 0.5868 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.4015, allocations: 30.61 kB / 0.5869 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/0.4017, allocations: 402.5 kB / 0.5872 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.38e-05/0.4017, allocations: 35.5 kB / 0.5873 GB, free: 1.465 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.4017, allocations: 0 / 0.5873 GB, free: 1.465 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004079/0.4022, allocations: 108.6 kB / 0.5874 GB, free: 1.422 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.4022, allocations: 53.14 kB / 0.5874 GB, free: 1.359 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.669e-05/0.4023, allocations: 119.6 kB / 0.5875 GB, free: 1.246 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.4023, allocations: 26.41 kB / 0.5876 GB, free: 1.215 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.874e-05/0.4023, allocations: 82.28 kB / 0.5876 GB, free: 1.133 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.4023, allocations: 10.39 kB / 0.5877 GB, free: 1.125 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/0.4024, allocations: 11.86 kB / 0.5877 GB, free: 1.109 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.384e-05/0.4024, allocations: 317.4 kB / 0.588 GB, free: 0.793 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.4025, allocations: 24.34 kB / 0.588 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.183e-05/0.4026, allocations: 37.88 kB / 0.588 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.4028, allocations: 56.27 kB / 0.5881 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4028, allocations: 4 kB / 0.5881 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002251/0.4031, allocations: 82.61 kB / 0.5882 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.4031, allocations: 5.938 kB / 0.5882 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4031, allocations: 4.812 kB / 0.5882 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.4031, allocations: 0 / 0.5882 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.344e-05/0.4032, allocations: 18.58 kB / 0.5882 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4032, allocations: 4.766 kB / 0.5882 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.173e-05/0.4033, allocations: 16.14 kB / 0.5882 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.4033, allocations: 1.281 kB / 0.5882 GB, free: 0.6953 MB / 430.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 5.727e-05/0.4034, allocations: 117 kB / 0.5883 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.4034, allocations: 2.094 kB / 0.5883 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.4037, allocations: 98.16 kB / 0.5884 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.4037, allocations: 1.812 kB / 0.5884 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.4037, allocations: 0 / 0.5884 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4037, allocations: 0 / 0.5884 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.4038, allocations: 174.5 kB / 0.5886 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4038, allocations: 0 / 0.5886 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.415e-05/0.4039, allocations: 20.98 kB / 0.5886 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4039, allocations: 1.625 kB / 0.5886 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.4039, allocations: 1.156 kB / 0.5886 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4039, allocations: 4.562 kB / 0.5886 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.404, allocations: 0.9375 kB / 0.5886 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.4042, allocations: 188.2 kB / 0.5888 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.727e-05/0.4042, allocations: 77.77 kB / 0.5889 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.4043, allocations: 1.484 kB / 0.5889 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.465e-05/0.4043, allocations: 8.609 kB / 0.5889 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.4044, allocations: 9.688 kB / 0.5889 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.4044, allocations: 2.078 kB / 0.5889 GB, free: 56 kB / 430.1 MB Notification: Performance of sorting global known variables: time 5.543e-05/0.4045, allocations: 91.7 kB / 0.589 GB, free: 15.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4045, allocations: 0 / 0.589 GB, free: 15.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002168/0.4047, allocations: 8.5 kB / 0.589 GB, free: 15.97 MB / 446.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.0001618/0.4049, allocations: 99.89 kB / 0.5891 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002485/0.4051, allocations: 63.41 kB / 0.5891 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4051, allocations: 3.938 kB / 0.5891 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.4053, allocations: 30.19 kB / 0.5892 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.4055, allocations: 7.766 kB / 0.5892 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.4059, allocations: 166.6 kB / 0.5893 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.4061, allocations: 0.6839 MB / 0.59 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.4062, allocations: 11.03 kB / 0.59 GB, free: 14.98 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4062, allocations: 0 / 0.59 GB, free: 14.98 MB / 446.1 MB Notification: Performance of Templates: time 0.002568/0.4088, allocations: 0.7802 MB / 0.5908 GB, free: 14.95 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Utilities.Math.Examples.FallingFactorialCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Examples.FallingFactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Examples.FallingFactorialCalcHelperMain.o] Error 1