Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.641/1.641, 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.001334/0.001334, allocations: 173.3 kB / 366.3 MB, free: 2.012 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.528/1.528, 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.0009395/0.0009395, allocations: 83.06 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.303/0.304, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7035/1.008, allocations: 116.3 MB / 0.9726 GB, free: 68.27 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1871/1.195, allocations: 138.8 MB / 1.108 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003639/1.195, allocations: 72.48 kB / 1.108 GB, free: 9.613 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.005157/1.2, allocations: 1.388 MB / 1.11 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/1.2, allocations: 12.56 kB / 1.11 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/1.2, allocations: 3.906 kB / 1.11 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/1.201, allocations: 167 kB / 1.11 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/1.201, allocations: 0 / 1.11 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/1.201, allocations: 4 kB / 1.11 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.418e-05/1.201, allocations: 23.98 kB / 1.11 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.752e-05/1.201, allocations: 42.53 kB / 1.11 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/1.201, allocations: 0 / 1.11 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/1.201, allocations: 0 / 1.11 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/1.201, allocations: 4 kB / 1.11 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/1.201, allocations: 257.2 kB / 1.11 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/1.202, allocations: 42.56 kB / 1.11 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/1.202, allocations: 12.92 kB / 1.11 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004369/1.202, allocations: 413.6 kB / 1.111 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/1.202, allocations: 38.47 kB / 1.111 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/1.202, allocations: 0.75 kB / 1.111 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002992/1.202, allocations: 49.62 kB / 1.111 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/1.203, allocations: 51.41 kB / 1.111 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/1.203, allocations: 93 kB / 1.111 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/1.203, allocations: 29.7 kB / 1.111 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.454e-05/1.203, allocations: 88.05 kB / 1.111 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/1.203, allocations: 11.89 kB / 1.111 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/1.203, allocations: 0 / 1.111 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.203, allocations: 315.8 kB / 1.111 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.871e-05/1.203, allocations: 8 kB / 1.111 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.512e-05/1.203, allocations: 6.594 kB / 1.111 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.976e-05/1.203, allocations: 8 kB / 1.111 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.203, allocations: 0 / 1.111 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001305/1.203, allocations: 53.53 kB / 1.111 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/1.203, allocations: 8 kB / 1.111 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.203, allocations: 4 kB / 1.111 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/1.203, allocations: 0 / 1.111 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/1.203, allocations: 12.23 kB / 1.111 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/1.203, allocations: 4.562 kB / 1.111 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/1.203, allocations: 15.92 kB / 1.111 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/1.204, allocations: 8 kB / 1.111 GB, free: 6.199 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 8.696e-05/1.204, allocations: 105 kB / 1.111 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/1.204, allocations: 3.906 kB / 1.111 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/1.204, allocations: 57.36 kB / 1.111 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/1.204, allocations: 1.453 kB / 1.111 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/1.204, allocations: 0 / 1.111 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.204, allocations: 3.984 kB / 1.111 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/1.204, allocations: 150.2 kB / 1.112 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/1.204, allocations: 4 kB / 1.112 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.977e-05/1.204, allocations: 15.92 kB / 1.112 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/1.204, allocations: 4 kB / 1.112 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/1.204, allocations: 0 / 1.112 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/1.204, allocations: 0 / 1.112 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.204, allocations: 0 / 1.112 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001662/1.204, allocations: 151.5 kB / 1.112 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002763/1.205, allocations: 0.5194 MB / 1.112 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/1.205, allocations: 81.05 kB / 1.112 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/1.205, allocations: 1.219 kB / 1.112 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/1.205, allocations: 15.98 kB / 1.112 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/1.205, allocations: 4 kB / 1.112 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/1.205, allocations: 4 kB / 1.112 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.272e-05/1.205, allocations: 83.27 kB / 1.112 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009693/1.206, allocations: 35.78 kB / 1.113 GB, free: 4.863 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: 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.0002389/1.206, allocations: 115.2 kB / 1.113 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001023/1.206, allocations: 20 kB / 1.113 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.206, allocations: 4 kB / 1.113 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.713e-05/1.206, allocations: 15.92 kB / 1.113 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/1.207, allocations: 9.312 kB / 1.113 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/1.207, allocations: 63.78 kB / 1.113 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/1.207, allocations: 0.6954 MB / 1.113 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of SimCode: time 6.52e-07/1.207, allocations: 0 / 1.113 GB, free: 3.891 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)