Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7075/0.7075, allocations: 127.4 MB / 134.6 MB, free: 4.098 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 173.3 kB / 164.4 MB, free: 6.902 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.942/1.942, allocations: 205.1 MB / 399.1 MB, free: 6.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 82.89 kB / 476.3 MB, free: 8.859 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.075e-05/1.077e-05, allocations: 4 kB / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1944, allocations: 76.74 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.464/0.6584, allocations: 101.4 MB / 0.72 GB, free: 10.98 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/0.6588, allocations: 75.95 kB / 0.72 GB, free: 10.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.004009/0.6628, allocations: 1.047 MB / 0.7211 GB, free: 9.871 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.6629, allocations: 3.938 kB / 0.7211 GB, free: 9.867 MB / 490.7 MB 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.0004354/0.6633, allocations: 350.4 kB / 0.7214 GB, free: 9.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.6634, allocations: 8.031 kB / 0.7214 GB, free: 9.473 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.6634, allocations: 7.906 kB / 0.7214 GB, free: 9.465 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.717e-05/0.6635, allocations: 166.2 kB / 0.7216 GB, free: 9.266 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002628/0.6638, allocations: 277 kB / 0.7218 GB, free: 8.934 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.6638, allocations: 4 kB / 0.7219 GB, free: 8.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002057/0.664, allocations: 115.8 kB / 0.722 GB, free: 8.816 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.6642, allocations: 73.64 kB / 0.722 GB, free: 8.738 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.6642, allocations: 3.938 kB / 0.722 GB, free: 8.734 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.6643, allocations: 0 / 0.722 GB, free: 8.734 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.6643, allocations: 4 kB / 0.722 GB, free: 8.73 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.6645, allocations: 150.1 kB / 0.7222 GB, free: 8.547 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.6646, allocations: 78.5 kB / 0.7223 GB, free: 8.461 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.67e-05/0.6647, allocations: 36.84 kB / 0.7223 GB, free: 8.422 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.6647, allocations: 7.984 kB / 0.7223 GB, free: 8.414 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.6647, allocations: 34.56 kB / 0.7223 GB, free: 8.371 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.6647, allocations: 0 / 0.7223 GB, free: 8.371 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003658/0.6651, allocations: 97.89 kB / 0.7224 GB, free: 8.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.6651, allocations: 51.41 kB / 0.7225 GB, free: 8.207 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.331e-05/0.6652, allocations: 92.92 kB / 0.7226 GB, free: 8.109 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.6652, allocations: 25.7 kB / 0.7226 GB, free: 8.078 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.6653, allocations: 80.33 kB / 0.7227 GB, free: 7.992 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/0.6653, allocations: 35.47 kB / 0.7227 GB, free: 7.957 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.6653, allocations: 0 / 0.7227 GB, free: 7.957 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.6654, allocations: 318.8 kB / 0.723 GB, free: 7.637 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.217e-05/0.6655, allocations: 23.94 kB / 0.723 GB, free: 7.613 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.523e-05/0.6655, allocations: 26.06 kB / 0.7231 GB, free: 7.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.6657, allocations: 31.97 kB / 0.7231 GB, free: 7.559 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6657, allocations: 0 / 0.7231 GB, free: 7.559 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002605/0.666, allocations: 101.5 kB / 0.7232 GB, free: 7.453 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.666, allocations: 4 kB / 0.7232 GB, free: 7.449 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.666, allocations: 0 / 0.7232 GB, free: 7.449 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.666, allocations: 4 kB / 0.7232 GB, free: 7.445 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.6662, allocations: 27.97 kB / 0.7232 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.6662, allocations: 0 / 0.7232 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.91e-05/0.6663, allocations: 4 kB / 0.7232 GB, free: 7.414 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.6663, allocations: 4 kB / 0.7232 GB, free: 7.41 MB / 490.7 MB 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 7.84e-05/0.6664, allocations: 108.8 kB / 0.7233 GB, free: 7.297 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.6664, allocations: 0 / 0.7233 GB, free: 7.297 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.183e-05/0.6664, allocations: 19.83 kB / 0.7233 GB, free: 7.281 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.6665, allocations: 7.906 kB / 0.7234 GB, free: 7.273 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6665, allocations: 3.984 kB / 0.7234 GB, free: 7.27 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.6665, allocations: 0 / 0.7234 GB, free: 7.27 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.6666, allocations: 150.2 kB / 0.7235 GB, free: 7.086 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.6666, allocations: 0 / 0.7235 GB, free: 7.086 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.6667, allocations: 27.89 kB / 0.7235 GB, free: 7.059 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.6668, allocations: 0 / 0.7235 GB, free: 7.059 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.6668, allocations: 3.984 kB / 0.7235 GB, free: 7.055 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.6668, allocations: 0.875 kB / 0.7235 GB, free: 7.055 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.6668, allocations: 4 kB / 0.7235 GB, free: 7.051 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002983/0.6671, allocations: 133.3 kB / 0.7237 GB, free: 6.902 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.6671, allocations: 81.05 kB / 0.7237 GB, free: 6.805 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.6672, allocations: 3.984 kB / 0.7237 GB, free: 6.801 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.347e-05/0.6672, allocations: 4 kB / 0.7237 GB, free: 6.797 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.6673, allocations: 19.19 kB / 0.7238 GB, free: 6.781 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.6673, allocations: 4 kB / 0.7238 GB, free: 6.777 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.523e-05/0.6673, allocations: 75.28 kB / 0.7238 GB, free: 6.703 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002232/0.6676, allocations: 20 kB / 0.7239 GB, free: 6.684 MB / 490.7 MB 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.0002257/0.6678, allocations: 131.2 kB / 0.724 GB, free: 6.543 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000144/0.668, allocations: 71.95 kB / 0.7241 GB, free: 6.473 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.668, allocations: 0 / 0.7241 GB, free: 6.473 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.849e-05/0.668, allocations: 43.91 kB / 0.7241 GB, free: 6.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.2e-05/0.6681, allocations: 0 / 0.7241 GB, free: 6.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003069/0.6685, allocations: 95.91 kB / 0.7242 GB, free: 6.312 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003135/0.6688, allocations: 0.7153 MB / 0.7249 GB, free: 5.57 MB / 490.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6688, allocations: 0 / 0.7249 GB, free: 5.57 MB / 490.7 MB Notification: Performance of Templates: time 0.003292/0.6721, allocations: 1.284 MB / 0.7261 GB, free: 4.289 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)