Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01107/0.01107, allocations: 110.9 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001208/0.001208, allocations: 181.7 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.924/1.924, allocations: 194.6 MB / 211.3 MB, free: 11.01 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.288/2.288, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005017/0.0005019, allocations: 16 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7723/0.7728, allocations: 98.71 MB / 0.6834 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007823/0.7737, allocations: 318.9 kB / 0.6837 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.000252/0.7739, allocations: 52.14 kB / 0.6838 GB, free: 16.47 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.724e-05/0.774, allocations: 0 / 0.6838 GB, free: 16.47 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.149e-05/0.774, allocations: 0 / 0.6838 GB, free: 16.47 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.602e-06/0.774, allocations: 0 / 0.6838 GB, free: 16.47 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.7743, allocations: 15.83 kB / 0.6838 GB, free: 16.46 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 8.707e-05/0.7744, allocations: 24.17 kB / 0.6838 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.7744, allocations: 1.406 kB / 0.6838 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 2.646e-05/0.7745, allocations: 10.44 kB / 0.6838 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.132e-05/0.7745, allocations: 16.78 kB / 0.6839 GB, free: 16.44 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.7746, allocations: 1.094 kB / 0.6839 GB, free: 16.44 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 8.087e-05/0.7747, allocations: 18.62 kB / 0.6839 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.999e-05/0.7747, allocations: 10.69 kB / 0.6839 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.7747, allocations: 28.3 kB / 0.6839 GB, free: 16.4 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 7.564e-05/0.7748, allocations: 19.12 kB / 0.6839 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.7748, allocations: 0 / 0.6839 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.335e-06/0.7748, allocations: 0.7031 kB / 0.6839 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.7749, allocations: 0 / 0.6839 GB, free: 16.39 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000285/0.7752, allocations: 328 kB / 0.6842 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.7752, allocations: 9.5 kB / 0.6843 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.7753, allocations: 40.91 kB / 0.6843 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.7753, allocations: 7.797 kB / 0.6843 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.868e-05/0.7754, allocations: 169.5 kB / 0.6845 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.7754, allocations: 2.781 kB / 0.6845 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.7754, allocations: 6.625 kB / 0.6845 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.7756, allocations: 64.58 kB / 0.6845 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.7757, allocations: 0 / 0.6845 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.7757, allocations: 1.406 kB / 0.6845 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.7757, allocations: 1.406 kB / 0.6845 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.7759, allocations: 100 kB / 0.6846 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.7761, allocations: 180.2 kB / 0.6848 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.7763, allocations: 75.09 kB / 0.6849 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002928/0.7766, allocations: 402.8 kB / 0.6853 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.7767, allocations: 37.23 kB / 0.6853 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 1.854e-06/0.7767, allocations: 0 / 0.6853 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0003394/0.777, allocations: 113.8 kB / 0.6854 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.7771, allocations: 56.98 kB / 0.6855 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.195e-05/0.7771, allocations: 104.4 kB / 0.6856 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.7771, allocations: 27.14 kB / 0.6856 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.492e-05/0.7772, allocations: 80.33 kB / 0.6857 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.7772, allocations: 20.67 kB / 0.6857 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-06/0.7772, allocations: 1.25 kB / 0.6857 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.383e-05/0.7773, allocations: 321.3 kB / 0.686 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.411e-05/0.7774, allocations: 20.03 kB / 0.686 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.228e-05/0.7774, allocations: 19.56 kB / 0.686 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.328e-05/0.7775, allocations: 27.62 kB / 0.6861 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.7776, allocations: 4 kB / 0.6861 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002/0.7778, allocations: 97.44 kB / 0.6862 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.7778, allocations: 6.031 kB / 0.6862 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.7778, allocations: 0 / 0.6862 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.7778, allocations: 0 / 0.6862 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.778, allocations: 22.31 kB / 0.6862 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.778, allocations: 1.062 kB / 0.6862 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.199e-05/0.7781, allocations: 1.672 kB / 0.6862 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.7781, allocations: 3.812 kB / 0.6862 GB, free: 14.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001316/0.7782, allocations: 132.6 kB / 0.6863 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.7782, allocations: 6.625 kB / 0.6863 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000319/0.7786, allocations: 125.8 kB / 0.6864 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.7786, allocations: 1.156 kB / 0.6864 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.7786, allocations: 1.781 kB / 0.6864 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.7786, allocations: 0 / 0.6864 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.7788, allocations: 181.6 kB / 0.6866 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.7788, allocations: 5.125 kB / 0.6866 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.7789, allocations: 18.84 kB / 0.6866 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.7789, allocations: 0 / 0.6866 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.7789, allocations: 1.953 kB / 0.6866 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.779, allocations: 4.969 kB / 0.6866 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.779, allocations: 1.062 kB / 0.6866 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.7792, allocations: 121.4 kB / 0.6868 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.7792, allocations: 87.12 kB / 0.6868 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.7793, allocations: 9.672 kB / 0.6869 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.518e-05/0.7793, allocations: 0 / 0.6869 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.7793, allocations: 7.234 kB / 0.6869 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.7794, allocations: 8.656 kB / 0.6869 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.484e-05/0.7794, allocations: 75.28 kB / 0.6869 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7794, allocations: 1.406 kB / 0.6869 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002784/0.7797, allocations: 10.22 kB / 0.687 GB, free: 13.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0004988/0.7802, allocations: 0.6744 MB / 0.6876 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.7804, allocations: 62.22 kB / 0.6877 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.7804, allocations: 1.5 kB / 0.6877 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.955e-05/0.7805, allocations: 36.45 kB / 0.6877 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000115/0.7807, allocations: 3.297 kB / 0.6877 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004622/0.7811, allocations: 189.1 kB / 0.6879 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.7813, allocations: 0.6926 MB / 0.6886 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001485/0.7814, allocations: 34.78 kB / 0.6886 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/0.7815, allocations: 22.12 kB / 0.6886 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of SimCode: time 7.61e-07/0.7815, allocations: 0 / 0.6886 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.806, allocations: 1.326 MB / 0.6899 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/0.8063, allocations: 194.1 kB / 0.6901 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/3.263, allocations: 0 / 0.6901 GB, free: 11.52 MB / 0.5261 GB