Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",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.571/4.571, allocations: 404 MB / 410.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2451/4.816, allocations: 95.02 MB / 0.4941 GB, free: 7.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5339/5.35, allocations: 92.68 MB / 0.5846 GB, free: 3.344 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2753/5.625, allocations: 120 MB / 0.7018 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/5.626, allocations: 91.86 kB / 0.7019 GB, free: 13.61 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.006401/5.632, allocations: 1.118 MB / 0.7029 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/5.632, allocations: 11.98 kB / 0.703 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/5.632, allocations: 7.906 kB / 0.703 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/5.632, allocations: 174.9 kB / 0.7031 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/5.632, allocations: 4 kB / 0.7031 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/5.632, allocations: 0 / 0.7031 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001194/5.633, allocations: 23.94 kB / 0.7032 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/5.633, allocations: 45.67 kB / 0.7032 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/5.633, allocations: 4 kB / 0.7032 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/5.633, allocations: 3.906 kB / 0.7032 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/5.633, allocations: 0 / 0.7032 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/5.633, allocations: 241.5 kB / 0.7034 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/5.633, allocations: 34.58 kB / 0.7035 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.028e-05/5.633, allocations: 24.84 kB / 0.7035 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/5.634, allocations: 0 / 0.7035 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/5.634, allocations: 34.5 kB / 0.7035 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/5.634, allocations: 0 / 0.7035 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002403/5.634, allocations: 45.69 kB / 0.7036 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/5.634, allocations: 59.31 kB / 0.7036 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/5.634, allocations: 105.3 kB / 0.7037 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/5.634, allocations: 29.7 kB / 0.7038 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/5.634, allocations: 88.12 kB / 0.7038 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/5.634, allocations: 7.906 kB / 0.7038 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/5.634, allocations: 0 / 0.7038 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001495/5.634, allocations: 318.8 kB / 0.7041 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.327e-05/5.634, allocations: 8 kB / 0.7042 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.441e-05/5.634, allocations: 8 kB / 0.7042 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.734e-05/5.634, allocations: 4 kB / 0.7042 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/5.634, allocations: 0 / 0.7042 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001761/5.635, allocations: 61.53 kB / 0.7042 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/5.635, allocations: 8 kB / 0.7042 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/5.635, allocations: 0 / 0.7042 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/5.635, allocations: 0 / 0.7042 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/5.635, allocations: 15.98 kB / 0.7043 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/5.635, allocations: 0 / 0.7043 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/5.635, allocations: 7.906 kB / 0.7043 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/5.635, allocations: 11.86 kB / 0.7043 GB, free: 10.93 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.411e-05/5.635, allocations: 109 kB / 0.7044 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/5.635, allocations: 3.906 kB / 0.7044 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.139e-05/5.635, allocations: 12 kB / 0.7044 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/5.635, allocations: 0 / 0.7044 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/5.635, allocations: 0 / 0.7044 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/5.635, allocations: 0 / 0.7044 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/5.636, allocations: 150.1 kB / 0.7045 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/5.636, allocations: 0 / 0.7045 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/5.636, allocations: 15.98 kB / 0.7045 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/5.636, allocations: 0 / 0.7045 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/5.636, allocations: 4 kB / 0.7046 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.345e-06/5.636, allocations: 0 / 0.7046 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/5.636, allocations: 3.938 kB / 0.7046 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003449/5.636, allocations: 151.4 kB / 0.7047 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003825/5.637, allocations: 0.5196 MB / 0.7052 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.308e-05/5.637, allocations: 81.02 kB / 0.7053 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/5.637, allocations: 4 kB / 0.7053 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/5.637, allocations: 11.98 kB / 0.7053 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/5.637, allocations: 0 / 0.7053 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/5.637, allocations: 0 / 0.7053 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.468e-05/5.637, allocations: 99.31 kB / 0.7054 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001413/5.639, allocations: 8 kB / 0.7054 GB, free: 9.66 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.0001858/5.639, allocations: 114.4 kB / 0.7055 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001837/5.639, allocations: 23.98 kB / 0.7055 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/5.639, allocations: 0 / 0.7055 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.726e-05/5.639, allocations: 12 kB / 0.7055 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/5.639, allocations: 4 kB / 0.7055 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004634/5.64, allocations: 89.7 kB / 0.7056 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004409/5.64, allocations: 0.6993 MB / 0.7063 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of SimCode: time 1.022e-06/5.64, allocations: 0 / 0.7063 GB, free: 8.668 MB / 0.5886 GB