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.Binomial.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.422/4.422, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.051e-05/5.066e-05, allocations: 7.266 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2255, allocations: 98.73 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.242/0.4675, allocations: 124.1 MB / 0.7559 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/0.4679, allocations: 79.94 kB / 0.756 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005616/0.4735, allocations: 1.21 MB / 0.7572 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.545e-06/0.4736, allocations: 0 / 0.7572 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.4736, allocations: 0 / 0.7572 GB, free: 4.328 MB / 0.6355 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.0006458/0.4743, allocations: 354.4 kB / 0.7575 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/0.4744, allocations: 8.031 kB / 0.7575 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.337e-05/0.4744, allocations: 50.48 kB / 0.7576 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.4745, allocations: 4 kB / 0.7576 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.4746, allocations: 171 kB / 0.7578 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003564/0.475, allocations: 281 kB / 0.758 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.475, allocations: 4 kB / 0.758 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.4753, allocations: 73.64 kB / 0.7581 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4753, allocations: 3.938 kB / 0.7581 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.4753, allocations: 0 / 0.7581 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4753, allocations: 0 / 0.7581 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.4757, allocations: 123.8 kB / 0.7582 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002635/0.476, allocations: 177.5 kB / 0.7584 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.4762, allocations: 82.56 kB / 0.7585 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.4763, allocations: 33.17 kB / 0.7585 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.4764, allocations: 3.938 kB / 0.7585 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.4764, allocations: 38.5 kB / 0.7585 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.465e-06/0.4764, allocations: 0 / 0.7585 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003482/0.4768, allocations: 101.6 kB / 0.7586 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.4768, allocations: 51.41 kB / 0.7587 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.443e-05/0.4769, allocations: 85 kB / 0.7588 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.4769, allocations: 33.7 kB / 0.7588 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.477, allocations: 84.31 kB / 0.7589 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.006e-05/0.4771, allocations: 31.47 kB / 0.7589 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.34e-05/0.4771, allocations: 4 kB / 0.7589 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4773, allocations: 318.8 kB / 0.7592 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.864e-05/0.4774, allocations: 27.98 kB / 0.7592 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.325e-05/0.4775, allocations: 23.94 kB / 0.7593 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.739e-05/0.4776, allocations: 28.3 kB / 0.7593 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4776, allocations: 0 / 0.7593 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002665/0.4779, allocations: 101.5 kB / 0.7594 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.4779, allocations: 8 kB / 0.7594 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4779, allocations: 0 / 0.7594 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.478, allocations: 0 / 0.7594 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.4783, allocations: 27.97 kB / 0.7594 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.4783, allocations: 4 kB / 0.7594 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.4784, allocations: 11.84 kB / 0.7594 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.4785, allocations: 7.984 kB / 0.7594 GB, free: 1.734 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: 1 (n) * Number of discrete 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.0001124/0.4786, allocations: 116.9 kB / 0.7596 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.4786, allocations: 4 kB / 0.7596 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/0.4787, allocations: 8.094 kB / 0.7596 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.4787, allocations: 4 kB / 0.7596 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.4788, allocations: 0 / 0.7596 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4788, allocations: 0 / 0.7596 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.4791, allocations: 189.5 kB / 0.7598 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4791, allocations: 0 / 0.7598 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003111/0.4794, allocations: 23.97 kB / 0.7598 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.4794, allocations: 0 / 0.7598 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.4795, allocations: 4 kB / 0.7598 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4795, allocations: 4 kB / 0.7598 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.4795, allocations: 3.984 kB / 0.7598 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.4799, allocations: 129 kB / 0.7599 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.48, allocations: 84.97 kB / 0.76 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.48, allocations: 8 kB / 0.76 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.4802, allocations: 0 / 0.76 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.4803, allocations: 15.97 kB / 0.76 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.4804, allocations: 3.984 kB / 0.76 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.169e-05/0.4804, allocations: 83.28 kB / 0.7601 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4804, allocations: 0 / 0.7601 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000539/0.481, allocations: 24 kB / 0.7601 GB, free: 0.9492 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: 1 (n) * Number of discrete 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.001022/0.482, allocations: 0.6942 MB / 0.7608 GB, free: 228 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003292/0.4824, allocations: 67.97 kB / 0.7609 GB, free: 160 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4824, allocations: 3.938 kB / 0.7609 GB, free: 156 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.4826, allocations: 47.91 kB / 0.7609 GB, free: 108 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.4828, allocations: 5.375 kB / 0.7609 GB, free: 104 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000773/0.4836, allocations: 144.3 kB / 0.7611 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.484, allocations: 0.6887 MB / 0.7617 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003216/0.4843, allocations: 43.73 kB / 0.7618 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.4844, allocations: 23.42 kB / 0.7618 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of SimCode: time 3.887e-06/0.4845, allocations: 0 / 0.7618 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0898/0.5743, allocations: 1.749 MB / 0.7635 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003024/0.5747, allocations: 168.4 kB / 0.7637 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.484/3.059, allocations: 0 / 0.7637 GB, free: 13.23 MB / 0.6511 GB