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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.319/4.319, allocations: 433.2 MB / 440.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.329e-05, allocations: 7.938 kB / 0.5325 GB, free: 1.852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.604/0.604, allocations: 98.72 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2314/0.8355, allocations: 124.2 MB / 0.7501 GB, free: 3.379 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.8358, allocations: 67.97 kB / 0.7502 GB, free: 3.312 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004256/0.8401, allocations: 1.018 MB / 0.7512 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8401, allocations: 0 / 0.7512 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.8402, allocations: 0 / 0.7512 GB, free: 2.289 MB / 0.6198 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.0004861/0.8407, allocations: 346.4 kB / 0.7515 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.8407, allocations: 12.03 kB / 0.7515 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.8408, allocations: 7.906 kB / 0.7515 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.8409, allocations: 178.9 kB / 0.7517 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.841, allocations: 0 / 0.7517 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.841, allocations: 3.984 kB / 0.7517 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001071/0.8411, allocations: 20 kB / 0.7517 GB, free: 1.648 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.8412, allocations: 45.69 kB / 0.7518 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.8412, allocations: 0 / 0.7518 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.8413, allocations: 0 / 0.7518 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.8413, allocations: 0 / 0.7518 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000447/0.8417, allocations: 257.4 kB / 0.752 GB, free: 1.309 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.8421, allocations: 42.55 kB / 0.7521 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.977e-05/0.8422, allocations: 16.92 kB / 0.7521 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003375/0.8425, allocations: 397.6 kB / 0.7525 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.8426, allocations: 38.56 kB / 0.7525 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.414e-06/0.8426, allocations: 0 / 0.7525 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000238/0.8428, allocations: 49.59 kB / 0.7526 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.8429, allocations: 59.3 kB / 0.7526 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.133e-05/0.843, allocations: 100.9 kB / 0.7527 GB, free: 492 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.843, allocations: 29.7 kB / 0.7527 GB, free: 456 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.429e-05/0.8431, allocations: 84.14 kB / 0.7528 GB, free: 368 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.8431, allocations: 7.844 kB / 0.7528 GB, free: 360 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.8431, allocations: 0 / 0.7528 GB, free: 360 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.8432, allocations: 318.8 kB / 0.7531 GB, free: 32 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.123e-05/0.8433, allocations: 8 kB / 0.7531 GB, free: 24 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.152e-05/0.8433, allocations: 11.98 kB / 0.7531 GB, free: 12 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.347e-05/0.8434, allocations: 4 kB / 0.7531 GB, free: 8 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8434, allocations: 0 / 0.7531 GB, free: 8 kB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000159/0.8436, allocations: 49.66 kB / 0.7532 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.8436, allocations: 8.781 kB / 0.7532 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.8436, allocations: 0 / 0.7532 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.8436, allocations: 0 / 0.7532 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.8438, allocations: 20.17 kB / 0.7532 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.8438, allocations: 4 kB / 0.7532 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.8439, allocations: 15.94 kB / 0.7532 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.844, allocations: 0 / 0.7532 GB, free: 15.91 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 8.115e-05/0.8441, allocations: 108.9 kB / 0.7533 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001493/0.8442, allocations: 45.69 kB / 0.7534 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.8443, allocations: 4 kB / 0.7534 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.8445, allocations: 65.7 kB / 0.7535 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.8445, allocations: 3.938 kB / 0.7535 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.8445, allocations: 4.234 kB / 0.7535 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.8445, allocations: 0 / 0.7535 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.8448, allocations: 142.2 kB / 0.7536 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.8448, allocations: 3.938 kB / 0.7536 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.8449, allocations: 15.97 kB / 0.7536 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.8449, allocations: 4 kB / 0.7536 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.845, allocations: 0 / 0.7536 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.845, allocations: 4 kB / 0.7536 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.845, allocations: 0 / 0.7536 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.8452, allocations: 147.5 kB / 0.7538 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.8452, allocations: 77.11 kB / 0.7538 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.8453, allocations: 0 / 0.7538 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.8454, allocations: 11.98 kB / 0.7539 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.8455, allocations: 7.984 kB / 0.7539 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.8455, allocations: 8 kB / 0.7539 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.467e-05/0.8456, allocations: 79.28 kB / 0.7539 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.2e-07/0.8456, allocations: 0 / 0.7539 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003306/0.8459, allocations: 15.94 kB / 0.754 GB, free: 15.08 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.0006011/0.8465, allocations: 0.7044 MB / 0.7546 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.8467, allocations: 20 kB / 0.7547 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8467, allocations: 0 / 0.7547 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.201e-05/0.8467, allocations: 19.92 kB / 0.7547 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.847, allocations: 7.938 kB / 0.7547 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004574/0.8474, allocations: 99.84 kB / 0.7548 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.8477, allocations: 0.6807 MB / 0.7554 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.515e-05/0.8478, allocations: 8 kB / 0.7555 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.8479, allocations: 15.42 kB / 0.7555 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of SimCode: time 8.71e-07/0.8479, allocations: 0 / 0.7555 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03551/0.8834, allocations: 1.034 MB / 0.7565 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003114/0.8838, allocations: 135.2 kB / 0.7566 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/3.259, allocations: 0 / 0.7566 GB, free: 12.23 MB / 0.6355 GB