Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.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.072/2.072, allocations: 253.1 MB / 260.4 MB, free: 7.613 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.001588/0.001588, allocations: 192.5 kB / 319.6 MB, free: 3.289 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.917/1.917, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001453/0.001453, allocations: 104 kB / 0.6746 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.332e-05/1.348e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2393, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6961/0.9355, allocations: 132.3 MB / 1.017 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/0.9358, allocations: 76.25 kB / 1.017 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.006602/0.9424, allocations: 1.018 MB / 1.018 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.9425, allocations: 0 / 1.018 GB, free: 5.004 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.0005735/0.9431, allocations: 365.4 kB / 1.019 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.9431, allocations: 8.031 kB / 1.019 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.9432, allocations: 4 kB / 1.019 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.9434, allocations: 166.7 kB / 1.019 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.9434, allocations: 0 / 1.019 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.9434, allocations: 8 kB / 1.019 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001125/0.9436, allocations: 19.06 kB / 1.019 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.9437, allocations: 49.28 kB / 1.019 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.9437, allocations: 2.562 kB / 1.019 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.9437, allocations: 3.984 kB / 1.019 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.9438, allocations: 7.906 kB / 1.019 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005362/0.9443, allocations: 254.4 kB / 1.019 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.9447, allocations: 41 kB / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.656e-05/0.9447, allocations: 11.86 kB / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000546/0.9453, allocations: 408.6 kB / 1.02 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.9453, allocations: 30.56 kB / 1.02 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.214e-06/0.9454, allocations: 7.938 kB / 1.02 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002567/0.9456, allocations: 51.81 kB / 1.02 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.9457, allocations: 51.41 kB / 1.02 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.9458, allocations: 104.1 kB / 1.02 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.9458, allocations: 25.7 kB / 1.02 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.9459, allocations: 83.08 kB / 1.02 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.9459, allocations: 3.906 kB / 1.02 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.9459, allocations: 0.8438 kB / 1.02 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.9461, allocations: 321.9 kB / 1.02 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.277e-05/0.9461, allocations: 11.38 kB / 1.02 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-05/0.9462, allocations: 4 kB / 1.02 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.674e-05/0.9462, allocations: 7.438 kB / 1.02 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9462, allocations: 0 / 1.02 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001564/0.9464, allocations: 56.22 kB / 1.02 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.9464, allocations: 8 kB / 1.02 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.9465, allocations: 0 / 1.02 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.9465, allocations: 3.938 kB / 1.02 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.9467, allocations: 19.98 kB / 1.02 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.9467, allocations: 0 / 1.02 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.9468, allocations: 7.984 kB / 1.02 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.9468, allocations: 7.984 kB / 1.02 GB, free: 2.676 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 9.101e-05/0.9469, allocations: 104.9 kB / 1.021 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.947, allocations: 4 kB / 1.021 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.9472, allocations: 65.11 kB / 1.021 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.9472, allocations: 0 / 1.021 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.9472, allocations: 3.906 kB / 1.021 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.9473, allocations: 0 / 1.021 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.9475, allocations: 145.1 kB / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.9475, allocations: 0.875 kB / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.9476, allocations: 23.92 kB / 1.021 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.9477, allocations: 0 / 1.021 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.9477, allocations: 0 / 1.021 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.9477, allocations: 0 / 1.021 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.9477, allocations: 0 / 1.021 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002141/0.9479, allocations: 153.5 kB / 1.021 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.948, allocations: 81.02 kB / 1.021 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.948, allocations: 4 kB / 1.021 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.9482, allocations: 15.98 kB / 1.021 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/0.9483, allocations: 11.86 kB / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.9483, allocations: 0 / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.37e-05/0.9484, allocations: 79.28 kB / 1.021 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003704/0.9487, allocations: 23.94 kB / 1.021 GB, free: 1.918 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.000255/0.949, allocations: 136.2 kB / 1.021 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00016/0.9492, allocations: 19.3 kB / 1.021 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9492, allocations: 0 / 1.021 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.269e-05/0.9492, allocations: 11.56 kB / 1.021 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.9495, allocations: 11.28 kB / 1.021 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.9498, allocations: 75.5 kB / 1.021 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003596/0.9502, allocations: 0.6915 MB / 1.022 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of SimCode: time 1.143e-06/0.9502, allocations: 0 / 1.022 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of Templates: time 0.00444/0.9547, allocations: 0.8987 MB / 1.023 GB, free: 64 kB / 0.6355 GB