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/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.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.441/4.441, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.582e-05/3.591e-05, allocations: 5.375 kB / 0.5383 GB, free: 10.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2363, allocations: 98.73 MB / 0.6347 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2564/0.4927, allocations: 125.1 MB / 0.7569 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003401/0.4931, allocations: 75.94 kB / 0.7569 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007751/0.5009, allocations: 1.301 MB / 0.7582 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5009, allocations: 3.938 kB / 0.7582 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.449e-05/0.501, allocations: 0 / 0.7582 GB, free: 3.285 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.0007034/0.5017, allocations: 350.5 kB / 0.7585 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/0.5018, allocations: 8.031 kB / 0.7585 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.961e-05/0.5019, allocations: 42.56 kB / 0.7586 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.5019, allocations: 7.891 kB / 0.7586 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.5021, allocations: 167 kB / 0.7587 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.5021, allocations: 0 / 0.7587 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.5022, allocations: 7.938 kB / 0.7588 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.5024, allocations: 49.69 kB / 0.7588 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.5024, allocations: 0 / 0.7588 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.5024, allocations: 3.984 kB / 0.7588 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.5025, allocations: 0 / 0.7588 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.5026, allocations: 23.94 kB / 0.7588 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006429/0.5033, allocations: 284.8 kB / 0.7591 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004561/0.5037, allocations: 42.56 kB / 0.7591 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.5039, allocations: 16.92 kB / 0.7592 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006465/0.5045, allocations: 405.5 kB / 0.7595 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.5046, allocations: 42.55 kB / 0.7596 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 3.005e-06/0.5046, allocations: 0 / 0.7596 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003169/0.5049, allocations: 57.55 kB / 0.7596 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.505, allocations: 51.41 kB / 0.7597 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.5052, allocations: 101 kB / 0.7598 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.5052, allocations: 25.7 kB / 0.7598 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.548e-05/0.5053, allocations: 92.08 kB / 0.7599 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.5053, allocations: 3.906 kB / 0.7599 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-06/0.5054, allocations: 4 kB / 0.7599 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.5056, allocations: 318.8 kB / 0.7602 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.077e-05/0.5056, allocations: 12 kB / 0.7602 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.164e-05/0.5057, allocations: 9.875 kB / 0.7602 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.248e-05/0.5058, allocations: 8 kB / 0.7602 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5059, allocations: 7.875 kB / 0.7602 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003602/0.5062, allocations: 53.59 kB / 0.7603 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.5063, allocations: 6.5 kB / 0.7603 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.5063, allocations: 0 / 0.7603 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.5064, allocations: 7.984 kB / 0.7603 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.5067, allocations: 12 kB / 0.7603 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/0.5067, allocations: 7.938 kB / 0.7603 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.5069, allocations: 12 kB / 0.7603 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.5069, allocations: 0 / 0.7603 GB, free: 0.7812 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.0001903/0.5071, allocations: 101 kB / 0.7604 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.729e-05/0.5072, allocations: 8 kB / 0.7604 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/0.5076, allocations: 61.64 kB / 0.7605 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/0.5076, allocations: 0 / 0.7605 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.5076, allocations: 0 / 0.7605 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.5077, allocations: 7.953 kB / 0.7605 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.508, allocations: 161.7 kB / 0.7607 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.508, allocations: 8 kB / 0.7607 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.5083, allocations: 11.98 kB / 0.7607 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.5083, allocations: 0 / 0.7607 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.5083, allocations: 7.984 kB / 0.7607 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.177e-06/0.5084, allocations: 4 kB / 0.7607 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.5084, allocations: 0 / 0.7607 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.5087, allocations: 159.6 kB / 0.7608 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.948e-05/0.5088, allocations: 77.11 kB / 0.7609 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.5089, allocations: 0 / 0.7609 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.5091, allocations: 11.98 kB / 0.7609 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.059e-05/0.5092, allocations: 11.98 kB / 0.7609 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.5092, allocations: 4 kB / 0.7609 GB, free: 64 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001305/0.5094, allocations: 87.22 kB / 0.761 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.42e-07/0.5094, allocations: 0 / 0.761 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006523/0.5101, allocations: 20 kB / 0.7611 GB, free: 15.96 MB / 0.6511 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.001031/0.5111, allocations: 0.7202 MB / 0.7618 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002288/0.5114, allocations: 19.98 kB / 0.7618 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.5114, allocations: 0 / 0.7618 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.839e-05/0.5115, allocations: 12 kB / 0.7618 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.512, allocations: 4 kB / 0.7618 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008892/0.5129, allocations: 122.4 kB / 0.7619 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/0.5134, allocations: 0.6926 MB / 0.7626 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001037/0.5135, allocations: 4 kB / 0.7626 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.153e-05/0.5136, allocations: 11.44 kB / 0.7626 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of SimCode: time 1.934e-06/0.5137, allocations: 0 / 0.7626 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02843/0.5421, allocations: 1.567 MB / 0.7641 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003096/0.5425, allocations: 160.8 kB / 0.7643 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.323/2.865, allocations: 0 / 0.7643 GB, free: 12.55 MB / 0.6511 GB