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/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.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.757/4.757, allocations: 433.2 MB / 440.8 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.461e-05/4.461e-05, allocations: 8.156 kB / 0.5325 GB, free: 12.78 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2249, allocations: 98.74 MB / 0.6289 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2336/0.4586, allocations: 123.1 MB / 0.7492 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/0.4589, allocations: 75.95 kB / 0.7492 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002878/0.4618, allocations: 0.8203 MB / 0.75 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4619, allocations: 3.938 kB / 0.75 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.4619, allocations: 0 / 0.75 GB, free: 12.89 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.0003687/0.4623, allocations: 334.5 kB / 0.7504 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.4624, allocations: 12.03 kB / 0.7504 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.4624, allocations: 3.953 kB / 0.7504 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.4625, allocations: 159.1 kB / 0.7505 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.4626, allocations: 12 kB / 0.7505 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.4626, allocations: 4 kB / 0.7505 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002971/0.4629, allocations: 99.81 kB / 0.7506 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.4631, allocations: 61.61 kB / 0.7507 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4631, allocations: 0 / 0.7507 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.4631, allocations: 0 / 0.7507 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.4631, allocations: 4 kB / 0.7507 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002133/0.4634, allocations: 146.1 kB / 0.7508 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.4635, allocations: 74.55 kB / 0.7509 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.194e-05/0.4636, allocations: 20.86 kB / 0.7509 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004406/0.4641, allocations: 401.8 kB / 0.7513 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.4641, allocations: 34.56 kB / 0.7514 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.345e-06/0.4641, allocations: 3.938 kB / 0.7514 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0004733/0.4646, allocations: 89.55 kB / 0.7514 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.4647, allocations: 51.41 kB / 0.7515 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.447e-05/0.4647, allocations: 100.9 kB / 0.7516 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.4648, allocations: 29.7 kB / 0.7516 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.4648, allocations: 80.33 kB / 0.7517 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.4649, allocations: 15.75 kB / 0.7517 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.4649, allocations: 0 / 0.7517 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.465, allocations: 314.8 kB / 0.752 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.561e-05/0.4651, allocations: 19.98 kB / 0.752 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.313e-05/0.4652, allocations: 16 kB / 0.752 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.4654, allocations: 27.97 kB / 0.7521 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.4654, allocations: 3.953 kB / 0.7521 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003442/0.4658, allocations: 97.5 kB / 0.7522 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.4658, allocations: 4 kB / 0.7522 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4658, allocations: 0 / 0.7522 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.4659, allocations: 4 kB / 0.7522 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.4661, allocations: 19.92 kB / 0.7522 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.4661, allocations: 4 kB / 0.7522 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.06e-05/0.4661, allocations: 0 / 0.7522 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.4661, allocations: 8 kB / 0.7522 GB, free: 10.39 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.0001038/0.4663, allocations: 109 kB / 0.7523 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003705/0.4666, allocations: 93.45 kB / 0.7524 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.4667, allocations: 4 kB / 0.7524 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004899/0.4672, allocations: 126.5 kB / 0.7525 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.4672, allocations: 4 kB / 0.7525 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4672, allocations: 0 / 0.7525 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.4672, allocations: 0 / 0.7525 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.4674, allocations: 154.1 kB / 0.7527 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4674, allocations: 0 / 0.7527 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.4676, allocations: 19.98 kB / 0.7527 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.4676, allocations: 4 kB / 0.7527 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.4676, allocations: 0 / 0.7527 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4676, allocations: 0 / 0.7527 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.4676, allocations: 0 / 0.7527 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004989/0.4681, allocations: 129.2 kB / 0.7528 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.666e-05/0.4682, allocations: 85.05 kB / 0.7529 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.4682, allocations: 3.984 kB / 0.7529 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.772e-05/0.4683, allocations: 8 kB / 0.7529 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.4684, allocations: 8 kB / 0.7529 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.4684, allocations: 3.984 kB / 0.7529 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.395e-05/0.4684, allocations: 75.28 kB / 0.753 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.91e-07/0.4685, allocations: 0 / 0.753 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004784/0.469, allocations: 15.94 kB / 0.753 GB, free: 9.469 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.001072/0.47, allocations: 0.688 MB / 0.7537 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.4703, allocations: 47.98 kB / 0.7537 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4703, allocations: 0 / 0.7537 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.4704, allocations: 39.86 kB / 0.7538 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.4706, allocations: 0 / 0.7538 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005931/0.4712, allocations: 125.6 kB / 0.7539 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.4716, allocations: 0.6846 MB / 0.7546 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001969/0.4718, allocations: 39.72 kB / 0.7546 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.863e-05/0.4719, allocations: 19.44 kB / 0.7546 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of SimCode: time 9.51e-07/0.4719, allocations: 0 / 0.7546 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/0.5792, allocations: 1.034 MB / 0.7556 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000312/0.5796, allocations: 153.6 kB / 0.7558 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.078, allocations: 0 / 0.7558 GB, free: 6.52 MB / 0.6355 GB