Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 3.306/3.306, allocations: 248.6 MB / 255.9 MB, free: 7.109 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.003204/0.003204, allocations: 181.2 kB / 315.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.356/3.356, allocations: 205.1 MB / 0.5658 GB, free: 328 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.003225/0.003224, allocations: 101.5 kB / 0.67 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.7613/0.7646, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/1.093, allocations: 106.3 MB / 0.8835 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/2.111, allocations: 131.3 MB / 1.012 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004743/2.111, allocations: 78.31 kB / 1.012 GB, free: 8.758 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.01048/2.122, allocations: 1.276 MB / 1.013 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.362e-05/2.122, allocations: 12 kB / 1.013 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.783e-05/2.122, allocations: 7.984 kB / 1.013 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/2.122, allocations: 166.9 kB / 1.013 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000656/2.123, allocations: 285 kB / 1.014 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/2.123, allocations: 3.875 kB / 1.014 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005108/2.123, allocations: 117.9 kB / 1.014 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/2.124, allocations: 67.2 kB / 1.014 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/2.124, allocations: 3.938 kB / 1.014 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/2.124, allocations: 0 / 1.014 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/2.124, allocations: 3.938 kB / 1.014 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/2.124, allocations: 153.3 kB / 1.014 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/2.125, allocations: 75.92 kB / 1.014 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/2.125, allocations: 39.03 kB / 1.014 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.182e-05/2.125, allocations: 4 kB / 1.014 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/2.125, allocations: 30.56 kB / 1.014 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 4.679e-06/2.125, allocations: 0 / 1.014 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0008724/2.126, allocations: 95.12 kB / 1.014 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/2.126, allocations: 59.67 kB / 1.014 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.011e-05/2.126, allocations: 85 kB / 1.014 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/2.126, allocations: 25.7 kB / 1.014 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/2.126, allocations: 88.27 kB / 1.014 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/2.126, allocations: 31.23 kB / 1.014 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.547e-05/2.126, allocations: 0 / 1.014 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000204/2.127, allocations: 322.6 kB / 1.015 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/2.127, allocations: 22.23 kB / 1.015 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/2.127, allocations: 24.28 kB / 1.015 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004935/2.127, allocations: 33.11 kB / 1.015 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/2.127, allocations: 0 / 1.015 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000754/2.128, allocations: 99.03 kB / 1.015 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/2.128, allocations: 8 kB / 1.015 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/2.128, allocations: 0 / 1.015 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.167e-05/2.128, allocations: 3.906 kB / 1.015 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004763/2.129, allocations: 27.92 kB / 1.015 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/2.129, allocations: 0 / 1.015 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/2.129, allocations: 11.92 kB / 1.015 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/2.129, allocations: 0 / 1.015 GB, free: 5.586 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: 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.0001771/2.129, allocations: 105 kB / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.557e-05/2.129, allocations: 7.906 kB / 1.015 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.868e-05/2.129, allocations: 7.594 kB / 1.015 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/2.13, allocations: 4 kB / 1.015 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/2.13, allocations: 0 / 1.015 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/2.13, allocations: 3.984 kB / 1.015 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/2.13, allocations: 153.2 kB / 1.015 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/2.13, allocations: 0 / 1.015 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004537/2.13, allocations: 27.97 kB / 1.015 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.174e-05/2.13, allocations: 3.938 kB / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/2.131, allocations: 0 / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/2.131, allocations: 3.984 kB / 1.015 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/2.131, allocations: 7.906 kB / 1.015 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008261/2.131, allocations: 126.3 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001012/2.132, allocations: 0.4969 MB / 1.016 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.022e-05/2.133, allocations: 84.95 kB / 1.016 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/2.133, allocations: 8 kB / 1.016 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/2.133, allocations: 0.875 kB / 1.016 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/2.133, allocations: 11.97 kB / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/2.133, allocations: 7.938 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.001e-05/2.133, allocations: 75.28 kB / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002134/2.135, allocations: 39.58 kB / 1.016 GB, free: 4.367 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: 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.0004658/2.136, allocations: 115.2 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003551/2.136, allocations: 65.09 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/2.136, allocations: 11.88 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/2.137, allocations: 38.23 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/2.137, allocations: 7.125 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006245/2.137, allocations: 102.3 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005851/2.138, allocations: 0.7104 MB / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of SimCode: time 2.064e-06/2.138, allocations: 0 / 1.017 GB, free: 3.301 MB / 0.6355 GB