Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Functions_Examples_Polynomial",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.606/4.606, allocations: 404 MB / 410.9 MB, free: 4.934 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2971/4.903, allocations: 95.01 MB / 0.4941 GB, free: 7.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.558/5.462, allocations: 92.68 MB / 0.5846 GB, free: 3.391 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2874/5.749, allocations: 118.7 MB / 0.7005 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003709/5.75, allocations: 67.95 kB / 0.7006 GB, free: 14.96 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001927/5.751, allocations: 484.9 kB / 0.701 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/5.752, allocations: 12 kB / 0.701 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/5.752, allocations: 0 / 0.701 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/5.752, allocations: 159.1 kB / 0.7012 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/5.752, allocations: 0 / 0.7012 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/5.752, allocations: 4 kB / 0.7012 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.381e-05/5.752, allocations: 4 kB / 0.7012 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.56e-05/5.752, allocations: 37.53 kB / 0.7012 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/5.752, allocations: 0 / 0.7012 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/5.752, allocations: 3.984 kB / 0.7012 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/5.752, allocations: 4 kB / 0.7012 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/5.752, allocations: 122.2 kB / 0.7014 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.193e-05/5.752, allocations: 22.52 kB / 0.7014 GB, free: 13.99 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.504e-05/5.752, allocations: 12.95 kB / 0.7014 GB, free: 13.97 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.776e-05/5.752, allocations: 0 / 0.7014 GB, free: 13.97 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.327e-05/5.752, allocations: 30.56 kB / 0.7014 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/5.752, allocations: 0 / 0.7014 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.000209/5.753, allocations: 37.62 kB / 0.7015 GB, free: 13.89 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/5.753, allocations: 51.41 kB / 0.7015 GB, free: 13.83 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.281e-05/5.753, allocations: 85 kB / 0.7016 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/5.753, allocations: 33.73 kB / 0.7016 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/5.753, allocations: 80.14 kB / 0.7017 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/5.753, allocations: 3.906 kB / 0.7017 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/5.753, allocations: 0 / 0.7017 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001415/5.753, allocations: 318.8 kB / 0.702 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.156e-05/5.753, allocations: 0 / 0.702 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.522e-05/5.753, allocations: 4 kB / 0.702 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.592e-05/5.753, allocations: 0 / 0.702 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/5.753, allocations: 0 / 0.702 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001186/5.753, allocations: 41.75 kB / 0.702 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/5.753, allocations: 4 kB / 0.702 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/5.753, allocations: 3.906 kB / 0.702 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/5.753, allocations: 0 / 0.702 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/5.753, allocations: 4 kB / 0.7021 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/5.753, allocations: 0 / 0.7021 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.473e-05/5.753, allocations: 3.938 kB / 0.7021 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/5.754, allocations: 0 / 0.7021 GB, free: 13.23 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 (1): * Single equations (assignments): 1 * 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 8.163e-05/5.754, allocations: 108.4 kB / 0.7022 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/5.754, allocations: 4.031 kB / 0.7022 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/5.754, allocations: 44.59 kB / 0.7022 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/5.754, allocations: 0 / 0.7022 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/5.754, allocations: 0 / 0.7022 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/5.754, allocations: 4 kB / 0.7022 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/5.754, allocations: 134.3 kB / 0.7023 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/5.754, allocations: 0 / 0.7023 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.662e-05/5.754, allocations: 4 kB / 0.7023 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/5.754, allocations: 4 kB / 0.7023 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/5.754, allocations: 0 / 0.7023 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/5.754, allocations: 3.938 kB / 0.7024 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/5.754, allocations: 0 / 0.7024 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001474/5.754, allocations: 68.97 kB / 0.7024 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002645/5.755, allocations: 437.4 kB / 0.7028 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/5.755, allocations: 77.11 kB / 0.7029 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/5.755, allocations: 4 kB / 0.7029 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.042e-05/5.755, allocations: 0 / 0.7029 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/5.755, allocations: 0 / 0.7029 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/5.755, allocations: 0 / 0.7029 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.595e-05/5.755, allocations: 79.34 kB / 0.703 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001466/5.756, allocations: 8 kB / 0.703 GB, free: 12.16 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 (1): * Single equations (assignments): 1 * 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.0002459/5.757, allocations: 111 kB / 0.7031 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.563e-05/5.757, allocations: 11.94 kB / 0.7031 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/5.757, allocations: 0 / 0.7031 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.474e-05/5.757, allocations: 4 kB / 0.7031 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/5.757, allocations: 4.031 kB / 0.7031 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002253/5.757, allocations: 44.08 kB / 0.7032 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/5.758, allocations: 0.6879 MB / 0.7038 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of SimCode: time 7.52e-07/5.758, allocations: 0 / 0.7038 GB, free: 11.23 MB / 0.5886 GB