Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.0109/0.0109, allocations: 87.98 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001239/0.001239, allocations: 172.5 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.316/2.316, allocations: 205.5 MB / 222.2 MB, free: 13.74 MB / 186.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.468/2.468, allocations: 252.8 MB / 0.511 GB, free: 8.383 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0007578/0.0007579, allocations: 20.34 kB / 0.6243 GB, free: 21.18 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2674, allocations: 106.2 MB / 0.7281 GB, free: 8.16 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001132/0.2686, allocations: 332.9 kB / 0.7284 GB, free: 7.832 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.0003545/0.269, allocations: 61.38 kB / 0.7285 GB, free: 7.773 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.972e-05/0.269, allocations: 0 / 0.7285 GB, free: 7.773 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 5.727e-05/0.2691, allocations: 0 / 0.7285 GB, free: 7.773 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 8.155e-06/0.2691, allocations: 0 / 0.7285 GB, free: 7.773 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.2695, allocations: 11.98 kB / 0.7285 GB, free: 7.762 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.2696, allocations: 23.97 kB / 0.7285 GB, free: 7.738 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 5.758e-05/0.2697, allocations: 0 / 0.7285 GB, free: 7.738 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 4.306e-05/0.2697, allocations: 11.98 kB / 0.7285 GB, free: 7.727 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 5.566e-05/0.2698, allocations: 11.98 kB / 0.7285 GB, free: 7.715 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.2698, allocations: 7.938 kB / 0.7285 GB, free: 7.707 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.27, allocations: 11.98 kB / 0.7285 GB, free: 7.695 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 4.036e-05/0.27, allocations: 15.98 kB / 0.7285 GB, free: 7.68 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 4.437e-05/0.2701, allocations: 25.7 kB / 0.7286 GB, free: 7.648 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.2702, allocations: 23.97 kB / 0.7286 GB, free: 7.625 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2702, allocations: 0 / 0.7286 GB, free: 7.625 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.935e-06/0.2702, allocations: 0 / 0.7286 GB, free: 7.625 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2703, allocations: 4 kB / 0.7286 GB, free: 7.621 MB / 0.5574 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.0004982/0.2708, allocations: 323.4 kB / 0.7289 GB, free: 7.258 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 6.432e-05/0.2709, allocations: 12.02 kB / 0.7289 GB, free: 7.246 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.662e-05/0.271, allocations: 34.56 kB / 0.7289 GB, free: 7.203 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.271, allocations: 4 kB / 0.7289 GB, free: 7.199 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.2712, allocations: 175.2 kB / 0.7291 GB, free: 6.988 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.2713, allocations: 8 kB / 0.7291 GB, free: 6.98 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.2713, allocations: 0 / 0.7291 GB, free: 6.98 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.2716, allocations: 65.66 kB / 0.7292 GB, free: 6.91 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.2716, allocations: 0 / 0.7292 GB, free: 6.91 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.2716, allocations: 0 / 0.7292 GB, free: 6.91 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.2717, allocations: 0 / 0.7292 GB, free: 6.91 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000343/0.272, allocations: 99.88 kB / 0.7293 GB, free: 6.812 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.2724, allocations: 177.5 kB / 0.7295 GB, free: 6.59 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.2727, allocations: 78.48 kB / 0.7295 GB, free: 6.504 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006276/0.2733, allocations: 405.8 kB / 0.7299 GB, free: 6.016 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.2734, allocations: 30.56 kB / 0.7299 GB, free: 5.977 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=11): time 2.966e-06/0.2734, allocations: 3.938 kB / 0.7299 GB, free: 5.973 MB / 0.5574 GB Notification: Performance of matching and sorting (n=11): time 0.0005234/0.2739, allocations: 109.6 kB / 0.7301 GB, free: 5.859 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.274, allocations: 55.34 kB / 0.7301 GB, free: 5.793 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.836e-05/0.2741, allocations: 101.8 kB / 0.7302 GB, free: 5.684 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.2742, allocations: 33.7 kB / 0.7302 GB, free: 5.645 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.2742, allocations: 84.31 kB / 0.7303 GB, free: 5.555 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 6.001e-05/0.2743, allocations: 19.75 kB / 0.7303 GB, free: 5.535 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/0.2744, allocations: 4 kB / 0.7303 GB, free: 5.531 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.2746, allocations: 314.8 kB / 0.7306 GB, free: 5.215 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.785e-05/0.2747, allocations: 19.98 kB / 0.7307 GB, free: 5.195 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.23e-05/0.2748, allocations: 23.92 kB / 0.7307 GB, free: 5.172 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.2749, allocations: 27.98 kB / 0.7307 GB, free: 5.145 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.275, allocations: 0 / 0.7307 GB, free: 5.145 MB / 0.5574 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003305/0.2753, allocations: 94.23 kB / 0.7308 GB, free: 5.047 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.2753, allocations: 10.48 kB / 0.7308 GB, free: 5.039 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2754, allocations: 0 / 0.7308 GB, free: 5.039 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.2754, allocations: 0 / 0.7308 GB, free: 5.039 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.2756, allocations: 23.94 kB / 0.7308 GB, free: 5.016 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2757, allocations: 0 / 0.7308 GB, free: 5.016 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.387e-05/0.2757, allocations: 4 kB / 0.7308 GB, free: 5.012 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.2758, allocations: 11.92 kB / 0.7308 GB, free: 5 MB / 0.5574 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.0002139/0.276, allocations: 125.8 kB / 0.731 GB, free: 4.867 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.276, allocations: 11.89 kB / 0.731 GB, free: 4.855 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004636/0.2765, allocations: 125.7 kB / 0.7311 GB, free: 4.723 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.2765, allocations: 0 / 0.7311 GB, free: 4.723 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.2766, allocations: 0 / 0.7311 GB, free: 4.723 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2766, allocations: 0 / 0.7311 GB, free: 4.723 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.2768, allocations: 181.5 kB / 0.7313 GB, free: 4.496 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2769, allocations: 0 / 0.7313 GB, free: 4.496 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.2771, allocations: 12 kB / 0.7313 GB, free: 4.484 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.2771, allocations: 8 kB / 0.7313 GB, free: 4.477 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.2772, allocations: 7.984 kB / 0.7313 GB, free: 4.469 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.2772, allocations: 0 / 0.7313 GB, free: 4.469 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2772, allocations: 0 / 0.7313 GB, free: 4.469 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.2775, allocations: 121.4 kB / 0.7314 GB, free: 4.332 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 8.57e-05/0.2777, allocations: 88.95 kB / 0.7315 GB, free: 4.227 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.2777, allocations: 0 / 0.7315 GB, free: 4.227 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.131e-05/0.2777, allocations: 4 kB / 0.7315 GB, free: 4.223 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.2778, allocations: 19.97 kB / 0.7315 GB, free: 4.203 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.2779, allocations: 0 / 0.7315 GB, free: 4.203 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 4.604e-05/0.2779, allocations: 75.28 kB / 0.7316 GB, free: 4.129 MB / 0.5574 GB Notification: Performance of sort global known variables: time 4.5e-07/0.2779, allocations: 0 / 0.7316 GB, free: 4.129 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0004805/0.2784, allocations: 16 kB / 0.7316 GB, free: 4.113 MB / 0.5574 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.001002/0.2794, allocations: 0.6825 MB / 0.7323 GB, free: 3.402 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0002864/0.2798, allocations: 55.95 kB / 0.7323 GB, free: 3.348 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.2798, allocations: 0 / 0.7323 GB, free: 3.348 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.2799, allocations: 35.92 kB / 0.7324 GB, free: 3.312 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.2801, allocations: 7.938 kB / 0.7324 GB, free: 3.305 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007246/0.2809, allocations: 184.3 kB / 0.7325 GB, free: 3.086 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.2813, allocations: 0.6848 MB / 0.7332 GB, free: 2.375 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0001992/0.2815, allocations: 35.94 kB / 0.7332 GB, free: 2.34 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.185e-05/0.2816, allocations: 19.42 kB / 0.7333 GB, free: 2.32 MB / 0.5574 GB Notification: Performance of SimCode: time 1.312e-06/0.2816, allocations: 0 / 0.7333 GB, free: 2.32 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.3052, allocations: 1.318 MB / 0.7345 GB, free: 1.102 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004358/0.3057, allocations: 201.3 kB / 0.7347 GB, free: 0.8555 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.537/2.843, allocations: 0 / 0.7347 GB, free: 0.8555 MB / 0.5574 GB