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 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.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01126/0.01126, allocations: 106.3 kB / 15.05 MB, free: 6 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.001845/0.001845, allocations: 184 kB / 15.95 MB, free: 5.941 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 1.987/1.987, allocations: 194.5 MB / 211.3 MB, free: 11.01 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.235/2.235, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006536/0.0006537, allocations: 16 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6675/0.6682, allocations: 98.72 MB / 0.6834 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2405/0.9088, allocations: 123.9 MB / 0.8044 GB, free: 2.262 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.9092, allocations: 75.95 kB / 0.8045 GB, free: 2.188 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002942/0.9122, allocations: 0.8242 MB / 0.8053 GB, free: 1.359 MB / 0.6198 GB Notification: Performance of FrontEnd: time 5.24e-06/0.9122, allocations: 0 / 0.8053 GB, free: 1.359 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.9122, allocations: 7.938 kB / 0.8053 GB, free: 1.352 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004024/0.9126, allocations: 331.4 kB / 0.8056 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.9127, allocations: 12.03 kB / 0.8056 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.047e-05/0.9128, allocations: 42.55 kB / 0.8057 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.9128, allocations: 7.938 kB / 0.8057 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.9129, allocations: 163 kB / 0.8058 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.913, allocations: 0 / 0.8058 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.913, allocations: 4 kB / 0.8059 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.9132, allocations: 61.66 kB / 0.8059 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.9132, allocations: 0 / 0.8059 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.9133, allocations: 4 kB / 0.8059 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.9133, allocations: 4 kB / 0.8059 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/0.9135, allocations: 99.81 kB / 0.806 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002567/0.9138, allocations: 185.5 kB / 0.8062 GB, free: 312 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.914, allocations: 70.55 kB / 0.8063 GB, free: 232 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000444/0.9144, allocations: 405.5 kB / 0.8066 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.9145, allocations: 38.56 kB / 0.8067 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.315e-06/0.9145, allocations: 0 / 0.8067 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003988/0.9149, allocations: 113.9 kB / 0.8068 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.915, allocations: 59.41 kB / 0.8068 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.702e-05/0.915, allocations: 88.91 kB / 0.8069 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.9151, allocations: 29.7 kB / 0.807 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.9151, allocations: 84.31 kB / 0.807 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.47e-05/0.9152, allocations: 19.75 kB / 0.8071 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.9152, allocations: 0 / 0.8071 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.9153, allocations: 318.8 kB / 0.8074 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.58e-05/0.9154, allocations: 19.98 kB / 0.8074 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-05/0.9155, allocations: 24.36 kB / 0.8074 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.204e-05/0.9156, allocations: 31.94 kB / 0.8074 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.9156, allocations: 0 / 0.8074 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002425/0.9159, allocations: 97.45 kB / 0.8075 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.9159, allocations: 5.406 kB / 0.8075 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.9159, allocations: 7.984 kB / 0.8075 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.9159, allocations: 0 / 0.8075 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.9161, allocations: 16 kB / 0.8076 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.9161, allocations: 0 / 0.8076 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.161e-05/0.9162, allocations: 0 / 0.8076 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.9162, allocations: 7.984 kB / 0.8076 GB, free: 14.73 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 () * 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.0001459/0.9164, allocations: 125.8 kB / 0.8077 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.9164, allocations: 7.844 kB / 0.8077 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003586/0.9168, allocations: 127.2 kB / 0.8078 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.9168, allocations: 4 kB / 0.8078 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.9168, allocations: 0 / 0.8078 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.9168, allocations: 3.938 kB / 0.8078 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.917, allocations: 177.6 kB / 0.808 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.917, allocations: 7.938 kB / 0.808 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.9172, allocations: 16 kB / 0.808 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.9172, allocations: 0 / 0.808 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.9172, allocations: 4 kB / 0.808 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.9172, allocations: 7.922 kB / 0.808 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.9172, allocations: 0 / 0.808 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.9175, allocations: 113.4 kB / 0.8081 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.409e-05/0.9176, allocations: 88.97 kB / 0.8082 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.9176, allocations: 11.98 kB / 0.8082 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.542e-05/0.9176, allocations: 0 / 0.8082 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.9177, allocations: 4 kB / 0.8082 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.9177, allocations: 11.97 kB / 0.8082 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.939e-05/0.9177, allocations: 75.28 kB / 0.8083 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.3e-07/0.9178, allocations: 0 / 0.8083 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002882/0.918, allocations: 19.94 kB / 0.8083 GB, free: 13.84 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 () * 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.0007283/0.9188, allocations: 0.6787 MB / 0.809 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.919, allocations: 68.48 kB / 0.8091 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.9191, allocations: 0 / 0.8091 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.656e-05/0.9192, allocations: 32.2 kB / 0.8091 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/0.9193, allocations: 224 / 0.8091 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005438/0.9198, allocations: 194.7 kB / 0.8093 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.9202, allocations: 0.6848 MB / 0.8099 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001519/0.9203, allocations: 35.94 kB / 0.81 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/0.9204, allocations: 27.36 kB / 0.81 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of SimCode: time 1.413e-06/0.9204, allocations: 0 / 0.81 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/0.9427, allocations: 1.313 MB / 0.8113 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003276/0.9431, allocations: 200 kB / 0.8115 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/3.456, allocations: 0 / 0.8115 GB, free: 10.58 MB / 0.6355 GB