Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.468/1.468, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.001097/0.001098, allocations: 177.3 kB / 366.3 MB, free: 2 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.353/1.353, allocations: 205.2 MB / 0.6256 GB, free: 5.824 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.0009419/0.0009418, allocations: 100.6 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.009e-05/1.026e-05, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6794/0.6794, allocations: 116.3 MB / 0.9725 GB, free: 68.04 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1751/0.8546, allocations: 138.8 MB / 1.108 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.8549, allocations: 80.91 kB / 1.108 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.003973/0.8589, allocations: 1.021 MB / 1.109 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.8589, allocations: 0.6562 kB / 1.109 GB, free: 8.641 MB / 0.7136 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.0003698/0.8593, allocations: 359 kB / 1.11 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.8594, allocations: 12.02 kB / 1.11 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.8594, allocations: 7.906 kB / 1.11 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.8595, allocations: 163 kB / 1.11 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.8596, allocations: 4 kB / 1.11 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.8596, allocations: 0 / 1.11 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.036e-05/0.8597, allocations: 28.72 kB / 1.11 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.807e-05/0.8598, allocations: 48.42 kB / 1.11 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.8598, allocations: 0 / 1.11 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.8598, allocations: 4 kB / 1.11 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.8598, allocations: 0 / 1.11 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.8602, allocations: 257.2 kB / 1.11 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.8604, allocations: 42.56 kB / 1.11 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.034e-05/0.8605, allocations: 16.92 kB / 1.11 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000389/0.8609, allocations: 406.7 kB / 1.11 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.8609, allocations: 38.47 kB / 1.11 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.8609, allocations: 0 / 1.11 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001855/0.8611, allocations: 49.62 kB / 1.111 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.8611, allocations: 51.41 kB / 1.111 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.631e-05/0.8612, allocations: 109 kB / 1.111 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.8613, allocations: 25.7 kB / 1.111 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.894e-05/0.8613, allocations: 84.05 kB / 1.111 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.8613, allocations: 3.906 kB / 1.111 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.8613, allocations: 4 kB / 1.111 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.8615, allocations: 314.8 kB / 1.111 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.314e-05/0.8615, allocations: 11.98 kB / 1.111 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.537e-05/0.8615, allocations: 5.125 kB / 1.111 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.048e-05/0.8616, allocations: 12 kB / 1.111 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.8616, allocations: 0 / 1.111 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001002/0.8617, allocations: 57.53 kB / 1.111 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.8617, allocations: 4 kB / 1.111 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.8617, allocations: 0 / 1.111 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.8617, allocations: 0 / 1.111 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.937e-05/0.8618, allocations: 19.92 kB / 1.111 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.8618, allocations: 0 / 1.111 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.833e-05/0.8619, allocations: 15.98 kB / 1.111 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.8619, allocations: 0 / 1.111 GB, free: 6.246 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 7.539e-05/0.862, allocations: 101 kB / 1.111 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.8621, allocations: 12.56 kB / 1.111 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.8622, allocations: 53.36 kB / 1.111 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.8622, allocations: 4 kB / 1.111 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.8622, allocations: 0 / 1.111 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.8623, allocations: 0 / 1.111 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.8624, allocations: 150.1 kB / 1.112 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.8624, allocations: 0 / 1.112 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.901e-05/0.8625, allocations: 20.95 kB / 1.112 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8625, allocations: 0 / 1.112 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.8625, allocations: 0 / 1.112 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.8625, allocations: 0 / 1.112 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8625, allocations: 4 kB / 1.112 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001475/0.8627, allocations: 154.1 kB / 1.112 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.139e-05/0.8628, allocations: 77.11 kB / 1.112 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.8628, allocations: 0 / 1.112 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.8629, allocations: 11.98 kB / 1.112 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.863, allocations: 16.14 kB / 1.112 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.863, allocations: 0 / 1.112 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.993e-05/0.863, allocations: 88.31 kB / 1.112 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002402/0.8633, allocations: 27.88 kB / 1.112 GB, free: 5.453 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.0002439/0.8635, allocations: 123.2 kB / 1.112 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.666e-05/0.8636, allocations: 23.98 kB / 1.112 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8636, allocations: 0 / 1.112 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.129e-05/0.8637, allocations: 20 kB / 1.112 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.8639, allocations: 2.656 kB / 1.112 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.8641, allocations: 69.41 kB / 1.112 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/0.8644, allocations: 0.6954 MB / 1.113 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.8644, allocations: 0 / 1.113 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of Templates: time 0.002909/0.8673, allocations: 0.893 MB / 1.114 GB, free: 3.605 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)