Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.3-maint.7.0.x/package.mo): time 1.277/1.277, allocations: 249.4 MB / 256.7 MB, free: 7.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 189.2 kB / 316 MB, free: 3.578 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.216/1.216, allocations: 205.2 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 86.22 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3578/0.359, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.5341, allocations: 106.3 MB / 0.8847 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5115/1.046, allocations: 132.6 MB / 1.014 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/1.046, allocations: 71.14 kB / 1.014 GB, free: 5.969 MB / 0.6355 GB 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.004799/1.051, allocations: 1.379 MB / 1.016 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/1.051, allocations: 12 kB / 1.016 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/1.051, allocations: 7.906 kB / 1.016 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/1.051, allocations: 163.5 kB / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/1.051, allocations: 4 kB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/1.051, allocations: 0.75 kB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.603e-05/1.051, allocations: 17.12 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.221e-05/1.051, allocations: 52.67 kB / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/1.051, allocations: 4 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/1.051, allocations: 3.906 kB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/1.051, allocations: 0 / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/1.052, allocations: 250.6 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/1.052, allocations: 40.88 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/1.052, allocations: 19.3 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003554/1.052, allocations: 413.5 kB / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/1.052, allocations: 34.55 kB / 1.017 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/1.052, allocations: 0 / 1.017 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002142/1.053, allocations: 48.67 kB / 1.017 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/1.053, allocations: 51.41 kB / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.729e-05/1.053, allocations: 104.7 kB / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/1.053, allocations: 25.7 kB / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.578e-05/1.053, allocations: 80.14 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/1.053, allocations: 11.91 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/1.053, allocations: 0 / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001051/1.053, allocations: 317.6 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.173e-05/1.053, allocations: 7.812 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.672e-05/1.053, allocations: 7 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.486e-05/1.053, allocations: 4 kB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.053, allocations: 7.844 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001106/1.053, allocations: 52.75 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/1.053, allocations: 6.344 kB / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/1.053, allocations: 4 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/1.053, allocations: 0 / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/1.053, allocations: 15.98 kB / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/1.053, allocations: 0 / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.959e-05/1.053, allocations: 15.42 kB / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/1.053, allocations: 7.906 kB / 1.017 GB, free: 2.77 MB / 0.6355 GB 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 6.478e-05/1.054, allocations: 101 kB / 1.017 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/1.054, allocations: 4.188 kB / 1.017 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/1.054, allocations: 64.41 kB / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/1.054, allocations: 3.906 kB / 1.017 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/1.054, allocations: 4 kB / 1.017 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/1.054, allocations: 0 / 1.017 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/1.054, allocations: 152.9 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.054, allocations: 4 kB / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.065e-05/1.054, allocations: 15.98 kB / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/1.054, allocations: 0 / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/1.054, allocations: 0 / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/1.054, allocations: 0 / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.054, allocations: 0 / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001354/1.054, allocations: 150.6 kB / 1.018 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00024/1.054, allocations: 0.5179 MB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.02e-05/1.054, allocations: 85 kB / 1.018 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/1.055, allocations: 0 / 1.018 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/1.055, allocations: 12 kB / 1.018 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/1.055, allocations: 11.92 kB / 1.018 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/1.055, allocations: 0 / 1.018 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.034e-05/1.055, allocations: 82.59 kB / 1.018 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008044/1.056, allocations: 31.8 kB / 1.018 GB, free: 1.477 MB / 0.6355 GB 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.000226/1.056, allocations: 119.2 kB / 1.019 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.041e-05/1.056, allocations: 23.06 kB / 1.019 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.056, allocations: 4 kB / 1.019 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.071e-05/1.056, allocations: 15.44 kB / 1.019 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/1.056, allocations: 7.891 kB / 1.019 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002686/1.056, allocations: 63.28 kB / 1.019 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/1.057, allocations: 0.6987 MB / 1.019 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of SimCode: time 2.1e-07/1.057, allocations: 0 / 1.019 GB, free: 0.5117 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)