Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_SmoothBlocks",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.507/4.507, allocations: 404 MB / 410.9 MB, free: 4.914 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2542/4.761, allocations: 95 MB / 0.4941 GB, free: 7.332 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5344/5.295, allocations: 92.67 MB / 0.5846 GB, free: 3.414 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2487/5.544, allocations: 121.2 MB / 0.7029 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/5.544, allocations: 83.94 kB / 0.703 GB, free: 12.47 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.03053/5.575, allocations: 5.035 MB / 0.7079 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/5.575, allocations: 12 kB / 0.7079 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/5.577, allocations: 139.7 kB / 0.708 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/5.577, allocations: 185.1 kB / 0.7082 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/5.577, allocations: 59.41 kB / 0.7083 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/5.577, allocations: 4 kB / 0.7083 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003484/5.577, allocations: 75.92 kB / 0.7084 GB, free: 6.863 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/5.578, allocations: 116.7 kB / 0.7085 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/5.578, allocations: 0 / 0.7085 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/5.578, allocations: 0 / 0.7085 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/5.578, allocations: 0 / 0.7085 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/5.58, allocations: 482.4 kB / 0.7089 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/5.58, allocations: 82.58 kB / 0.709 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/5.58, allocations: 44.97 kB / 0.709 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-05/5.58, allocations: 0 / 0.709 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/5.581, allocations: 30.56 kB / 0.7091 GB, free: 6.062 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 4.028e-06/5.581, allocations: 3.938 kB / 0.7091 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0005318/5.581, allocations: 117.6 kB / 0.7092 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/5.581, allocations: 51.41 kB / 0.7092 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/5.581, allocations: 121 kB / 0.7094 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/5.581, allocations: 25.7 kB / 0.7094 GB, free: 5.719 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/5.582, allocations: 104.1 kB / 0.7095 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/5.582, allocations: 23.66 kB / 0.7095 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.732e-05/5.582, allocations: 0 / 0.7095 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001611/5.582, allocations: 322.8 kB / 0.7098 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/5.582, allocations: 36.64 kB / 0.7098 GB, free: 5.227 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/5.582, allocations: 50.58 kB / 0.7099 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/5.582, allocations: 27.98 kB / 0.7099 GB, free: 5.141 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/5.582, allocations: 0 / 0.7099 GB, free: 5.141 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004065/5.583, allocations: 113.5 kB / 0.71 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/5.583, allocations: 8 kB / 0.71 GB, free: 5.016 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/5.583, allocations: 4.062 kB / 0.71 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/5.583, allocations: 0 / 0.71 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006455/5.583, allocations: 47.95 kB / 0.7101 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/5.583, allocations: 7.938 kB / 0.7101 GB, free: 4.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004856/5.584, allocations: 39.86 kB / 0.7101 GB, free: 4.918 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/5.584, allocations: 8 kB / 0.7101 GB, free: 4.91 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001453/5.584, allocations: 103.2 kB / 0.7102 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.71e-05/5.584, allocations: 7.906 kB / 0.7102 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005657/5.585, allocations: 130 kB / 0.7104 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/5.585, allocations: 0 / 0.7104 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/5.585, allocations: 0 / 0.7104 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/5.585, allocations: 0 / 0.7104 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/5.585, allocations: 202.8 kB / 0.7106 GB, free: 4.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/5.585, allocations: 3.906 kB / 0.7106 GB, free: 4.426 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005578/5.586, allocations: 55.89 kB / 0.7106 GB, free: 4.371 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/5.586, allocations: 0 / 0.7106 GB, free: 4.371 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/5.586, allocations: 0 / 0.7106 GB, free: 4.371 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/5.586, allocations: 0 / 0.7106 GB, free: 4.371 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/5.586, allocations: 0 / 0.7106 GB, free: 4.371 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004452/5.586, allocations: 211.6 kB / 0.7108 GB, free: 4.148 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006509/5.587, allocations: 0.5739 MB / 0.7114 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.533e-05/5.587, allocations: 92.94 kB / 0.7115 GB, free: 3.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/5.587, allocations: 0 / 0.7115 GB, free: 3.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007694/5.588, allocations: 51.95 kB / 0.7115 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/5.588, allocations: 3.984 kB / 0.7115 GB, free: 3.391 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/5.588, allocations: 7.984 kB / 0.7115 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001154/5.588, allocations: 95.28 kB / 0.7116 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00149/5.59, allocations: 31.83 kB / 0.7116 GB, free: 3.258 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 (6): * Single equations (assignments): 6 * 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.0002154/5.59, allocations: 103 kB / 0.7117 GB, free: 3.148 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003906/5.59, allocations: 83.92 kB / 0.7118 GB, free: 3.066 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/5.59, allocations: 4.125 kB / 0.7118 GB, free: 3.062 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/5.591, allocations: 36 kB / 0.7119 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/5.591, allocations: 11.98 kB / 0.7119 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006924/5.592, allocations: 135.5 kB / 0.712 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005459/5.592, allocations: 0.727 MB / 0.7127 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of SimCode: time 9.92e-07/5.592, allocations: 0 / 0.7127 GB, free: 2.105 MB / 0.5886 GB