Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.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.Examples.FallingFactorial,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_FallingFactorial",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 2.857/2.857, allocations: 248.6 MB / 255.9 MB, free: 360 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002586/0.002585, allocations: 189.7 kB / 315.1 MB, free: 7.781 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.73/2.73, allocations: 205.1 MB / 0.5658 GB, free: 25.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001982/0.001982, allocations: 85.27 kB / 0.67 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3902/0.3922, allocations: 112.4 MB / 0.7797 GB, free: 2.48 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5602/0.9524, allocations: 106.2 MB / 0.8835 GB, free: 77.19 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2159/1.168, allocations: 131.1 MB / 1.011 GB, free: 9.906 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/1.169, allocations: 71.95 kB / 1.012 GB, free: 9.836 MB / 0.6667 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.005468/1.174, allocations: 1.09 MB / 1.013 GB, free: 8.699 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/1.174, allocations: 11.98 kB / 1.013 GB, free: 8.688 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/1.174, allocations: 4 kB / 1.013 GB, free: 8.684 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/1.174, allocations: 163 kB / 1.013 GB, free: 8.484 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/1.175, allocations: 7.938 kB / 1.013 GB, free: 8.477 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/1.175, allocations: 0 / 1.013 GB, free: 8.477 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001208/1.175, allocations: 23.94 kB / 1.013 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/1.175, allocations: 45.67 kB / 1.013 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/1.175, allocations: 0 / 1.013 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/1.175, allocations: 4 kB / 1.013 GB, free: 8.398 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/1.175, allocations: 7.906 kB / 1.013 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/1.175, allocations: 249.4 kB / 1.013 GB, free: 8.109 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/1.176, allocations: 46.5 kB / 1.013 GB, free: 8.055 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.243e-05/1.176, allocations: 20.84 kB / 1.013 GB, free: 8.031 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000377/1.176, allocations: 401.6 kB / 1.014 GB, free: 7.547 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/1.176, allocations: 30.56 kB / 1.014 GB, free: 7.508 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 2.745e-06/1.176, allocations: 0 / 1.014 GB, free: 7.508 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0002765/1.177, allocations: 49.69 kB / 1.014 GB, free: 7.453 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/1.177, allocations: 51.41 kB / 1.014 GB, free: 7.391 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/1.177, allocations: 101.1 kB / 1.014 GB, free: 7.285 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/1.177, allocations: 25.7 kB / 1.014 GB, free: 7.254 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/1.177, allocations: 92.14 kB / 1.014 GB, free: 7.16 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/1.177, allocations: 3.906 kB / 1.014 GB, free: 7.156 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/1.177, allocations: 3.938 kB / 1.014 GB, free: 7.152 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.177, allocations: 314.8 kB / 1.014 GB, free: 6.836 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.802e-05/1.177, allocations: 8 kB / 1.014 GB, free: 6.828 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.542e-05/1.177, allocations: 8 kB / 1.014 GB, free: 6.82 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.477e-05/1.177, allocations: 4 kB / 1.014 GB, free: 6.816 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-06/1.177, allocations: 4 kB / 1.014 GB, free: 6.812 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002085/1.178, allocations: 53.59 kB / 1.014 GB, free: 6.754 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/1.178, allocations: 4 kB / 1.014 GB, free: 6.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/1.178, allocations: 4.062 kB / 1.014 GB, free: 6.746 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/1.178, allocations: 4 kB / 1.014 GB, free: 6.742 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/1.178, allocations: 15.98 kB / 1.014 GB, free: 6.727 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/1.178, allocations: 0 / 1.014 GB, free: 6.727 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/1.178, allocations: 11.98 kB / 1.014 GB, free: 6.715 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/1.178, allocations: 7.938 kB / 1.014 GB, free: 6.707 MB / 0.6667 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 (falFac.y,falFac.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 0.0001044/1.178, allocations: 108.9 kB / 1.014 GB, free: 6.594 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/1.178, allocations: 0 / 1.014 GB, free: 6.594 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/1.178, allocations: 61.3 kB / 1.014 GB, free: 6.527 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/1.178, allocations: 4 kB / 1.014 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.006e-06/1.178, allocations: 3.906 kB / 1.014 GB, free: 6.52 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/1.178, allocations: 0 / 1.014 GB, free: 6.52 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/1.179, allocations: 138.2 kB / 1.015 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/1.179, allocations: 4 kB / 1.015 GB, free: 6.344 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/1.179, allocations: 15.98 kB / 1.015 GB, free: 6.328 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/1.179, allocations: 3.938 kB / 1.015 GB, free: 6.324 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/1.179, allocations: 0 / 1.015 GB, free: 6.324 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.179, allocations: 4 kB / 1.015 GB, free: 6.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.179, allocations: 0 / 1.015 GB, free: 6.32 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002227/1.179, allocations: 154 kB / 1.015 GB, free: 6.156 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004028/1.18, allocations: 0.5157 MB / 1.015 GB, free: 5.621 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/1.18, allocations: 81.11 kB / 1.015 GB, free: 5.523 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/1.18, allocations: 3.953 kB / 1.015 GB, free: 5.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/1.18, allocations: 11.98 kB / 1.015 GB, free: 5.508 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/1.18, allocations: 11.98 kB / 1.015 GB, free: 5.496 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/1.18, allocations: 0 / 1.015 GB, free: 5.496 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.768e-05/1.18, allocations: 79.28 kB / 1.015 GB, free: 5.418 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001148/1.181, allocations: 27.92 kB / 1.015 GB, free: 5.391 MB / 0.6667 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 (falFac.y,falFac.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.0002947/1.182, allocations: 103.2 kB / 1.016 GB, free: 5.281 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001616/1.182, allocations: 23.92 kB / 1.016 GB, free: 5.258 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.182, allocations: 4 kB / 1.016 GB, free: 5.254 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.813e-05/1.182, allocations: 16 kB / 1.016 GB, free: 5.238 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/1.182, allocations: 3.906 kB / 1.016 GB, free: 5.234 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/1.182, allocations: 75.75 kB / 1.016 GB, free: 5.137 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003676/1.183, allocations: 0.6915 MB / 1.016 GB, free: 4.422 MB / 0.6667 GB Notification: Performance of SimCode: time 1.123e-06/1.183, allocations: 0 / 1.016 GB, free: 4.422 MB / 0.6667 GB