Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Average,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"dynamic"}) [: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 loadModel(Buildings): time 4.502/4.502, allocations: 404 MB / 410.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2846/4.786, allocations: 94.99 MB / 0.4941 GB, free: 7.352 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6452/5.431, allocations: 92.68 MB / 0.5846 GB, free: 3.395 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2523/5.684, allocations: 119.6 MB / 0.7013 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003604/5.684, allocations: 75.95 kB / 0.7014 GB, free: 14.09 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.007789/5.692, allocations: 1.18 MB / 0.7025 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/5.692, allocations: 8 kB / 0.7026 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/5.692, allocations: 7.906 kB / 0.7026 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/5.692, allocations: 183 kB / 0.7027 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/5.693, allocations: 11.92 kB / 0.7027 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/5.693, allocations: 3.906 kB / 0.7028 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001804/5.693, allocations: 31.98 kB / 0.7028 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/5.693, allocations: 61.61 kB / 0.7028 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/5.693, allocations: 0 / 0.7028 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/5.693, allocations: 0 / 0.7028 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/5.693, allocations: 4 kB / 0.7028 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00093/5.694, allocations: 313.3 kB / 0.7031 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/5.694, allocations: 42.52 kB / 0.7032 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.813e-05/5.694, allocations: 16.8 kB / 0.7032 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.108e-05/5.694, allocations: 4 kB / 0.7032 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/5.694, allocations: 34.64 kB / 0.7032 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.955e-06/5.694, allocations: 4 kB / 0.7032 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003608/5.695, allocations: 57.69 kB / 0.7033 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/5.695, allocations: 51.41 kB / 0.7033 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/5.695, allocations: 97.33 kB / 0.7034 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/5.695, allocations: 25.7 kB / 0.7035 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/5.695, allocations: 96.03 kB / 0.7036 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/5.695, allocations: 11.75 kB / 0.7036 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/5.695, allocations: 3.938 kB / 0.7036 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001766/5.695, allocations: 326.8 kB / 0.7039 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.277e-05/5.695, allocations: 8 kB / 0.7039 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.399e-05/5.695, allocations: 12 kB / 0.7039 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/5.696, allocations: 11.98 kB / 0.7039 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/5.696, allocations: 0 / 0.7039 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002253/5.696, allocations: 61.59 kB / 0.704 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/5.696, allocations: 4 kB / 0.704 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/5.696, allocations: 0 / 0.704 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/5.696, allocations: 0 / 0.704 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/5.696, allocations: 27.97 kB / 0.704 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/5.696, allocations: 3.984 kB / 0.704 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/5.696, allocations: 23.98 kB / 0.704 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/5.696, allocations: 8 kB / 0.704 GB, free: 11.18 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 9.139e-05/5.697, allocations: 101 kB / 0.7041 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/5.697, allocations: 7.906 kB / 0.7041 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/5.697, allocations: 69.61 kB / 0.7042 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/5.697, allocations: 0 / 0.7042 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/5.697, allocations: 3.984 kB / 0.7042 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/5.697, allocations: 7.938 kB / 0.7042 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/5.697, allocations: 158.1 kB / 0.7044 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/5.697, allocations: 0 / 0.7044 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/5.698, allocations: 27.91 kB / 0.7044 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/5.698, allocations: 240 / 0.7044 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/5.698, allocations: 0 / 0.7044 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/5.698, allocations: 4 kB / 0.7044 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/5.698, allocations: 4 kB / 0.7044 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00028/5.698, allocations: 163.4 kB / 0.7046 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000396/5.698, allocations: 0.5194 MB / 0.7051 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/5.698, allocations: 85.02 kB / 0.7051 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/5.698, allocations: 0 / 0.7051 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/5.699, allocations: 23.97 kB / 0.7052 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/5.699, allocations: 4 kB / 0.7052 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/5.699, allocations: 0 / 0.7052 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.171e-05/5.699, allocations: 99.31 kB / 0.7053 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001458/5.7, allocations: 15.91 kB / 0.7053 GB, free: 9.797 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.000228/5.701, allocations: 106.5 kB / 0.7054 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002017/5.701, allocations: 31.92 kB / 0.7054 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/5.701, allocations: 0 / 0.7054 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.693e-05/5.701, allocations: 16 kB / 0.7054 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/5.701, allocations: 4 kB / 0.7054 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005064/5.702, allocations: 100.7 kB / 0.7055 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004019/5.702, allocations: 0.7032 MB / 0.7062 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of SimCode: time 1.182e-06/5.702, allocations: 0 / 0.7062 GB, free: 8.785 MB / 0.5886 GB