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.01256/0.01256, allocations: 108.1 kB / 15.06 MB, free: 5.555 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.001433/0.001433, allocations: 183.1 kB / 15.95 MB, free: 5.52 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.014/2.014, allocations: 194.6 MB / 211.3 MB, free: 10.95 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.241/2.241, allocations: 236.1 MB / 492.6 MB, free: 11.22 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006332/0.0006333, allocations: 12 kB / 0.587 GB, free: 1.969 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6411/0.6417, allocations: 98.72 MB / 0.6834 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001982/0.6438, allocations: 1.223 MB / 0.6846 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0004299/0.6442, allocations: 125.6 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/0.6443, allocations: 1.156 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.6443, allocations: 4.594 kB / 0.6848 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.114e-05/0.6444, allocations: 4.734 kB / 0.6848 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.6447, allocations: 20.22 kB / 0.6848 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.074e-05/0.6448, allocations: 22.31 kB / 0.6848 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.6449, allocations: 11.97 kB / 0.6848 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.431e-05/0.6449, allocations: 14.58 kB / 0.6848 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.23e-05/0.645, allocations: 21.2 kB / 0.6848 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.645, allocations: 0 / 0.6848 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.688e-05/0.6451, allocations: 10.58 kB / 0.6849 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.6451, allocations: 7.25 kB / 0.6849 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.6452, allocations: 28.55 kB / 0.6849 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.6453, allocations: 28.25 kB / 0.6849 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.6453, allocations: 3.938 kB / 0.6849 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6453, allocations: 0 / 0.6849 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.6453, allocations: 4 kB / 0.6849 GB, free: 15.7 MB / 0.5261 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.0004997/0.6458, allocations: 350.1 kB / 0.6853 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.6459, allocations: 14.22 kB / 0.6853 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.3e-05/0.6459, allocations: 32.16 kB / 0.6853 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.646, allocations: 2.25 kB / 0.6853 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.6461, allocations: 174.6 kB / 0.6855 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.6462, allocations: 5.25 kB / 0.6855 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.6462, allocations: 7.5 kB / 0.6855 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.6465, allocations: 65.31 kB / 0.6855 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.6465, allocations: 0.7031 kB / 0.6855 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.6465, allocations: 0 / 0.6855 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.6466, allocations: 1.188 kB / 0.6855 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000339/0.6469, allocations: 65.73 kB / 0.6856 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.6474, allocations: 276.3 kB / 0.6859 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005069/0.6479, allocations: 74.88 kB / 0.6859 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002686/0.6482, allocations: 398.7 kB / 0.6863 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.6482, allocations: 30.56 kB / 0.6863 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 2.475e-06/0.6482, allocations: 1.219 kB / 0.6864 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0006507/0.6489, allocations: 115.4 kB / 0.6865 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.649, allocations: 51.97 kB / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.276e-05/0.6491, allocations: 106.9 kB / 0.6866 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.6491, allocations: 26.86 kB / 0.6866 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.6491, allocations: 90.91 kB / 0.6867 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.6492, allocations: 12.88 kB / 0.6867 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-06/0.6492, allocations: 0 / 0.6867 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.436e-05/0.6492, allocations: 322.8 kB / 0.687 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.6494, allocations: 28.66 kB / 0.6871 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.6496, allocations: 20.48 kB / 0.6871 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.6498, allocations: 30.12 kB / 0.6871 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6498, allocations: 0 / 0.6871 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003969/0.6502, allocations: 83.16 kB / 0.6872 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.6502, allocations: 10.64 kB / 0.6872 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.6502, allocations: 0 / 0.6872 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.6503, allocations: 0.7969 kB / 0.6872 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.6504, allocations: 13.44 kB / 0.6872 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.6504, allocations: 3.953 kB / 0.6872 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.6506, allocations: 10.12 kB / 0.6872 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.6506, allocations: 6.562 kB / 0.6872 GB, free: 13.45 MB / 0.5261 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 7.996e-05/0.6507, allocations: 115.7 kB / 0.6874 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.6507, allocations: 10.56 kB / 0.6874 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/0.6511, allocations: 88.66 kB / 0.6874 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.6512, allocations: 1.062 kB / 0.6874 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.6512, allocations: 4 kB / 0.6875 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.6512, allocations: 5.609 kB / 0.6875 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.6514, allocations: 170.2 kB / 0.6876 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6514, allocations: 0 / 0.6876 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.6515, allocations: 13.36 kB / 0.6876 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.6516, allocations: 1.375 kB / 0.6876 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.6516, allocations: 0.6562 kB / 0.6876 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.6516, allocations: 1.156 kB / 0.6876 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6516, allocations: 0.75 kB / 0.6876 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000389/0.652, allocations: 197.5 kB / 0.6878 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.652, allocations: 86.36 kB / 0.6879 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.6521, allocations: 1.594 kB / 0.6879 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.6522, allocations: 13.05 kB / 0.6879 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/0.6523, allocations: 4.797 kB / 0.6879 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.6523, allocations: 5.281 kB / 0.6879 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.387e-05/0.6524, allocations: 87.52 kB / 0.688 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.6e-07/0.6524, allocations: 0 / 0.688 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003219/0.6527, allocations: 8.812 kB / 0.688 GB, free: 12.71 MB / 0.5261 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.0006533/0.6534, allocations: 0.7306 MB / 0.6887 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003748/0.6538, allocations: 58.14 kB / 0.6888 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6538, allocations: 0 / 0.6888 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.654, allocations: 30.25 kB / 0.6888 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.6542, allocations: 2.797 kB / 0.6888 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.6555, allocations: 461.6 kB / 0.6893 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.6556, allocations: 0.6881 MB / 0.6899 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.771e-05/0.6557, allocations: 7.406 kB / 0.6899 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.6558, allocations: 14.89 kB / 0.69 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of SimCode: time 1.272e-06/0.6558, allocations: 0 / 0.69 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.6787, allocations: 1.388 MB / 0.6913 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.679, allocations: 186.7 kB / 0.6915 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/3.015, allocations: 0 / 0.6915 GB, free: 10.5 MB / 0.5261 GB