Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.486/1.486, allocations: 289.8 MB / 297.1 MB, free: 6.656 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.001021/0.001021, allocations: 185.2 kB / 366.3 MB, free: 1.957 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.381/1.381, allocations: 205.1 MB / 0.6256 GB, free: 5.816 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.0008585/0.0008585, allocations: 94.92 kB / 0.7396 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.977e-06/8.997e-06, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6559/0.6559, allocations: 116.3 MB / 0.9726 GB, free: 68.37 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1745/0.8305, allocations: 137.8 MB / 1.107 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.8308, allocations: 81.3 kB / 1.107 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.003523/0.8344, allocations: 0.9238 MB / 1.108 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.8344, allocations: 0 / 1.108 GB, free: 9.715 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003913/0.8348, allocations: 349.3 kB / 1.108 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.8348, allocations: 12.03 kB / 1.108 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.8349, allocations: 7.906 kB / 1.108 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.835, allocations: 163.6 kB / 1.109 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000256/0.8353, allocations: 281.6 kB / 1.109 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.8353, allocations: 0 / 1.109 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002035/0.8355, allocations: 123.8 kB / 1.109 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.8356, allocations: 73.5 kB / 1.109 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.8357, allocations: 0 / 1.109 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.8357, allocations: 0 / 1.109 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.8357, allocations: 0 / 1.109 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.8358, allocations: 154.2 kB / 1.109 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.836, allocations: 80.05 kB / 1.109 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.836, allocations: 32.84 kB / 1.109 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.8361, allocations: 11.98 kB / 1.109 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.8361, allocations: 34.56 kB / 1.109 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.8361, allocations: 0 / 1.109 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0003486/0.8365, allocations: 97.86 kB / 1.109 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.8365, allocations: 55.41 kB / 1.11 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.923e-05/0.8366, allocations: 85 kB / 1.11 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.8366, allocations: 25.7 kB / 1.11 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.8366, allocations: 80.33 kB / 1.11 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.8367, allocations: 39.45 kB / 1.11 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-06/0.8367, allocations: 0 / 1.11 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.8368, allocations: 318.8 kB / 1.11 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.117e-05/0.8368, allocations: 19.98 kB / 1.11 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.936e-05/0.8369, allocations: 30.39 kB / 1.11 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.8371, allocations: 23.98 kB / 1.11 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.8371, allocations: 0.6562 kB / 1.11 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000268/0.8373, allocations: 105.5 kB / 1.11 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.8374, allocations: 4 kB / 1.11 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.8374, allocations: 4 kB / 1.11 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.8374, allocations: 0 / 1.11 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.8376, allocations: 27.92 kB / 1.11 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.8376, allocations: 0 / 1.11 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.449e-05/0.8376, allocations: 13.58 kB / 1.11 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.8377, allocations: 0 / 1.11 GB, free: 7.254 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: 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.706e-05/0.8377, allocations: 105 kB / 1.11 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.8378, allocations: 3.906 kB / 1.11 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.8378, allocations: 11.91 kB / 1.11 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.8378, allocations: 4 kB / 1.11 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.8378, allocations: 0 / 1.11 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.8378, allocations: 3.984 kB / 1.11 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.838, allocations: 154.1 kB / 1.111 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.838, allocations: 4 kB / 1.111 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.8381, allocations: 27.91 kB / 1.111 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.8381, allocations: 4 kB / 1.111 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.8381, allocations: 0 / 1.111 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.8381, allocations: 0 / 1.111 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8381, allocations: 0 / 1.111 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002806/0.8384, allocations: 132.9 kB / 1.111 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.8385, allocations: 88.95 kB / 1.111 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.8385, allocations: 0 / 1.111 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.566e-05/0.8386, allocations: 9.391 kB / 1.111 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.8386, allocations: 7.984 kB / 1.111 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.8387, allocations: 11.98 kB / 1.111 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.824e-05/0.8387, allocations: 75.28 kB / 1.111 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002052/0.8389, allocations: 27.94 kB / 1.111 GB, free: 6.508 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: 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.0002158/0.8391, allocations: 123.2 kB / 1.111 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001347/0.8393, allocations: 65.5 kB / 1.111 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.8393, allocations: 0 / 1.111 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.117e-05/0.8393, allocations: 39.92 kB / 1.111 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.233e-05/0.8394, allocations: 0 / 1.111 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.8397, allocations: 111.7 kB / 1.111 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/0.8401, allocations: 0.7128 MB / 1.112 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.8401, allocations: 0 / 1.112 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of Templates: time 0.003273/0.8434, allocations: 1.251 MB / 1.113 GB, free: 4.172 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)