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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01126/0.01126, allocations: 107.9 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001181/0.001181, allocations: 178.8 kB / 15.94 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.091/2.091, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.232/2.232, allocations: 236.1 MB / 492.6 MB, free: 11.42 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004854/0.0004858, allocations: 16 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6863/0.6868, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2232/0.9101, allocations: 124.9 MB / 0.8054 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.9104, allocations: 67.97 kB / 0.8055 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004299/0.9147, allocations: 1.029 MB / 0.8065 GB, free: 288 kB / 0.6198 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9148, allocations: 0 / 0.8065 GB, free: 288 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.9148, allocations: 0 / 0.8065 GB, free: 288 kB / 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.0006079/0.9154, allocations: 355.3 kB / 0.8068 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/0.9155, allocations: 12.03 kB / 0.8068 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.553e-05/0.9156, allocations: 34.5 kB / 0.8069 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.9156, allocations: 7.906 kB / 0.8069 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.9158, allocations: 175 kB / 0.807 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.9158, allocations: 0 / 0.807 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.9159, allocations: 4 kB / 0.807 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.9162, allocations: 65.66 kB / 0.8071 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.9162, allocations: 0 / 0.8071 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.9163, allocations: 4 kB / 0.8071 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.9163, allocations: 0 / 0.8071 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.9166, allocations: 59.89 kB / 0.8072 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.9171, allocations: 284.7 kB / 0.8074 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004913/0.9177, allocations: 66.53 kB / 0.8075 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003472/0.918, allocations: 401.7 kB / 0.8079 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.9181, allocations: 34.5 kB / 0.8079 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.866e-06/0.9181, allocations: 0 / 0.8079 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0007627/0.9188, allocations: 113.6 kB / 0.808 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/0.9189, allocations: 51.41 kB / 0.8081 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.9191, allocations: 105 kB / 0.8082 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.9192, allocations: 25.7 kB / 0.8082 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.9194, allocations: 92.05 kB / 0.8083 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.9194, allocations: 7.891 kB / 0.8083 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/0.9194, allocations: 0 / 0.8083 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002076/0.9197, allocations: 314.8 kB / 0.8086 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.92, allocations: 27.92 kB / 0.8086 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.9202, allocations: 31.91 kB / 0.8086 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.9204, allocations: 23.98 kB / 0.8087 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.9204, allocations: 0 / 0.8087 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004104/0.9208, allocations: 89.64 kB / 0.8088 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.9209, allocations: 8 kB / 0.8088 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.9209, allocations: 0 / 0.8088 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.9209, allocations: 0 / 0.8088 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.9211, allocations: 11.98 kB / 0.8088 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.9211, allocations: 7.953 kB / 0.8088 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.9212, allocations: 15.94 kB / 0.8088 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.9212, allocations: 4 kB / 0.8088 GB, free: 13.59 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 () * 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.0001033/0.9214, allocations: 113.8 kB / 0.8089 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.9214, allocations: 7.906 kB / 0.8089 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004417/0.9218, allocations: 97.48 kB / 0.809 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.9219, allocations: 0 / 0.809 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.9219, allocations: 0 / 0.809 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.9219, allocations: 3.953 kB / 0.809 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.9221, allocations: 169.7 kB / 0.8092 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.9221, allocations: 0 / 0.8092 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.9223, allocations: 11.98 kB / 0.8092 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.9223, allocations: 4 kB / 0.8092 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.9223, allocations: 4 kB / 0.8092 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.9223, allocations: 0 / 0.8092 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9224, allocations: 0 / 0.8092 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004352/0.9228, allocations: 187.8 kB / 0.8094 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.9229, allocations: 89.02 kB / 0.8095 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.9229, allocations: 0 / 0.8095 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.923, allocations: 7.984 kB / 0.8095 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.9231, allocations: 4.047 kB / 0.8095 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.9231, allocations: 7.969 kB / 0.8095 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.026e-05/0.9232, allocations: 87.59 kB / 0.8096 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.91e-07/0.9233, allocations: 0 / 0.8096 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003189/0.9236, allocations: 23.88 kB / 0.8096 GB, free: 12.68 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 () * 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.0008605/0.9245, allocations: 0.7305 MB / 0.8103 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003975/0.9249, allocations: 67.88 kB / 0.8104 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.9249, allocations: 0 / 0.8104 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.9251, allocations: 31.98 kB / 0.8104 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.9254, allocations: 3.938 kB / 0.8104 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.9268, allocations: 455.9 kB / 0.8108 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.927, allocations: 0.6925 MB / 0.8115 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.013e-05/0.9271, allocations: 12.22 kB / 0.8115 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.9272, allocations: 15.44 kB / 0.8115 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of SimCode: time 9.42e-07/0.9272, allocations: 0 / 0.8115 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.9464, allocations: 1.376 MB / 0.8129 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003003/0.9467, allocations: 185.3 kB / 0.8131 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.417/3.364, allocations: 0 / 0.8131 GB, free: 9.074 MB / 0.6355 GB