Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.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.Examples.FallingFactorial,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.417/4.417, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.551e-05/4.57e-05, allocations: 6.656 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2445, allocations: 98.73 MB / 0.6347 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3143/0.5588, allocations: 124.8 MB / 0.7566 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003637/0.5592, allocations: 67.97 kB / 0.7567 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006545/0.5658, allocations: 1.02 MB / 0.7577 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.886e-06/0.5659, allocations: 4 kB / 0.7577 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.5659, allocations: 0 / 0.7577 GB, free: 3.844 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007147/0.5666, allocations: 350.5 kB / 0.758 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.475e-05/0.5667, allocations: 12.02 kB / 0.758 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.411e-05/0.5668, allocations: 34.56 kB / 0.758 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.5669, allocations: 3.906 kB / 0.7581 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.5671, allocations: 174.9 kB / 0.7582 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/0.5672, allocations: 4 kB / 0.7582 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.5672, allocations: 4 kB / 0.7582 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.5674, allocations: 49.69 kB / 0.7583 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.5675, allocations: 0 / 0.7583 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.5675, allocations: 4 kB / 0.7583 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.5675, allocations: 0 / 0.7583 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.5677, allocations: 19.98 kB / 0.7583 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000763/0.5685, allocations: 280.8 kB / 0.7586 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.569, allocations: 42.55 kB / 0.7586 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.37e-05/0.5691, allocations: 21.02 kB / 0.7586 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005195/0.5697, allocations: 401.5 kB / 0.759 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.5697, allocations: 34.56 kB / 0.759 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 4.618e-06/0.5697, allocations: 0 / 0.759 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003379/0.5701, allocations: 57.48 kB / 0.7591 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.5702, allocations: 51.41 kB / 0.7591 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.5703, allocations: 101 kB / 0.7592 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.5704, allocations: 29.7 kB / 0.7593 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.984e-05/0.5705, allocations: 92.19 kB / 0.7594 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.5705, allocations: 11.84 kB / 0.7594 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/0.5706, allocations: 0 / 0.7594 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.5707, allocations: 314.8 kB / 0.7597 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.953e-05/0.5708, allocations: 8 kB / 0.7597 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.91e-05/0.5709, allocations: 4 kB / 0.7597 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.134e-05/0.571, allocations: 11.98 kB / 0.7597 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.571, allocations: 4 kB / 0.7597 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002369/0.5713, allocations: 61.47 kB / 0.7598 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.5713, allocations: 8 kB / 0.7598 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.5713, allocations: 0 / 0.7598 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-05/0.5714, allocations: 4 kB / 0.7598 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.5717, allocations: 11.98 kB / 0.7598 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.5717, allocations: 3.953 kB / 0.7598 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.5719, allocations: 15.94 kB / 0.7598 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/0.5719, allocations: 3.984 kB / 0.7598 GB, free: 1.348 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: 2 (falFac.y,falFac.k) * Number of discrete 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 0.0001317/0.5721, allocations: 109 kB / 0.7599 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/0.5722, allocations: 0 / 0.7599 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/0.5725, allocations: 61.97 kB / 0.76 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.5726, allocations: 3.984 kB / 0.76 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.5726, allocations: 0 / 0.76 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.5726, allocations: 3.953 kB / 0.76 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.573, allocations: 165.7 kB / 0.7601 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.573, allocations: 0 / 0.7601 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.5733, allocations: 19.98 kB / 0.7601 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.5733, allocations: 0 / 0.7601 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.5733, allocations: 0 / 0.7601 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.5734, allocations: 0 / 0.7601 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.5734, allocations: 0 / 0.7601 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.5737, allocations: 157.3 kB / 0.7603 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.5738, allocations: 77.39 kB / 0.7604 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.5738, allocations: 4 kB / 0.7604 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.5741, allocations: 15.92 kB / 0.7604 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.976e-05/0.5742, allocations: 15.97 kB / 0.7604 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.5742, allocations: 0 / 0.7604 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.995e-05/0.5743, allocations: 91.27 kB / 0.7605 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.21e-07/0.5744, allocations: 0 / 0.7605 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005347/0.5749, allocations: 12 kB / 0.7605 GB, free: 0.5312 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: 2 (falFac.y,falFac.k) * Number of discrete 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.001065/0.576, allocations: 0.7007 MB / 0.7612 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002112/0.5763, allocations: 27.92 kB / 0.7612 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.5763, allocations: 0 / 0.7612 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.532e-05/0.5764, allocations: 16 kB / 0.7612 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.5768, allocations: 0 / 0.7612 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007572/0.5776, allocations: 117.2 kB / 0.7613 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.578, allocations: 0.6848 MB / 0.762 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.859e-05/0.5781, allocations: 11.92 kB / 0.762 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.595e-05/0.5782, allocations: 11.44 kB / 0.762 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of SimCode: time 1.613e-06/0.5782, allocations: 0 / 0.762 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/0.6039, allocations: 1.378 MB / 0.7634 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003535/0.6043, allocations: 153.1 kB / 0.7635 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.551/3.155, allocations: 4.062 kB / 0.7635 GB, free: 13.34 MB / 0.6511 GB