Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.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.Examples.FallingFactorial,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_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.01044/0.01044, allocations: 90.05 kB / 15.04 MB, free: 5.586 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.001971/0.001971, allocations: 173.6 kB / 15.92 MB, free: 5.559 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.309/2.309, allocations: 205.5 MB / 222.2 MB, free: 13.58 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.371/2.371, allocations: 252.8 MB / 0.511 GB, free: 8.312 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006922/0.0006923, allocations: 13.5 kB / 0.6243 GB, free: 21.02 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2429, allocations: 106.2 MB / 0.728 GB, free: 8.098 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002212/0.2452, allocations: 1.259 MB / 0.7293 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004231/0.2456, allocations: 128.5 kB / 0.7294 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.439e-05/0.2457, allocations: 4 kB / 0.7294 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.9e-05/0.2457, allocations: 3.938 kB / 0.7294 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.862e-05/0.2458, allocations: 0 / 0.7294 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.246, allocations: 23.97 kB / 0.7294 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.315e-05/0.2461, allocations: 19.98 kB / 0.7295 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.894e-05/0.2462, allocations: 15.91 kB / 0.7295 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.309e-05/0.2463, allocations: 11.94 kB / 0.7295 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.824e-05/0.2463, allocations: 19.92 kB / 0.7295 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.2464, allocations: 4 kB / 0.7295 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 7.183e-05/0.2464, allocations: 11.98 kB / 0.7295 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.2465, allocations: 7.984 kB / 0.7295 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.2465, allocations: 25.7 kB / 0.7295 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 9.628e-05/0.2466, allocations: 31.94 kB / 0.7296 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2466, allocations: 4 kB / 0.7296 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.787e-06/0.2466, allocations: 0 / 0.7296 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.2466, allocations: 3.938 kB / 0.7296 GB, free: 6.504 MB / 0.5573 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.0005588/0.2472, allocations: 347.6 kB / 0.7299 GB, free: 6.117 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.2473, allocations: 8.031 kB / 0.7299 GB, free: 6.109 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.2473, allocations: 30.56 kB / 0.73 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.2474, allocations: 7.906 kB / 0.73 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.2475, allocations: 167 kB / 0.7301 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.2475, allocations: 8 kB / 0.7301 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.2476, allocations: 3.984 kB / 0.7301 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.2479, allocations: 69.67 kB / 0.7302 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2479, allocations: 3.938 kB / 0.7302 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.2479, allocations: 0 / 0.7302 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2479, allocations: 0 / 0.7302 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003425/0.2483, allocations: 59.89 kB / 0.7303 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.2488, allocations: 284.7 kB / 0.7305 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005111/0.2493, allocations: 58.64 kB / 0.7306 GB, free: 5.316 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003323/0.2496, allocations: 405.5 kB / 0.731 GB, free: 4.828 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.2497, allocations: 38.5 kB / 0.731 GB, free: 4.781 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.964e-06/0.2497, allocations: 0 / 0.731 GB, free: 4.781 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.000752/0.2505, allocations: 117.6 kB / 0.7311 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.2505, allocations: 51.41 kB / 0.7312 GB, free: 4.598 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.2506, allocations: 113.8 kB / 0.7313 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.2507, allocations: 25.7 kB / 0.7313 GB, free: 4.445 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.2507, allocations: 88.05 kB / 0.7314 GB, free: 4.355 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.2507, allocations: 7.906 kB / 0.7314 GB, free: 4.348 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.2508, allocations: 0 / 0.7314 GB, free: 4.348 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.2509, allocations: 314.8 kB / 0.7317 GB, free: 4.031 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.2511, allocations: 31.97 kB / 0.7317 GB, free: 4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.2512, allocations: 23.92 kB / 0.7317 GB, free: 3.977 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.2514, allocations: 27.97 kB / 0.7318 GB, free: 3.949 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2514, allocations: 0 / 0.7318 GB, free: 3.949 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003956/0.2518, allocations: 85.66 kB / 0.7319 GB, free: 3.859 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.2519, allocations: 4 kB / 0.7319 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2519, allocations: 0 / 0.7319 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.2519, allocations: 0 / 0.7319 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.2521, allocations: 19.98 kB / 0.7319 GB, free: 3.836 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.2521, allocations: 3.953 kB / 0.7319 GB, free: 3.832 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.2522, allocations: 11.98 kB / 0.7319 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.659e-06/0.2522, allocations: 0 / 0.7319 GB, free: 3.82 MB / 0.5573 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 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked 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.000107/0.2524, allocations: 113.8 kB / 0.732 GB, free: 3.699 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.2524, allocations: 3.906 kB / 0.732 GB, free: 3.695 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004583/0.2529, allocations: 97.8 kB / 0.7321 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.2529, allocations: 0 / 0.7321 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2529, allocations: 384 / 0.7321 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.2529, allocations: 3.953 kB / 0.7321 GB, free: 3.586 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.2532, allocations: 165.7 kB / 0.7323 GB, free: 3.375 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2532, allocations: 0 / 0.7323 GB, free: 3.375 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.2534, allocations: 19.98 kB / 0.7323 GB, free: 3.355 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.373e-06/0.2534, allocations: 3.984 kB / 0.7323 GB, free: 3.352 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.2534, allocations: 7.984 kB / 0.7323 GB, free: 3.344 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.2534, allocations: 3.984 kB / 0.7323 GB, free: 3.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2534, allocations: 3.938 kB / 0.7323 GB, free: 3.336 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004441/0.2539, allocations: 191.3 kB / 0.7325 GB, free: 3.133 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.254, allocations: 85.02 kB / 0.7326 GB, free: 3.031 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.254, allocations: 3.984 kB / 0.7326 GB, free: 3.027 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.2542, allocations: 8 kB / 0.7326 GB, free: 3.02 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.2542, allocations: 7.984 kB / 0.7326 GB, free: 3.012 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.2543, allocations: 0 / 0.7326 GB, free: 3.012 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.192e-05/0.2543, allocations: 91.27 kB / 0.7327 GB, free: 2.922 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2543, allocations: 4 kB / 0.7327 GB, free: 2.918 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003225/0.2547, allocations: 8 kB / 0.7327 GB, free: 2.91 MB / 0.5573 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 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked 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.0007907/0.2555, allocations: 0.7241 MB / 0.7334 GB, free: 2.16 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003798/0.2559, allocations: 55.95 kB / 0.7334 GB, free: 2.105 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.2559, allocations: 4 kB / 0.7334 GB, free: 2.102 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.2561, allocations: 27.98 kB / 0.7335 GB, free: 2.074 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.2563, allocations: 0 / 0.7335 GB, free: 2.074 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.2577, allocations: 465.5 kB / 0.7339 GB, free: 1.578 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.258, allocations: 0.6887 MB / 0.7346 GB, free: 0.8633 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.66e-05/0.2581, allocations: 4 kB / 0.7346 GB, free: 0.8594 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/0.2581, allocations: 19.42 kB / 0.7346 GB, free: 0.8398 MB / 0.5573 GB Notification: Performance of SimCode: time 8.41e-07/0.2581, allocations: 0 / 0.7346 GB, free: 0.8398 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.2779, allocations: 1.388 MB / 0.736 GB, free: 15.55 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003174/0.2783, allocations: 185.5 kB / 0.7361 GB, free: 15.32 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.551/2.829, allocations: 3.938 kB / 0.7361 GB, free: 15.31 MB / 0.573 GB