Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.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.Functions.Examples.Binomial,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.491/2.491, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.001614/0.001614, allocations: 185.2 kB / 360.3 MB, free: 7.516 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.933/1.933, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001263/0.001263, allocations: 102.6 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2692/0.2705, allocations: 121.4 MB / 0.8502 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6176/0.8882, allocations: 115.2 MB / 0.9627 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.257/1.145, allocations: 136.6 MB / 1.096 GB, free: 4.199 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/1.146, allocations: 69.73 kB / 1.096 GB, free: 4.133 MB / 0.698 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.006227/1.152, allocations: 1.275 MB / 1.097 GB, free: 2.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/1.152, allocations: 8.5 kB / 1.098 GB, free: 2.832 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.777e-05/1.152, allocations: 11.89 kB / 1.098 GB, free: 2.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/1.152, allocations: 168.2 kB / 1.098 GB, free: 2.617 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003433/1.152, allocations: 273.9 kB / 1.098 GB, free: 2.289 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/1.152, allocations: 6.25 kB / 1.098 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003606/1.153, allocations: 122 kB / 1.098 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/1.153, allocations: 69.48 kB / 1.098 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/1.153, allocations: 0 / 1.098 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/1.153, allocations: 0 / 1.098 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/1.153, allocations: 5.406 kB / 1.098 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/1.153, allocations: 150.7 kB / 1.098 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/1.154, allocations: 87.58 kB / 1.098 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.43e-05/1.154, allocations: 32.84 kB / 1.098 GB, free: 1.777 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/1.154, allocations: 5.016 kB / 1.098 GB, free: 1.773 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/1.154, allocations: 34.38 kB / 1.098 GB, free: 1.734 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 2.084e-06/1.154, allocations: 4 kB / 1.098 GB, free: 1.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0005236/1.154, allocations: 94.77 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/1.154, allocations: 51.41 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.021e-05/1.154, allocations: 85.62 kB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/1.154, allocations: 25.7 kB / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/1.154, allocations: 81.05 kB / 1.099 GB, free: 1.363 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.497e-05/1.155, allocations: 40.42 kB / 1.099 GB, free: 1.324 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/1.155, allocations: 0 / 1.099 GB, free: 1.324 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.155, allocations: 315.6 kB / 1.099 GB, free: 1.008 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-05/1.155, allocations: 23.98 kB / 1.099 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.996e-05/1.155, allocations: 29.47 kB / 1.099 GB, free: 0.957 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/1.155, allocations: 32.22 kB / 1.099 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.155, allocations: 4 kB / 1.099 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004355/1.156, allocations: 100.1 kB / 1.099 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/1.156, allocations: 7.031 kB / 1.099 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/1.156, allocations: 4 kB / 1.099 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/1.156, allocations: 0 / 1.099 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/1.156, allocations: 19.98 kB / 1.099 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.842e-06/1.156, allocations: 0.8125 kB / 1.099 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/1.156, allocations: 11.89 kB / 1.099 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/1.156, allocations: 10.31 kB / 1.099 GB, free: 0.7773 MB / 0.698 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 0.0001013/1.156, allocations: 109.5 kB / 1.099 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/1.156, allocations: 8.469 kB / 1.099 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.019e-05/1.156, allocations: 8.438 kB / 1.099 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/1.156, allocations: 0.5312 kB / 1.099 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.156, allocations: 0.75 kB / 1.099 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/1.157, allocations: 4.484 kB / 1.099 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/1.157, allocations: 151.5 kB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.157, allocations: 0 / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/1.157, allocations: 23.97 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/1.157, allocations: 0 / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/1.157, allocations: 5.219 kB / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/1.157, allocations: 5.734 kB / 1.1 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.157, allocations: 0 / 1.1 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004723/1.158, allocations: 129.5 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000566/1.158, allocations: 0.4996 MB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/1.158, allocations: 93.86 kB / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/1.158, allocations: 0.9375 kB / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/1.158, allocations: 4.844 kB / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/1.159, allocations: 11.97 kB / 1.1 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/1.159, allocations: 4.531 kB / 1.1 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.263e-05/1.159, allocations: 79.28 kB / 1.1 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001163/1.16, allocations: 23.98 kB / 1.1 GB, free: 15.54 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: 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.0002982/1.16, allocations: 130.4 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002544/1.16, allocations: 63.91 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.16, allocations: 0 / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/1.16, allocations: 44.8 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/1.161, allocations: 1.031 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000442/1.161, allocations: 112.5 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004185/1.162, allocations: 0.7085 MB / 1.101 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of SimCode: time 1.202e-06/1.162, allocations: 0 / 1.101 GB, free: 14.43 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)