Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.172/2.172, allocations: 253.1 MB / 260.4 MB, free: 7.539 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001548/0.001547, allocations: 189 kB / 319.6 MB, free: 3.332 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.774/1.774, allocations: 205.4 MB / 0.5704 GB, free: 15 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001333/0.001332, allocations: 99.12 kB / 0.6746 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.188e-05/1.216e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1966, allocations: 106.2 MB / 0.8881 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7442/0.9409, allocations: 131.3 MB / 1.016 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000394/0.9413, allocations: 76.64 kB / 1.016 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.007824/0.9492, allocations: 0.9263 MB / 1.017 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.9493, allocations: 0 / 1.017 GB, free: 6.133 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.0008683/0.9502, allocations: 358.4 kB / 1.018 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.708e-05/0.9502, allocations: 12.03 kB / 1.018 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.651e-05/0.9503, allocations: 4.75 kB / 1.018 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.9505, allocations: 163 kB / 1.018 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005414/0.9511, allocations: 277 kB / 1.018 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.9511, allocations: 7.938 kB / 1.018 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000467/0.9516, allocations: 119.2 kB / 1.018 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.9519, allocations: 72.7 kB / 1.018 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.9519, allocations: 0 / 1.018 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.952, allocations: 0 / 1.018 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.952, allocations: 3.938 kB / 1.018 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.9523, allocations: 157.6 kB / 1.018 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.9526, allocations: 77 kB / 1.018 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.9528, allocations: 31.84 kB / 1.019 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.656e-05/0.9529, allocations: 7.984 kB / 1.019 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.683e-05/0.9529, allocations: 34.5 kB / 1.019 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 3.778e-06/0.953, allocations: 0 / 1.019 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0008107/0.9538, allocations: 99.5 kB / 1.019 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.9539, allocations: 59.34 kB / 1.019 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.196e-05/0.954, allocations: 85 kB / 1.019 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.954, allocations: 29.7 kB / 1.019 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.9541, allocations: 80.33 kB / 1.019 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.865e-05/0.9542, allocations: 33.8 kB / 1.019 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.506e-05/0.9542, allocations: 0 / 1.019 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.9544, allocations: 318.7 kB / 1.019 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.9546, allocations: 22.94 kB / 1.019 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.9547, allocations: 23.11 kB / 1.019 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000455/0.9552, allocations: 32.64 kB / 1.019 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.9552, allocations: 0 / 1.019 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007508/0.956, allocations: 107.2 kB / 1.019 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.956, allocations: 4 kB / 1.019 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.956, allocations: 0 / 1.019 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/0.9561, allocations: 3.906 kB / 1.019 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000441/0.9565, allocations: 19.98 kB / 1.019 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.9566, allocations: 4.625 kB / 1.019 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.9568, allocations: 7.984 kB / 1.019 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.9568, allocations: 0 / 1.019 GB, free: 3.77 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.0001527/0.957, allocations: 108.9 kB / 1.02 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.957, allocations: 6.875 kB / 1.02 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.075e-05/0.9571, allocations: 14.89 kB / 1.02 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.9571, allocations: 4 kB / 1.02 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.9572, allocations: 0.5625 kB / 1.02 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.9572, allocations: 0 / 1.02 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.9575, allocations: 153.5 kB / 1.02 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.9575, allocations: 0 / 1.02 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/0.9579, allocations: 24.05 kB / 1.02 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/0.958, allocations: 4 kB / 1.02 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.958, allocations: 3.984 kB / 1.02 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.794e-06/0.958, allocations: 7.906 kB / 1.02 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.9581, allocations: 4 kB / 1.02 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007571/0.9588, allocations: 127.6 kB / 1.02 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-05/0.959, allocations: 88.95 kB / 1.02 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.959, allocations: 3.984 kB / 1.02 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.9592, allocations: 7.938 kB / 1.02 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.9593, allocations: 10.61 kB / 1.02 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.9594, allocations: 7.984 kB / 1.02 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001094/0.9595, allocations: 79.28 kB / 1.02 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005635/0.9601, allocations: 22.94 kB / 1.02 GB, free: 3.051 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.000412/0.9605, allocations: 127.1 kB / 1.02 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003544/0.9609, allocations: 64.84 kB / 1.02 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.9609, allocations: 0 / 1.02 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.9611, allocations: 37.61 kB / 1.02 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.9613, allocations: 6.172 kB / 1.02 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006157/0.962, allocations: 107.2 kB / 1.02 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005385/0.9626, allocations: 0.7075 MB / 1.021 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of SimCode: time 1.403e-06/0.9626, allocations: 0 / 1.021 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of Templates: time 0.007589/0.9702, allocations: 1.249 MB / 1.022 GB, free: 0.7422 MB / 0.6355 GB