Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.365/2.365, allocations: 284.9 MB / 292.2 MB, free: 1.438 MB / 227.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001589/0.001589, allocations: 185.5 kB / 360.4 MB, free: 15.63 MB / 291.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.1 MB / 0.6188 GB, free: 6.562 MB / 467.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001315/0.001314, allocations: 100 kB / 0.7318 GB, free: 47.15 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 1.525e-05/1.54e-05, allocations: 4 kB / 0.8503 GB, free: 13.64 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6709/0.671, allocations: 115.2 MB / 0.9628 GB, free: 86.33 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2349/0.906, allocations: 136.6 MB / 1.096 GB, free: 13.69 MB / 0.7061 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/0.9064, allocations: 72.52 kB / 1.096 GB, free: 13.62 MB / 0.7061 GB Notification: Performance of FrontEnd: time 0.005521/0.9119, allocations: 0.9281 MB / 1.097 GB, free: 12.71 MB / 0.7061 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.912, allocations: 4 kB / 1.097 GB, free: 12.71 MB / 0.7061 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.0006095/0.9126, allocations: 353.1 kB / 1.098 GB, free: 12.32 MB / 0.7061 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.9127, allocations: 8.531 kB / 1.098 GB, free: 12.32 MB / 0.7061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.581e-05/0.9127, allocations: 11.91 kB / 1.098 GB, free: 12.3 MB / 0.7061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.9129, allocations: 159.1 kB / 1.098 GB, free: 12.11 MB / 0.7061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003624/0.9132, allocations: 280.9 kB / 1.098 GB, free: 11.77 MB / 0.7061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.9133, allocations: 5.5 kB / 1.098 GB, free: 11.77 MB / 0.7061 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003232/0.9136, allocations: 116.3 kB / 1.098 GB, free: 11.66 MB / 0.7061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.9138, allocations: 71.23 kB / 1.098 GB, free: 11.58 MB / 0.7061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.9138, allocations: 4 kB / 1.098 GB, free: 11.58 MB / 0.7061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.9138, allocations: 0.7812 kB / 1.098 GB, free: 11.58 MB / 0.7061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.9139, allocations: 0 / 1.098 GB, free: 11.58 MB / 0.7061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002272/0.9141, allocations: 154.8 kB / 1.098 GB, free: 11.39 MB / 0.7061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.9143, allocations: 83.3 kB / 1.098 GB, free: 11.3 MB / 0.7061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.531e-05/0.9144, allocations: 28.83 kB / 1.098 GB, free: 11.27 MB / 0.7061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.9145, allocations: 8.625 kB / 1.098 GB, free: 11.27 MB / 0.7061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.9145, allocations: 41.11 kB / 1.098 GB, free: 11.22 MB / 0.7061 GB Notification: Performance of pre-optimization done (n=11): time 1.834e-06/0.9145, allocations: 0.7188 kB / 1.098 GB, free: 11.22 MB / 0.7061 GB Notification: Performance of matching and sorting (n=11): time 0.000517/0.9151, allocations: 96.98 kB / 1.099 GB, free: 11.12 MB / 0.7061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.9151, allocations: 52.31 kB / 1.099 GB, free: 11.06 MB / 0.7061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.584e-05/0.9152, allocations: 85 kB / 1.099 GB, free: 10.97 MB / 0.7061 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.9152, allocations: 30.7 kB / 1.099 GB, free: 10.93 MB / 0.7061 GB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.9153, allocations: 80.33 kB / 1.099 GB, free: 10.85 MB / 0.7061 GB Notification: Performance of collectInitialBindings (initialization): time 6.172e-05/0.9153, allocations: 36.7 kB / 1.099 GB, free: 10.81 MB / 0.7061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/0.9154, allocations: 0 / 1.099 GB, free: 10.81 MB / 0.7061 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.9155, allocations: 315.3 kB / 1.099 GB, free: 10.5 MB / 0.7061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.728e-05/0.9156, allocations: 24.48 kB / 1.099 GB, free: 10.47 MB / 0.7061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.985e-05/0.9157, allocations: 20 kB / 1.099 GB, free: 10.45 MB / 0.7061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.9159, allocations: 35.72 kB / 1.099 GB, free: 10.42 MB / 0.7061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.916, allocations: 0 / 1.099 GB, free: 10.42 MB / 0.7061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004335/0.9164, allocations: 101.4 kB / 1.099 GB, free: 10.32 MB / 0.7061 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.9164, allocations: 8.625 kB / 1.099 GB, free: 10.31 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.9165, allocations: 0 / 1.099 GB, free: 10.31 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.9165, allocations: 0.5156 kB / 1.099 GB, free: 10.31 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.9168, allocations: 23.97 kB / 1.099 GB, free: 10.29 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.9168, allocations: 0 / 1.099 GB, free: 10.29 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.917, allocations: 7.906 kB / 1.099 GB, free: 10.28 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.917, allocations: 13.33 kB / 1.099 GB, free: 10.27 MB / 0.7061 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 9.781e-05/0.9171, allocations: 104.9 kB / 1.099 GB, free: 10.16 MB / 0.7061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.9171, allocations: 9 kB / 1.099 GB, free: 10.15 MB / 0.7061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.446e-05/0.9172, allocations: 7.906 kB / 1.099 GB, free: 10.14 MB / 0.7061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.9172, allocations: 0.7031 kB / 1.099 GB, free: 10.14 MB / 0.7061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.9172, allocations: 0.625 kB / 1.099 GB, free: 10.14 MB / 0.7061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.9172, allocations: 4.562 kB / 1.099 GB, free: 10.14 MB / 0.7061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.9174, allocations: 154.1 kB / 1.1 GB, free: 9.949 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.9174, allocations: 0.75 kB / 1.1 GB, free: 9.949 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.9177, allocations: 19.98 kB / 1.1 GB, free: 9.93 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.9177, allocations: 2.094 kB / 1.1 GB, free: 9.93 MB / 0.7061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.9177, allocations: 7.984 kB / 1.1 GB, free: 9.922 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.9178, allocations: 0.5312 kB / 1.1 GB, free: 9.922 MB / 0.7061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.9178, allocations: 2.438 kB / 1.1 GB, free: 9.922 MB / 0.7061 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004817/0.9183, allocations: 136.3 kB / 1.1 GB, free: 9.773 MB / 0.7061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.9184, allocations: 93.5 kB / 1.1 GB, free: 9.664 MB / 0.7061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.9184, allocations: 0 / 1.1 GB, free: 9.664 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.9185, allocations: 4 kB / 1.1 GB, free: 9.66 MB / 0.7061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.58e-05/0.9186, allocations: 15.97 kB / 1.1 GB, free: 9.645 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.9186, allocations: 1.625 kB / 1.1 GB, free: 9.645 MB / 0.7061 GB Notification: Performance of sort global known variables: time 3.789e-05/0.9187, allocations: 75.28 kB / 1.1 GB, free: 9.57 MB / 0.7061 GB Notification: Performance of remove unused functions: time 0.000355/0.919, allocations: 27.94 kB / 1.1 GB, free: 9.543 MB / 0.7061 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.0002659/0.9193, allocations: 119.2 kB / 1.1 GB, free: 9.418 MB / 0.7061 GB Notification: Performance of simCode: created initialization part: time 0.0002348/0.9196, allocations: 71.91 kB / 1.1 GB, free: 9.348 MB / 0.7061 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.9196, allocations: 0 / 1.1 GB, free: 9.348 MB / 0.7061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.9198, allocations: 35.97 kB / 1.1 GB, free: 9.312 MB / 0.7061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.9199, allocations: 4 kB / 1.1 GB, free: 9.309 MB / 0.7061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.9203, allocations: 112.4 kB / 1.1 GB, free: 9.176 MB / 0.7061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003906/0.9207, allocations: 0.7036 MB / 1.101 GB, free: 8.445 MB / 0.7061 GB Notification: Performance of SimCode: time 7.71e-07/0.9207, allocations: 0.75 kB / 1.101 GB, free: 8.445 MB / 0.7061 GB Notification: Performance of Templates: time 0.005049/0.9258, allocations: 1.252 MB / 1.102 GB, free: 7.238 MB / 0.7061 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)