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.Binomial.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.234/4.234, allocations: 433.2 MB / 440.7 MB, free: 4.605 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.591e-05/2.618e-05, allocations: 5.906 kB / 0.5325 GB, free: 12.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2159, allocations: 98.73 MB / 0.6289 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2521/0.468, allocations: 124.4 MB / 0.7504 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003587/0.4685, allocations: 71.95 kB / 0.7505 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007824/0.4763, allocations: 1.305 MB / 0.7517 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4764, allocations: 7.875 kB / 0.7517 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.4764, allocations: 0 / 0.7517 GB, free: 11.21 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006894/0.4771, allocations: 350.4 kB / 0.7521 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.4772, allocations: 8.031 kB / 0.7521 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.4773, allocations: 7.859 kB / 0.7521 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.4775, allocations: 171.1 kB / 0.7523 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.4775, allocations: 0 / 0.7523 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.4775, allocations: 4 kB / 0.7523 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001365/0.4777, allocations: 23.94 kB / 0.7523 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.4779, allocations: 41.69 kB / 0.7523 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4779, allocations: 3.938 kB / 0.7523 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.4779, allocations: 0 / 0.7523 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.478, allocations: 4 kB / 0.7523 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006048/0.4786, allocations: 261.4 kB / 0.7526 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004877/0.4791, allocations: 38.56 kB / 0.7526 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.216e-05/0.4792, allocations: 12.92 kB / 0.7526 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006725/0.4799, allocations: 405.6 kB / 0.753 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.4799, allocations: 42.5 kB / 0.7531 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.465e-06/0.4799, allocations: 0 / 0.7531 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0007013/0.4807, allocations: 65.53 kB / 0.7531 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.4807, allocations: 55.41 kB / 0.7532 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.4809, allocations: 96.98 kB / 0.7533 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.4809, allocations: 25.7 kB / 0.7533 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.376e-05/0.481, allocations: 80.14 kB / 0.7534 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.481, allocations: 7.906 kB / 0.7534 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-06/0.4811, allocations: 0 / 0.7534 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.4813, allocations: 318.8 kB / 0.7537 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.294e-05/0.4813, allocations: 11.98 kB / 0.7537 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.191e-05/0.4814, allocations: 7.938 kB / 0.7537 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/0.4818, allocations: 19.98 kB / 0.7537 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.4818, allocations: 0 / 0.7537 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005694/0.4824, allocations: 69.52 kB / 0.7538 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.4825, allocations: 4 kB / 0.7538 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4825, allocations: 0 / 0.7538 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.4825, allocations: 0 / 0.7538 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.4828, allocations: 19.98 kB / 0.7538 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.4828, allocations: 0 / 0.7538 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.483, allocations: 11.94 kB / 0.7538 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.483, allocations: 4.25 kB / 0.7538 GB, free: 8.785 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 (bin.y,bin.k) * Number of discrete 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.000135/0.4831, allocations: 101.7 kB / 0.7539 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005838/0.4837, allocations: 69.66 kB / 0.754 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.4838, allocations: 0 / 0.754 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005181/0.4844, allocations: 85.88 kB / 0.7541 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4844, allocations: 3.953 kB / 0.7541 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4844, allocations: 0 / 0.7541 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4844, allocations: 4 kB / 0.7541 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.4847, allocations: 146.1 kB / 0.7542 GB, free: 8.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4848, allocations: 0 / 0.7542 GB, free: 8.328 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.485, allocations: 15.98 kB / 0.7542 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.485, allocations: 0 / 0.7542 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.485, allocations: 0 / 0.7542 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.485, allocations: 4 kB / 0.7542 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4851, allocations: 0 / 0.7542 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006064/0.4857, allocations: 163.4 kB / 0.7544 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.431e-05/0.4858, allocations: 77.11 kB / 0.7545 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.4858, allocations: 3.984 kB / 0.7545 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.4861, allocations: 8 kB / 0.7545 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.687e-05/0.4862, allocations: 7.984 kB / 0.7545 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.4862, allocations: 11.94 kB / 0.7545 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.008e-05/0.4863, allocations: 75.28 kB / 0.7546 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.31e-07/0.4863, allocations: 0 / 0.7546 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006793/0.487, allocations: 35.88 kB / 0.7546 GB, free: 7.898 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 (bin.y,bin.k) * Number of discrete 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.001404/0.4884, allocations: 0.7168 MB / 0.7553 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001634/0.4886, allocations: 20 kB / 0.7553 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.207e-06/0.4887, allocations: 0 / 0.7553 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.855e-05/0.4888, allocations: 15.98 kB / 0.7553 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.4891, allocations: 0 / 0.7553 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007503/0.4899, allocations: 105.5 kB / 0.7554 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.4904, allocations: 0.6846 MB / 0.7561 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.543e-05/0.4905, allocations: 8 kB / 0.7561 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.81e-05/0.4906, allocations: 15.42 kB / 0.7561 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of SimCode: time 1.092e-06/0.4906, allocations: 3.938 kB / 0.7561 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07994/0.5705, allocations: 1.225 MB / 0.7573 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/0.5708, allocations: 130.2 kB / 0.7574 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/2.826, allocations: 0 / 0.7574 GB, free: 4.836 MB / 0.6355 GB