Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_Polynominal",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.939/4.939, allocations: 404 MB / 410.9 MB, free: 4.914 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2823/5.222, allocations: 95 MB / 0.4941 GB, free: 7.363 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5643/5.786, allocations: 92.68 MB / 0.5846 GB, free: 3.418 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.29/6.076, allocations: 119.3 MB / 0.7011 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003459/6.076, allocations: 75.95 kB / 0.7012 GB, free: 14.34 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.004754/6.081, allocations: 0.8092 MB / 0.702 GB, free: 13.48 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/6.081, allocations: 12 kB / 0.702 GB, free: 13.47 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/6.081, allocations: 7.906 kB / 0.702 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/6.082, allocations: 167 kB / 0.7021 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/6.082, allocations: 4 kB / 0.7021 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/6.082, allocations: 0 / 0.7021 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001335/6.082, allocations: 19.98 kB / 0.7022 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/6.082, allocations: 33.7 kB / 0.7022 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/6.082, allocations: 7.984 kB / 0.7022 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/6.082, allocations: 3.906 kB / 0.7022 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/6.082, allocations: 3.984 kB / 0.7022 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006704/6.083, allocations: 249.5 kB / 0.7024 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/6.083, allocations: 38.48 kB / 0.7025 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.71e-05/6.083, allocations: 8.922 kB / 0.7025 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.702e-05/6.083, allocations: 4 kB / 0.7025 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/6.083, allocations: 34.47 kB / 0.7025 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.385e-06/6.083, allocations: 0 / 0.7025 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0003057/6.083, allocations: 53.69 kB / 0.7026 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/6.083, allocations: 51.41 kB / 0.7026 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/6.083, allocations: 96.98 kB / 0.7027 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/6.084, allocations: 25.7 kB / 0.7027 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/6.084, allocations: 84.14 kB / 0.7028 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/6.084, allocations: 11.84 kB / 0.7028 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/6.084, allocations: 3.938 kB / 0.7028 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001579/6.084, allocations: 310.8 kB / 0.7031 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.436e-05/6.084, allocations: 15.97 kB / 0.7032 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.102e-05/6.084, allocations: 11.98 kB / 0.7032 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.127e-05/6.084, allocations: 4 kB / 0.7032 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/6.084, allocations: 0 / 0.7032 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001874/6.084, allocations: 53.59 kB / 0.7032 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/6.084, allocations: 4 kB / 0.7032 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/6.084, allocations: 0 / 0.7032 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/6.084, allocations: 0 / 0.7032 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/6.085, allocations: 16.08 kB / 0.7032 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/6.085, allocations: 4 kB / 0.7032 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/6.085, allocations: 4 kB / 0.7032 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/6.085, allocations: 4 kB / 0.7033 GB, free: 12.01 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 (2): * Single equations (assignments): 2 * 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.61e-05/6.085, allocations: 108.9 kB / 0.7034 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/6.085, allocations: 4 kB / 0.7034 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/6.085, allocations: 65.5 kB / 0.7034 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/6.085, allocations: 0 / 0.7034 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/6.085, allocations: 0 / 0.7034 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/6.085, allocations: 3.906 kB / 0.7034 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/6.085, allocations: 142.2 kB / 0.7036 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/6.086, allocations: 0 / 0.7036 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/6.086, allocations: 12.02 kB / 0.7036 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/6.086, allocations: 4 kB / 0.7036 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/6.086, allocations: 0 / 0.7036 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/6.086, allocations: 3.938 kB / 0.7036 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/6.086, allocations: 0 / 0.7036 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002353/6.086, allocations: 143.5 kB / 0.7037 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003913/6.086, allocations: 0.5194 MB / 0.7042 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-05/6.086, allocations: 77.11 kB / 0.7043 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/6.087, allocations: 0 / 0.7043 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/6.087, allocations: 15.89 kB / 0.7043 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/6.087, allocations: 4 kB / 0.7043 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/6.087, allocations: 4 kB / 0.7043 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.104e-05/6.087, allocations: 87.3 kB / 0.7044 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001423/6.088, allocations: 8 kB / 0.7044 GB, free: 10.71 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 (2): * Single equations (assignments): 2 * 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.0002445/6.089, allocations: 103 kB / 0.7045 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000132/6.089, allocations: 16 kB / 0.7045 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/6.089, allocations: 0 / 0.7045 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.987e-05/6.089, allocations: 15.94 kB / 0.7045 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/6.089, allocations: 12.05 kB / 0.7046 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/6.089, allocations: 62.89 kB / 0.7046 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004075/6.09, allocations: 0.6958 MB / 0.7053 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of SimCode: time 1.202e-06/6.09, allocations: 0 / 0.7053 GB, free: 9.754 MB / 0.5886 GB