Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",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.261/4.261, allocations: 404 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2454/4.507, allocations: 95.03 MB / 0.4941 GB, free: 7.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5225/5.029, allocations: 92.67 MB / 0.5846 GB, free: 3.418 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2606/5.29, allocations: 120.3 MB / 0.7021 GB, free: 13.42 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004859/5.29, allocations: 87.92 kB / 0.7022 GB, free: 13.33 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.007471/5.298, allocations: 1.06 MB / 0.7032 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/5.298, allocations: 8 kB / 0.7032 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/5.298, allocations: 7.906 kB / 0.7032 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/5.298, allocations: 170.9 kB / 0.7034 GB, free: 12 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/5.298, allocations: 0 / 0.7034 GB, free: 12 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/5.298, allocations: 4 kB / 0.7034 GB, free: 12 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001288/5.298, allocations: 12 kB / 0.7034 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/5.298, allocations: 53.67 kB / 0.7034 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/5.298, allocations: 0 / 0.7034 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/5.298, allocations: 0 / 0.7034 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/5.298, allocations: 0 / 0.7034 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007556/5.299, allocations: 281.3 kB / 0.7037 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/5.3, allocations: 42.56 kB / 0.7037 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.872e-05/5.3, allocations: 12.92 kB / 0.7038 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/5.3, allocations: 3.938 kB / 0.7038 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/5.3, allocations: 38.5 kB / 0.7038 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 6.422e-06/5.3, allocations: 4 kB / 0.7038 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003637/5.3, allocations: 53.62 kB / 0.7038 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/5.3, allocations: 51.41 kB / 0.7039 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/5.3, allocations: 93 kB / 0.704 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/5.3, allocations: 29.7 kB / 0.704 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.527e-05/5.301, allocations: 92.03 kB / 0.7041 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/5.301, allocations: 3.906 kB / 0.7041 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-06/5.301, allocations: 0 / 0.7041 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001852/5.301, allocations: 314.8 kB / 0.7044 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.981e-05/5.301, allocations: 12 kB / 0.7044 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.592e-05/5.301, allocations: 8 kB / 0.7044 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.085e-05/5.301, allocations: 11.98 kB / 0.7044 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/5.301, allocations: 0 / 0.7044 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000163/5.301, allocations: 57.67 kB / 0.7045 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/5.301, allocations: 6.969 kB / 0.7045 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/5.301, allocations: 0 / 0.7045 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.058e-05/5.301, allocations: 7.984 kB / 0.7045 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/5.301, allocations: 12 kB / 0.7045 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/5.301, allocations: 0 / 0.7045 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/5.302, allocations: 27.97 kB / 0.7045 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/5.302, allocations: 4 kB / 0.7045 GB, free: 10.68 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: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.924e-05/5.302, allocations: 108.5 kB / 0.7047 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-05/5.302, allocations: 7.906 kB / 0.7047 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/5.302, allocations: 49.69 kB / 0.7047 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/5.302, allocations: 3.984 kB / 0.7047 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/5.302, allocations: 0 / 0.7047 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/5.302, allocations: 3.938 kB / 0.7047 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/5.302, allocations: 154.1 kB / 0.7049 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/5.302, allocations: 0 / 0.7049 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/5.303, allocations: 15.98 kB / 0.7049 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/5.303, allocations: 0 / 0.7049 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/5.303, allocations: 0 / 0.7049 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/5.303, allocations: 4 kB / 0.7049 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/5.303, allocations: 0 / 0.7049 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001825/5.303, allocations: 151.4 kB / 0.705 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003155/5.303, allocations: 0.5154 MB / 0.7055 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/5.303, allocations: 77.11 kB / 0.7056 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/5.303, allocations: 3.906 kB / 0.7056 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/5.304, allocations: 27.97 kB / 0.7056 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.68e-05/5.304, allocations: 7.984 kB / 0.7056 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/5.304, allocations: 3.938 kB / 0.7056 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.97e-05/5.304, allocations: 83.28 kB / 0.7057 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001311/5.305, allocations: 8 kB / 0.7057 GB, free: 9.359 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * 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.0001762/5.305, allocations: 107 kB / 0.7058 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001483/5.305, allocations: 23.98 kB / 0.7059 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/5.305, allocations: 0 / 0.7059 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.277e-05/5.306, allocations: 15.94 kB / 0.7059 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/5.306, allocations: 8.844 kB / 0.7059 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/5.306, allocations: 67.78 kB / 0.7059 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003922/5.307, allocations: 0.6958 MB / 0.7066 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of SimCode: time 1.062e-06/5.307, allocations: 4 kB / 0.7066 GB, free: 8.387 MB / 0.5886 GB