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 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.Binomial,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_Binomial",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.01078/0.01078, allocations: 106.3 kB / 15.05 MB, free: 5.984 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.001168/0.001168, allocations: 181.6 kB / 15.94 MB, free: 5.938 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.203/2.203, allocations: 194.5 MB / 211.3 MB, free: 11.05 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.266/2.266, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004585/0.0004584, allocations: 16 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6438/0.6443, allocations: 98.71 MB / 0.6834 GB, free: 16.59 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2189/0.8632, allocations: 125.2 MB / 0.8057 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.8636, allocations: 71.95 kB / 0.8057 GB, free: 0.9219 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.006083/0.8697, allocations: 1.298 MB / 0.807 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8697, allocations: 4 kB / 0.807 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.8697, allocations: 0 / 0.807 GB, free: 15.61 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.0005526/0.8703, allocations: 363.3 kB / 0.8074 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.8704, allocations: 8.031 kB / 0.8074 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.983e-05/0.8704, allocations: 38.56 kB / 0.8074 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.8705, allocations: 7.844 kB / 0.8074 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.8706, allocations: 167 kB / 0.8076 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.8706, allocations: 4 kB / 0.8076 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.8707, allocations: 4 kB / 0.8076 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.871, allocations: 69.64 kB / 0.8076 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.871, allocations: 0 / 0.8076 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.871, allocations: 4 kB / 0.8076 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.871, allocations: 4 kB / 0.8076 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003454/0.8714, allocations: 55.95 kB / 0.8077 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004985/0.8719, allocations: 288.6 kB / 0.808 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005057/0.8724, allocations: 62.55 kB / 0.808 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005126/0.873, allocations: 409.7 kB / 0.8084 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.873, allocations: 30.56 kB / 0.8085 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.785e-06/0.873, allocations: 3.938 kB / 0.8085 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0006606/0.8737, allocations: 117.8 kB / 0.8086 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.8738, allocations: 59.39 kB / 0.8086 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.8739, allocations: 97 kB / 0.8087 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.8739, allocations: 25.7 kB / 0.8087 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.874, allocations: 96.03 kB / 0.8088 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.874, allocations: 3.906 kB / 0.8088 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/0.874, allocations: 4 kB / 0.8088 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.8742, allocations: 314.8 kB / 0.8091 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.8743, allocations: 19.98 kB / 0.8092 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.8745, allocations: 31.97 kB / 0.8092 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.8747, allocations: 23.98 kB / 0.8092 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.8747, allocations: 3.938 kB / 0.8092 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003977/0.8751, allocations: 89.64 kB / 0.8093 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.8752, allocations: 5.562 kB / 0.8093 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.8752, allocations: 0 / 0.8093 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.8752, allocations: 0 / 0.8093 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.8754, allocations: 15.98 kB / 0.8093 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.8754, allocations: 3.953 kB / 0.8093 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.8755, allocations: 15.88 kB / 0.8093 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.8755, allocations: 4 kB / 0.8093 GB, free: 12.9 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 () * 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 9.992e-05/0.8756, allocations: 117.8 kB / 0.8095 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.8757, allocations: 7.906 kB / 0.8095 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004664/0.8762, allocations: 97.48 kB / 0.8096 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.8762, allocations: 0 / 0.8096 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.8762, allocations: 0 / 0.8096 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.8762, allocations: 3.953 kB / 0.8096 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.8764, allocations: 165.7 kB / 0.8097 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.8765, allocations: 0 / 0.8097 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.8766, allocations: 15.98 kB / 0.8097 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.8767, allocations: 0 / 0.8097 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.8767, allocations: 0 / 0.8097 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.8767, allocations: 4 kB / 0.8097 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.8767, allocations: 0 / 0.8097 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004652/0.8772, allocations: 187.4 kB / 0.8099 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.8772, allocations: 81.02 kB / 0.81 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.8773, allocations: 4 kB / 0.81 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.8774, allocations: 15.98 kB / 0.81 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/0.8775, allocations: 7.984 kB / 0.81 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.8775, allocations: 0 / 0.81 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.695e-05/0.8776, allocations: 94.05 kB / 0.8101 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-07/0.8776, allocations: 0 / 0.8101 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003538/0.878, allocations: 23.94 kB / 0.8101 GB, free: 11.99 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 () * 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.0009395/0.8789, allocations: 0.7398 MB / 0.8109 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004239/0.8794, allocations: 64.17 kB / 0.8109 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.8794, allocations: 0 / 0.8109 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.8796, allocations: 31.97 kB / 0.8109 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.8799, allocations: 4 kB / 0.811 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.8814, allocations: 474.5 kB / 0.8114 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.8817, allocations: 0.6809 MB / 0.8121 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.51e-05/0.8818, allocations: 16.09 kB / 0.8121 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.407e-05/0.8818, allocations: 19.44 kB / 0.8121 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/0.8819, allocations: 0 / 0.8121 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/0.9058, allocations: 1.572 MB / 0.8136 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003018/0.9062, allocations: 174.8 kB / 0.8138 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.283/3.19, allocations: 4 kB / 0.8138 GB, free: 8.164 MB / 0.6355 GB