Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.526/2.526, allocations: 284.8 MB / 292.1 MB, free: 9.91 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.001633/0.001632, allocations: 183.1 kB / 360.3 MB, free: 1.02 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.035/2.035, allocations: 205.1 MB / 0.6187 GB, free: 3.309 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00128/0.001279, allocations: 101 kB / 0.7317 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5779/0.5792, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.8175, allocations: 115.3 MB / 0.9628 GB, free: 57.02 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7142/1.532, allocations: 137.7 MB / 1.097 GB, free: 44.66 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/1.532, allocations: 71.77 kB / 1.097 GB, free: 44.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.006193/1.538, allocations: 1.373 MB / 1.099 GB, free: 44.28 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/1.538, allocations: 11 kB / 1.099 GB, free: 44.28 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/1.538, allocations: 7.906 kB / 1.099 GB, free: 44.27 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.708e-05/1.539, allocations: 162.3 kB / 1.099 GB, free: 44.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/1.539, allocations: 3.906 kB / 1.099 GB, free: 44.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/1.539, allocations: 4.25 kB / 1.099 GB, free: 44.07 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001036/1.539, allocations: 16.72 kB / 1.099 GB, free: 44.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/1.539, allocations: 49.97 kB / 1.099 GB, free: 44.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/1.539, allocations: 3.188 kB / 1.099 GB, free: 44.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/1.539, allocations: 0 / 1.099 GB, free: 44.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/1.539, allocations: 2.188 kB / 1.099 GB, free: 44.04 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/1.539, allocations: 257 kB / 1.099 GB, free: 43.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/1.54, allocations: 40.23 kB / 1.099 GB, free: 43.77 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.273e-05/1.54, allocations: 20.2 kB / 1.099 GB, free: 43.76 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003902/1.54, allocations: 411 kB / 1.1 GB, free: 43.29 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/1.54, allocations: 34.56 kB / 1.1 GB, free: 43.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 2.074e-06/1.54, allocations: 0 / 1.1 GB, free: 43.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002305/1.54, allocations: 59.58 kB / 1.1 GB, free: 43.21 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/1.54, allocations: 51.41 kB / 1.1 GB, free: 43.14 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.408e-05/1.541, allocations: 96.2 kB / 1.1 GB, free: 43.05 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/1.541, allocations: 25.7 kB / 1.1 GB, free: 43.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.692e-05/1.541, allocations: 91.39 kB / 1.1 GB, free: 42.94 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/1.541, allocations: 7.906 kB / 1.1 GB, free: 42.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/1.541, allocations: 0 / 1.1 GB, free: 42.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.715e-05/1.541, allocations: 310.8 kB / 1.1 GB, free: 42.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.01e-05/1.541, allocations: 7.531 kB / 1.1 GB, free: 42.62 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.963e-05/1.541, allocations: 15.05 kB / 1.1 GB, free: 42.62 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.154e-05/1.541, allocations: 3.875 kB / 1.1 GB, free: 42.62 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.541, allocations: 0 / 1.1 GB, free: 42.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001344/1.541, allocations: 50.41 kB / 1.1 GB, free: 42.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/1.541, allocations: 11.03 kB / 1.1 GB, free: 42.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.541, allocations: 0 / 1.1 GB, free: 42.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/1.541, allocations: 7.906 kB / 1.1 GB, free: 42.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/1.541, allocations: 14.77 kB / 1.1 GB, free: 42.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/1.541, allocations: 0.6562 kB / 1.1 GB, free: 42.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/1.541, allocations: 17.2 kB / 1.1 GB, free: 42.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/1.541, allocations: 0 / 1.1 GB, free: 42.57 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: 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 5.79e-05/1.541, allocations: 107.7 kB / 1.1 GB, free: 42.46 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/1.541, allocations: 11.2 kB / 1.1 GB, free: 42.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/1.542, allocations: 53.19 kB / 1.1 GB, free: 42.42 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/1.542, allocations: 0 / 1.1 GB, free: 42.42 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.542, allocations: 0.75 kB / 1.1 GB, free: 42.42 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/1.542, allocations: 7.422 kB / 1.1 GB, free: 42.42 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/1.542, allocations: 133.4 kB / 1.101 GB, free: 42.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.542, allocations: 3.906 kB / 1.101 GB, free: 42.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/1.542, allocations: 22.91 kB / 1.101 GB, free: 42.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/1.542, allocations: 3.875 kB / 1.101 GB, free: 42.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/1.542, allocations: 3.797 kB / 1.101 GB, free: 42.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/1.542, allocations: 1.438 kB / 1.101 GB, free: 42.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.542, allocations: 3.938 kB / 1.101 GB, free: 42.25 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001559/1.542, allocations: 151.8 kB / 1.101 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002011/1.542, allocations: 0.5084 MB / 1.101 GB, free: 41.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.3e-05/1.543, allocations: 85.28 kB / 1.101 GB, free: 57.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/1.543, allocations: 3.797 kB / 1.101 GB, free: 57.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/1.543, allocations: 11.75 kB / 1.101 GB, free: 57.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.123e-05/1.543, allocations: 10.92 kB / 1.101 GB, free: 57.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/1.543, allocations: 3.984 kB / 1.101 GB, free: 57.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.048e-05/1.543, allocations: 80.72 kB / 1.101 GB, free: 57.43 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001274/1.544, allocations: 38.45 kB / 1.102 GB, free: 57.41 MB / 0.7292 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.0003435/1.545, allocations: 119.2 kB / 1.102 GB, free: 57.32 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001444/1.545, allocations: 16.66 kB / 1.102 GB, free: 57.32 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.545, allocations: 0 / 1.102 GB, free: 57.32 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.174e-05/1.545, allocations: 20.75 kB / 1.102 GB, free: 57.31 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/1.545, allocations: 6.234 kB / 1.102 GB, free: 57.31 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/1.545, allocations: 68.38 kB / 1.102 GB, free: 57.25 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/1.546, allocations: 0.6927 MB / 1.102 GB, free: 56.55 MB / 0.7292 GB Notification: Performance of SimCode: time 1.323e-06/1.546, allocations: 0 / 1.102 GB, free: 56.55 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)