Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_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.1-maint.8.0.x/package.mo): time 1.473/1.473, allocations: 285.5 MB / 292.8 MB, free: 9.898 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.0009351/0.0009352, allocations: 183.6 kB / 361.1 MB, free: 376 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.268/1.268, allocations: 205.1 MB / 0.6195 GB, free: 2.895 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.0009106/0.0009107, allocations: 98.41 kB / 0.7326 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4644/0.4654, allocations: 121.4 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.6719, allocations: 115.3 MB / 0.9638 GB, free: 56.26 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5627/1.235, allocations: 136.8 MB / 1.097 GB, free: 43.95 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/1.235, allocations: 74.94 kB / 1.097 GB, free: 43.95 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.003396/1.238, allocations: 1.26 MB / 1.099 GB, free: 43.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/1.238, allocations: 15.5 kB / 1.099 GB, free: 43.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/1.238, allocations: 8.531 kB / 1.099 GB, free: 43.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.659e-05/1.238, allocations: 165.5 kB / 1.099 GB, free: 43.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/1.239, allocations: 278 kB / 1.099 GB, free: 43.08 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/1.239, allocations: 3.469 kB / 1.099 GB, free: 43.08 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001656/1.239, allocations: 118.3 kB / 1.099 GB, free: 43.08 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.054e-05/1.239, allocations: 73.38 kB / 1.099 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/1.239, allocations: 3.906 kB / 1.099 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/1.239, allocations: 0 / 1.099 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/1.239, allocations: 0.75 kB / 1.099 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/1.239, allocations: 160.1 kB / 1.099 GB, free: 42.88 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.301e-05/1.239, allocations: 77.23 kB / 1.1 GB, free: 42.85 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.325e-05/1.239, allocations: 33.16 kB / 1.1 GB, free: 42.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/1.239, allocations: 7.094 kB / 1.1 GB, free: 42.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.345e-05/1.239, allocations: 31.59 kB / 1.1 GB, free: 42.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/1.239, allocations: 3.938 kB / 1.1 GB, free: 42.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0003177/1.24, allocations: 102.9 kB / 1.1 GB, free: 42.76 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/1.24, allocations: 55.28 kB / 1.1 GB, free: 42.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.037e-05/1.24, allocations: 85 kB / 1.1 GB, free: 42.61 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/1.24, allocations: 25.7 kB / 1.1 GB, free: 42.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.473e-05/1.24, allocations: 80.8 kB / 1.1 GB, free: 42.49 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/1.24, allocations: 34.16 kB / 1.1 GB, free: 42.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-06/1.24, allocations: 0 / 1.1 GB, free: 42.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.134e-05/1.24, allocations: 316.5 kB / 1.1 GB, free: 42.15 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.741e-05/1.24, allocations: 30.23 kB / 1.1 GB, free: 42.15 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.084e-05/1.24, allocations: 25.44 kB / 1.1 GB, free: 42.14 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/1.24, allocations: 27.8 kB / 1.1 GB, free: 42.14 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.24, allocations: 0 / 1.1 GB, free: 42.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002335/1.24, allocations: 99.91 kB / 1.1 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/1.24, allocations: 7.5 kB / 1.1 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/1.24, allocations: 0 / 1.1 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/1.24, allocations: 0 / 1.1 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/1.241, allocations: 26.27 kB / 1.1 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/1.241, allocations: 0 / 1.1 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.718e-05/1.241, allocations: 7.781 kB / 1.1 GB, free: 42.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/1.241, allocations: 15.11 kB / 1.101 GB, free: 42.1 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 5.264e-05/1.241, allocations: 104.9 kB / 1.101 GB, free: 41.99 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/1.241, allocations: 4.984 kB / 1.101 GB, free: 41.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/1.241, allocations: 7.594 kB / 1.101 GB, free: 41.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.241, allocations: 3.875 kB / 1.101 GB, free: 41.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.241, allocations: 0 / 1.101 GB, free: 41.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.241, allocations: 0 / 1.101 GB, free: 41.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.172e-05/1.241, allocations: 154.8 kB / 1.101 GB, free: 41.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/1.241, allocations: 0 / 1.101 GB, free: 41.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/1.241, allocations: 32.36 kB / 1.101 GB, free: 41.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.241, allocations: 3.188 kB / 1.101 GB, free: 41.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/1.241, allocations: 3.844 kB / 1.101 GB, free: 41.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/1.241, allocations: 0 / 1.101 GB, free: 41.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.241, allocations: 3.188 kB / 1.101 GB, free: 41.82 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002572/1.241, allocations: 131.4 kB / 1.101 GB, free: 57.74 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003637/1.242, allocations: 0.4993 MB / 1.101 GB, free: 57.29 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/1.242, allocations: 88.97 kB / 1.102 GB, free: 57.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/1.242, allocations: 3.906 kB / 1.102 GB, free: 57.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.411e-05/1.242, allocations: 3.875 kB / 1.102 GB, free: 57.18 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/1.242, allocations: 14.66 kB / 1.102 GB, free: 57.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/1.242, allocations: 7.703 kB / 1.102 GB, free: 57.18 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.128e-05/1.242, allocations: 75.28 kB / 1.102 GB, free: 57.11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007533/1.243, allocations: 26.56 kB / 1.102 GB, free: 57.11 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: 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.0002063/1.243, allocations: 129.6 kB / 1.102 GB, free: 57 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001288/1.243, allocations: 65.47 kB / 1.102 GB, free: 57 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.243, allocations: 0 / 1.102 GB, free: 57 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.004e-05/1.243, allocations: 41.48 kB / 1.102 GB, free: 57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.652e-05/1.243, allocations: 6.594 kB / 1.102 GB, free: 57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002629/1.243, allocations: 103.9 kB / 1.102 GB, free: 56.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003297/1.244, allocations: 0.7092 MB / 1.103 GB, free: 56.22 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/1.244, allocations: 0 / 1.103 GB, free: 56.22 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)