Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.39/1.39, allocations: 285.5 MB / 292.8 MB, free: 10.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001083, allocations: 191.4 kB / 361.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.172/1.172, allocations: 205.1 MB / 0.6195 GB, free: 11.94 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008303/0.0008303, allocations: 102.7 kB / 0.7326 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.486e-06/8.506e-06, allocations: 4 kB / 0.8511 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4743/0.4743, allocations: 115.3 MB / 0.9637 GB, free: 77.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1463/0.6207, allocations: 137.8 MB / 1.098 GB, free: 2.32 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.6209, allocations: 72.7 kB / 1.098 GB, free: 2.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.003815/0.6247, allocations: 1.024 MB / 1.099 GB, free: 1.262 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.6248, allocations: 0 / 1.099 GB, free: 1.262 MB / 0.698 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.000371/0.6251, allocations: 361.6 kB / 1.1 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.6252, allocations: 8.531 kB / 1.1 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.6252, allocations: 8.531 kB / 1.1 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.6253, allocations: 167 kB / 1.1 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.6254, allocations: 0.7188 kB / 1.1 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.6254, allocations: 6.391 kB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.712e-05/0.6255, allocations: 28.45 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.947e-05/0.6255, allocations: 42.19 kB / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.6256, allocations: 0.5938 kB / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.6256, allocations: 0.9375 kB / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.6256, allocations: 4 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.6259, allocations: 252.9 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.6262, allocations: 47.25 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.6262, allocations: 12.92 kB / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003857/0.6266, allocations: 411.5 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.6266, allocations: 38.47 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.6266, allocations: 0 / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001798/0.6268, allocations: 46.8 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.6269, allocations: 52.03 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.926e-05/0.6269, allocations: 99.38 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.6269, allocations: 29.7 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.627, allocations: 84.05 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.627, allocations: 10.52 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.627, allocations: 0 / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.756e-05/0.6271, allocations: 318.8 kB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.6271, allocations: 11.94 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.628e-05/0.6272, allocations: 4 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.665e-05/0.6272, allocations: 8.938 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.6272, allocations: 0 / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.496e-05/0.6273, allocations: 53.59 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.6273, allocations: 10.19 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.6273, allocations: 0 / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.6274, allocations: 7.922 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.635e-05/0.6275, allocations: 12 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.6275, allocations: 0 / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.62e-05/0.6275, allocations: 11.98 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.6276, allocations: 4 kB / 1.101 GB, free: 14.89 MB / 0.7136 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 6.458e-05/0.6276, allocations: 105 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.6277, allocations: 4.703 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/0.6278, allocations: 63.3 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.6278, allocations: 0 / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.6278, allocations: 0 / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.6278, allocations: 0 / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.628, allocations: 155.6 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.628, allocations: 0 / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.6281, allocations: 15.98 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.6281, allocations: 0 / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.6281, allocations: 0 / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.6281, allocations: 0 / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.6281, allocations: 0 / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001394/0.6283, allocations: 160.1 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.072e-05/0.6283, allocations: 81.09 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.6283, allocations: 2.062 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.6284, allocations: 8 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.6285, allocations: 11.89 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.6285, allocations: 0 / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.94e-05/0.6285, allocations: 87.28 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002378/0.6288, allocations: 31.86 kB / 1.102 GB, free: 14.1 MB / 0.7136 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.0001712/0.629, allocations: 123.1 kB / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.204e-05/0.6291, allocations: 20 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.6291, allocations: 0 / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.081e-05/0.6291, allocations: 15.94 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.6293, allocations: 4 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000217/0.6295, allocations: 75.2 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/0.6297, allocations: 0.6954 MB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.6297, allocations: 0 / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of Templates: time 0.002699/0.6325, allocations: 0.9054 MB / 1.104 GB, free: 12.25 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)