Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7212/0.7212, allocations: 141.8 MB / 149.1 MB, free: 2.488 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 183.8 kB / 182 MB, free: 14.45 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 221.4 MB / 436 MB, free: 7.395 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 98.69 kB / 0.507 GB, free: 24.48 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001743/0.001743, allocations: 288.3 kB / 0.5885 GB, free: 10.64 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.058e-05/1.076e-05, allocations: 4 kB / 0.6759 GB, free: 1 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4057, allocations: 82.76 MB / 0.7568 GB, free: 111.3 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1208/0.5266, allocations: 107.5 MB / 0.8617 GB, free: 3.723 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.5268, allocations: 82.8 kB / 0.8618 GB, free: 3.648 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.003337/0.5302, allocations: 0.9202 MB / 0.8627 GB, free: 2.738 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.5302, allocations: 4.75 kB / 0.8627 GB, free: 2.734 MB / 0.5263 GB 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.0003473/0.5306, allocations: 347.5 kB / 0.863 GB, free: 2.352 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.5306, allocations: 9.281 kB / 0.863 GB, free: 2.344 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.5307, allocations: 9.188 kB / 0.863 GB, free: 2.336 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.769e-05/0.5308, allocations: 167 kB / 0.8632 GB, free: 2.133 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.531, allocations: 277 kB / 0.8634 GB, free: 1.801 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.531, allocations: 4.656 kB / 0.8635 GB, free: 1.797 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001837/0.5312, allocations: 119.8 kB / 0.8636 GB, free: 1.68 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.5313, allocations: 62.83 kB / 0.8636 GB, free: 1.613 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.5313, allocations: 0 / 0.8636 GB, free: 1.613 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.5313, allocations: 7.906 kB / 0.8636 GB, free: 1.605 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.5313, allocations: 0.5938 kB / 0.8636 GB, free: 1.605 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.5315, allocations: 155.1 kB / 0.8638 GB, free: 1.418 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.5316, allocations: 85.84 kB / 0.8639 GB, free: 1.328 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.603e-05/0.5317, allocations: 29.36 kB / 0.8639 GB, free: 1.297 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.5317, allocations: 1.031 kB / 0.8639 GB, free: 1.297 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.5317, allocations: 39 kB / 0.8639 GB, free: 1.25 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.5317, allocations: 0 / 0.8639 GB, free: 1.25 MB / 0.5263 GB Notification: Performance of matching and sorting (n=11): time 0.0003429/0.5321, allocations: 99.59 kB / 0.864 GB, free: 1.148 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.858e-05/0.5321, allocations: 51.41 kB / 0.8641 GB, free: 1.086 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.958e-05/0.5321, allocations: 85 kB / 0.8642 GB, free: 0.9961 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.5322, allocations: 26.27 kB / 0.8642 GB, free: 0.9648 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.613e-05/0.5322, allocations: 84.98 kB / 0.8643 GB, free: 0.875 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/0.5322, allocations: 36.22 kB / 0.8643 GB, free: 0.8398 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.5322, allocations: 0 / 0.8643 GB, free: 0.8398 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 5.194e-05/0.5323, allocations: 315.5 kB / 0.8646 GB, free: 0.5234 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.821e-05/0.5323, allocations: 28.55 kB / 0.8646 GB, free: 0.4961 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.07e-05/0.5324, allocations: 18.34 kB / 0.8646 GB, free: 492 kB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.5326, allocations: 35.91 kB / 0.8647 GB, free: 456 kB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5326, allocations: 0 / 0.8647 GB, free: 456 kB / 0.5263 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002501/0.5328, allocations: 98 kB / 0.8648 GB, free: 352 kB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.5328, allocations: 4.625 kB / 0.8648 GB, free: 348 kB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.5329, allocations: 4 kB / 0.8648 GB, free: 344 kB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.5329, allocations: 0.5938 kB / 0.8648 GB, free: 344 kB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.533, allocations: 28.66 kB / 0.8648 GB, free: 316 kB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.5331, allocations: 0 / 0.8648 GB, free: 316 kB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.115e-05/0.5331, allocations: 8.406 kB / 0.8648 GB, free: 308 kB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.5331, allocations: 5 kB / 0.8648 GB, free: 304 kB / 0.5263 GB 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 6.359e-05/0.5332, allocations: 109.5 kB / 0.8649 GB, free: 188 kB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.5332, allocations: 11.91 kB / 0.8649 GB, free: 176 kB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/0.5333, allocations: 8.625 kB / 0.8649 GB, free: 164 kB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.5333, allocations: 2.688 kB / 0.8649 GB, free: 164 kB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.5333, allocations: 0 / 0.8649 GB, free: 164 kB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.5333, allocations: 3.984 kB / 0.865 GB, free: 160 kB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.5334, allocations: 158.1 kB / 0.8651 GB, free: 15.96 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5334, allocations: 0.7188 kB / 0.8651 GB, free: 15.96 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.5336, allocations: 19.98 kB / 0.8651 GB, free: 15.94 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.5336, allocations: 0.625 kB / 0.8651 GB, free: 15.94 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.5336, allocations: 11.98 kB / 0.8651 GB, free: 15.93 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5336, allocations: 1.25 kB / 0.8651 GB, free: 15.93 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.5336, allocations: 0 / 0.8651 GB, free: 15.93 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003234/0.534, allocations: 127.9 kB / 0.8653 GB, free: 15.79 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.534, allocations: 93.03 kB / 0.8653 GB, free: 15.68 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.534, allocations: 3.906 kB / 0.8653 GB, free: 15.68 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.146e-05/0.5341, allocations: 1.875 kB / 0.8654 GB, free: 15.68 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.5342, allocations: 15.97 kB / 0.8654 GB, free: 15.66 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.5342, allocations: 1.156 kB / 0.8654 GB, free: 15.66 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.8e-05/0.5342, allocations: 75.28 kB / 0.8654 GB, free: 15.59 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002493/0.5345, allocations: 27.94 kB / 0.8655 GB, free: 15.56 MB / 0.5419 GB 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.00023/0.5347, allocations: 120.9 kB / 0.8656 GB, free: 15.43 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001545/0.5349, allocations: 68.66 kB / 0.8656 GB, free: 15.37 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5349, allocations: 1.219 kB / 0.8656 GB, free: 15.37 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 6.214e-05/0.535, allocations: 39.97 kB / 0.8657 GB, free: 15.33 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001027/0.5351, allocations: 4 kB / 0.8657 GB, free: 15.32 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.5354, allocations: 106.6 kB / 0.8658 GB, free: 15.2 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.5357, allocations: 0.7054 MB / 0.8665 GB, free: 14.47 MB / 0.5419 GB Notification: Performance of SimCode: time 2.51e-07/0.5357, allocations: 0 / 0.8665 GB, free: 14.47 MB / 0.5419 GB Notification: Performance of Templates: time 0.003766/0.5395, allocations: 1.256 MB / 0.8677 GB, free: 13.23 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)