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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.68/4.68, allocations: 432.6 MB / 445.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.878e-05/5.842e-05, allocations: 7 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2478, allocations: 98.73 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.322/0.5699, allocations: 123.8 MB / 0.7556 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/0.5703, allocations: 75.95 kB / 0.7557 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002943/0.5733, allocations: 0.8203 MB / 0.7565 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5734, allocations: 0 / 0.7565 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.5734, allocations: 0 / 0.7565 GB, free: 5.016 MB / 0.6355 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.0003787/0.5738, allocations: 330.5 kB / 0.7568 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.5738, allocations: 8.031 kB / 0.7568 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.481e-05/0.5739, allocations: 34.56 kB / 0.7569 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.5739, allocations: 4 kB / 0.7569 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.5741, allocations: 171 kB / 0.757 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.5741, allocations: 11.94 kB / 0.757 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.5741, allocations: 4 kB / 0.757 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.5743, allocations: 57.67 kB / 0.7571 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.5744, allocations: 7.984 kB / 0.7571 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.5744, allocations: 4 kB / 0.7571 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.5744, allocations: 4 kB / 0.7571 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.5747, allocations: 99.88 kB / 0.7572 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002589/0.5749, allocations: 173.5 kB / 0.7574 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.5751, allocations: 78.53 kB / 0.7574 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.341e-05/0.5752, allocations: 28.86 kB / 0.7575 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004678/0.5757, allocations: 409.5 kB / 0.7579 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.5758, allocations: 34.56 kB / 0.7579 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 3.336e-06/0.5758, allocations: 0 / 0.7579 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003127/0.5761, allocations: 85.61 kB / 0.758 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.5761, allocations: 55.41 kB / 0.758 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.619e-05/0.5762, allocations: 88.91 kB / 0.7581 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.5763, allocations: 33.7 kB / 0.7582 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/0.5763, allocations: 80.33 kB / 0.7582 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/0.5764, allocations: 23.95 kB / 0.7583 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.5764, allocations: 0 / 0.7583 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5765, allocations: 322.8 kB / 0.7586 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.316e-05/0.5766, allocations: 15.98 kB / 0.7586 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.619e-05/0.5767, allocations: 16 kB / 0.7586 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.375e-05/0.5768, allocations: 27.92 kB / 0.7586 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5768, allocations: 0 / 0.7586 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000223/0.577, allocations: 97.89 kB / 0.7587 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.5771, allocations: 4 kB / 0.7587 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.5771, allocations: 3.984 kB / 0.7587 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.5771, allocations: 4 kB / 0.7587 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.5773, allocations: 19.92 kB / 0.7587 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.5773, allocations: 4 kB / 0.7587 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.913e-05/0.5774, allocations: 11.88 kB / 0.7588 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.5774, allocations: 4 kB / 0.7588 GB, free: 2.391 MB / 0.6355 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 () * 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.0001241/0.5775, allocations: 116.9 kB / 0.7589 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.5776, allocations: 3.906 kB / 0.7589 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003731/0.578, allocations: 130.1 kB / 0.759 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.578, allocations: 3.984 kB / 0.759 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.578, allocations: 0 / 0.759 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.578, allocations: 0 / 0.759 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.5782, allocations: 181.5 kB / 0.7592 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5782, allocations: 0 / 0.7592 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.5784, allocations: 23.98 kB / 0.7592 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.5784, allocations: 4 kB / 0.7592 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.5784, allocations: 0 / 0.7592 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.5784, allocations: 0 / 0.7592 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.5785, allocations: 4 kB / 0.7592 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.5787, allocations: 113.4 kB / 0.7593 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.5788, allocations: 88.91 kB / 0.7594 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.5788, allocations: 8 kB / 0.7594 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.693e-05/0.5789, allocations: 3.984 kB / 0.7594 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.5789, allocations: 8 kB / 0.7594 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.5789, allocations: 11.98 kB / 0.7594 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.364e-05/0.579, allocations: 75.28 kB / 0.7595 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.4e-07/0.579, allocations: 0 / 0.7595 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002809/0.5793, allocations: 16 kB / 0.7595 GB, free: 1.516 MB / 0.6355 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 () * 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.0007267/0.58, allocations: 0.6748 MB / 0.7602 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002/0.5802, allocations: 51.98 kB / 0.7602 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5803, allocations: 0 / 0.7602 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.344e-05/0.5804, allocations: 35.92 kB / 0.7603 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.5805, allocations: 8 kB / 0.7603 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004552/0.5809, allocations: 134.5 kB / 0.7604 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.5813, allocations: 0.6888 MB / 0.7611 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001562/0.5815, allocations: 39.72 kB / 0.7611 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.5815, allocations: 19.42 kB / 0.7611 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of SimCode: time 1.052e-06/0.5815, allocations: 0 / 0.7611 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.6014, allocations: 1.351 MB / 0.7624 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003196/0.6018, allocations: 165 kB / 0.7626 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.339/2.941, allocations: 0 / 0.7626 GB, free: 14.28 MB / 0.6511 GB