Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 191.1 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4426/0.4426, allocations: 90.85 MB / 99.07 MB, free: 14.97 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 221.4 MB / 342.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009197/0.0009197, allocations: 92.45 kB / 415.5 MB, free: 6.469 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.785e-06/7.975e-06, allocations: 0 / 493.9 MB, free: 8.109 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2836, allocations: 72.3 MB / 0.5529 GB, free: 73.25 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1032/0.3869, allocations: 101.4 MB / 0.6519 GB, free: 8.648 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.3872, allocations: 71.95 kB / 0.652 GB, free: 8.578 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.005267/0.3924, allocations: 1.041 MB / 0.653 GB, free: 7.562 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.3925, allocations: 4 kB / 0.653 GB, free: 7.559 MB / 474.7 MB 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.0004631/0.393, allocations: 357.1 kB / 0.6533 GB, free: 7.168 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.393, allocations: 8.656 kB / 0.6533 GB, free: 7.16 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.3931, allocations: 1.625 kB / 0.6533 GB, free: 7.16 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.3932, allocations: 178.9 kB / 0.6535 GB, free: 6.945 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.3933, allocations: 1.562 kB / 0.6535 GB, free: 6.945 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.3933, allocations: 4 kB / 0.6535 GB, free: 6.941 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.983e-05/0.3934, allocations: 12 kB / 0.6535 GB, free: 6.93 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.3935, allocations: 52.58 kB / 0.6536 GB, free: 6.875 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3935, allocations: 0.5938 kB / 0.6536 GB, free: 6.875 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3936, allocations: 0 / 0.6536 GB, free: 6.875 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3936, allocations: 0.75 kB / 0.6536 GB, free: 6.875 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.394, allocations: 264.4 kB / 0.6538 GB, free: 6.582 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.3943, allocations: 43.59 kB / 0.6539 GB, free: 6.531 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.596e-05/0.3944, allocations: 13.83 kB / 0.6539 GB, free: 6.516 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004435/0.3949, allocations: 402.3 kB / 0.6543 GB, free: 6.031 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.3949, allocations: 35.34 kB / 0.6543 GB, free: 5.988 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.3949, allocations: 0.7188 kB / 0.6543 GB, free: 5.988 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002443/0.3952, allocations: 49.69 kB / 0.6543 GB, free: 5.934 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.3952, allocations: 51.94 kB / 0.6544 GB, free: 5.871 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.599e-05/0.3953, allocations: 105.6 kB / 0.6545 GB, free: 5.762 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.3953, allocations: 30.27 kB / 0.6545 GB, free: 5.727 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.3954, allocations: 84.73 kB / 0.6546 GB, free: 5.641 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.3954, allocations: 3.906 kB / 0.6546 GB, free: 5.637 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.3954, allocations: 0.9375 kB / 0.6546 GB, free: 5.637 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.3956, allocations: 314.8 kB / 0.6549 GB, free: 5.32 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.055e-05/0.3956, allocations: 9.656 kB / 0.6549 GB, free: 5.312 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.658e-05/0.3956, allocations: 14.7 kB / 0.6549 GB, free: 5.301 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.973e-05/0.3957, allocations: 8.141 kB / 0.6549 GB, free: 5.293 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.3957, allocations: 0 / 0.6549 GB, free: 5.293 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001617/0.3959, allocations: 54.86 kB / 0.655 GB, free: 5.234 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3959, allocations: 4 kB / 0.655 GB, free: 5.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3959, allocations: 0 / 0.655 GB, free: 5.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3959, allocations: 4.531 kB / 0.655 GB, free: 5.227 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.3961, allocations: 14.83 kB / 0.655 GB, free: 5.215 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.3961, allocations: 0 / 0.655 GB, free: 5.215 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.68e-05/0.3962, allocations: 15.36 kB / 0.655 GB, free: 5.203 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.3962, allocations: 0 / 0.655 GB, free: 5.203 MB / 474.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: 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 8.076e-05/0.3963, allocations: 112.8 kB / 0.6551 GB, free: 5.086 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.3964, allocations: 0 / 0.6551 GB, free: 5.086 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.3966, allocations: 57.94 kB / 0.6552 GB, free: 5.02 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.3966, allocations: 7.078 kB / 0.6552 GB, free: 5.016 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3966, allocations: 0 / 0.6552 GB, free: 5.016 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3966, allocations: 3.906 kB / 0.6552 GB, free: 5.012 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.3968, allocations: 147 kB / 0.6553 GB, free: 4.832 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3968, allocations: 0 / 0.6553 GB, free: 4.832 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.397, allocations: 13.27 kB / 0.6554 GB, free: 4.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.397, allocations: 0.5312 kB / 0.6554 GB, free: 4.82 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.397, allocations: 7.984 kB / 0.6554 GB, free: 4.812 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.397, allocations: 0.5938 kB / 0.6554 GB, free: 4.812 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.397, allocations: 0.625 kB / 0.6554 GB, free: 4.812 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001981/0.3972, allocations: 153 kB / 0.6555 GB, free: 4.648 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.3973, allocations: 81.02 kB / 0.6556 GB, free: 4.551 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.3973, allocations: 2.156 kB / 0.6556 GB, free: 4.551 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.3975, allocations: 13.05 kB / 0.6556 GB, free: 4.539 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.3976, allocations: 0.7188 kB / 0.6556 GB, free: 4.539 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.3976, allocations: 9.234 kB / 0.6556 GB, free: 4.531 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.731e-05/0.3976, allocations: 83.81 kB / 0.6557 GB, free: 4.449 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004388/0.3981, allocations: 19.94 kB / 0.6557 GB, free: 4.43 MB / 474.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: 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.0002336/0.3983, allocations: 128.5 kB / 0.6558 GB, free: 4.297 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.3985, allocations: 27.94 kB / 0.6559 GB, free: 4.27 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3985, allocations: 0 / 0.6559 GB, free: 4.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.792e-05/0.3986, allocations: 15.98 kB / 0.6559 GB, free: 4.254 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.3988, allocations: 3.281 kB / 0.6559 GB, free: 4.254 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.3991, allocations: 71.69 kB / 0.6559 GB, free: 4.16 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.3995, allocations: 0.6915 MB / 0.6566 GB, free: 3.445 MB / 474.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3995, allocations: 0 / 0.6566 GB, free: 3.445 MB / 474.7 MB Notification: Performance of Templates: time 0.003983/0.4035, allocations: 0.8985 MB / 0.6575 GB, free: 2.574 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)