Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.256/2.256, allocations: 284.9 MB / 292.2 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001567/0.001567, allocations: 177.3 kB / 360.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 205.1 MB / 0.6188 GB, free: 12.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001241/0.00124, allocations: 87.8 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.238e-05/1.282e-05, allocations: 4 kB / 0.8502 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.594/0.594, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2119/0.8061, allocations: 137.7 MB / 1.097 GB, free: 3.137 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.8064, allocations: 71.95 kB / 1.097 GB, free: 3.066 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.006197/0.8126, allocations: 1.019 MB / 1.098 GB, free: 2.082 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.8127, allocations: 0 / 1.098 GB, free: 2.082 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.0006048/0.8133, allocations: 361.8 kB / 1.099 GB, free: 1.688 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.8134, allocations: 12.53 kB / 1.099 GB, free: 1.676 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.8134, allocations: 4.5 kB / 1.099 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.8136, allocations: 171.6 kB / 1.099 GB, free: 1.465 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.8136, allocations: 0 / 1.099 GB, free: 1.465 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.8136, allocations: 5.578 kB / 1.099 GB, free: 1.461 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001092/0.8138, allocations: 19.94 kB / 1.099 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.8139, allocations: 50.14 kB / 1.099 GB, free: 1.391 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.8139, allocations: 0 / 1.099 GB, free: 1.391 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.8139, allocations: 0 / 1.099 GB, free: 1.391 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.8139, allocations: 6.891 kB / 1.099 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.8144, allocations: 251.6 kB / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/0.8148, allocations: 51.06 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.884e-05/0.8149, allocations: 16.86 kB / 1.099 GB, free: 1.027 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005191/0.8154, allocations: 401.6 kB / 1.1 GB, free: 0.543 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.8154, allocations: 38.47 kB / 1.1 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 3.006e-06/0.8154, allocations: 6.109 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002435/0.8157, allocations: 45.69 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.8158, allocations: 51.41 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.224e-05/0.8159, allocations: 101 kB / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.8159, allocations: 25.7 kB / 1.1 GB, free: 248 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/0.8159, allocations: 91.61 kB / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.816, allocations: 7.906 kB / 1.1 GB, free: 148 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.934e-06/0.816, allocations: 0 / 1.1 GB, free: 148 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.8162, allocations: 318.8 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.364e-05/0.8162, allocations: 8 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.998e-05/0.8162, allocations: 4 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.933e-05/0.8163, allocations: 12 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8163, allocations: 4 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001581/0.8165, allocations: 49.59 kB / 1.1 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.8165, allocations: 4 kB / 1.1 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.8165, allocations: 0 / 1.1 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.8166, allocations: 0 / 1.1 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.8167, allocations: 19.92 kB / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.8168, allocations: 0 / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.8169, allocations: 15.98 kB / 1.1 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.8169, allocations: 0 / 1.1 GB, free: 15.7 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 9.558e-05/0.817, allocations: 113.8 kB / 1.1 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.8171, allocations: 3.906 kB / 1.1 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.8173, allocations: 58.98 kB / 1.1 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.8173, allocations: 8.516 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.8173, allocations: 0 / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.8173, allocations: 0 / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.8175, allocations: 146.1 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.8176, allocations: 0 / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.8177, allocations: 15.98 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.8177, allocations: 0.5156 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.8177, allocations: 2.188 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.8178, allocations: 8 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8178, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002005/0.818, allocations: 150.4 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.8181, allocations: 81.11 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.8181, allocations: 0 / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.8183, allocations: 7.984 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.8184, allocations: 15.89 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.8184, allocations: 0 / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.327e-05/0.8185, allocations: 83.28 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003629/0.8188, allocations: 27.88 kB / 1.101 GB, free: 14.91 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.000256/0.8191, allocations: 119.3 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.8193, allocations: 29.44 kB / 1.101 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8193, allocations: 0 / 1.101 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.56e-05/0.8193, allocations: 19.94 kB / 1.101 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.8196, allocations: 0 / 1.101 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.8199, allocations: 75.7 kB / 1.101 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/0.8203, allocations: 0.6876 MB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of SimCode: time 6.72e-07/0.8203, allocations: 0 / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of Templates: time 0.004235/0.8245, allocations: 0.9052 MB / 1.103 GB, free: 13.07 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)