Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",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.369/4.369, allocations: 404 MB / 410.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2209/4.59, allocations: 95.03 MB / 0.4941 GB, free: 7.348 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5519/5.142, allocations: 92.68 MB / 0.5846 GB, free: 3.41 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2834/5.426, allocations: 119.8 MB / 0.7016 GB, free: 13.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005921/5.426, allocations: 79.95 kB / 0.7017 GB, free: 13.82 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.005407/5.432, allocations: 0.7118 MB / 0.7024 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 7.026e-05/5.432, allocations: 15.98 kB / 0.7024 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/5.432, allocations: 8 kB / 0.7024 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/5.432, allocations: 163 kB / 0.7026 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/5.432, allocations: 0 / 0.7026 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/5.432, allocations: 7.938 kB / 0.7026 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001379/5.433, allocations: 11.94 kB / 0.7026 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/5.433, allocations: 33.69 kB / 0.7026 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/5.433, allocations: 0 / 0.7026 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/5.433, allocations: 0 / 0.7026 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/5.433, allocations: 4 kB / 0.7026 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005725/5.433, allocations: 233.4 kB / 0.7028 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/5.434, allocations: 30.52 kB / 0.7029 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.559e-05/5.434, allocations: 12.92 kB / 0.7029 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/5.434, allocations: 0 / 0.7029 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/5.434, allocations: 34.55 kB / 0.7029 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 3.086e-06/5.434, allocations: 0 / 0.7029 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.000296/5.434, allocations: 49.59 kB / 0.703 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/5.434, allocations: 51.41 kB / 0.703 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/5.434, allocations: 89 kB / 0.7031 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/5.434, allocations: 25.7 kB / 0.7031 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/5.434, allocations: 88.14 kB / 0.7032 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/5.435, allocations: 7.844 kB / 0.7032 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/5.435, allocations: 0 / 0.7032 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001808/5.435, allocations: 314.8 kB / 0.7035 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.084e-05/5.435, allocations: 8.031 kB / 0.7035 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.137e-05/5.435, allocations: 8 kB / 0.7035 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.782e-05/5.435, allocations: 3.938 kB / 0.7035 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/5.435, allocations: 0 / 0.7035 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002141/5.435, allocations: 41.7 kB / 0.7036 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/5.435, allocations: 10.88 kB / 0.7036 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/5.435, allocations: 0 / 0.7036 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/5.435, allocations: 0 / 0.7036 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/5.436, allocations: 20.08 kB / 0.7036 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/5.436, allocations: 4 kB / 0.7036 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/5.436, allocations: 7.984 kB / 0.7036 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/5.436, allocations: 0 / 0.7036 GB, free: 11.66 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 0.0001254/5.436, allocations: 108.5 kB / 0.7037 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/5.436, allocations: 3.906 kB / 0.7037 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/5.437, allocations: 52.94 kB / 0.7038 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/5.437, allocations: 0 / 0.7038 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/5.437, allocations: 0 / 0.7038 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/5.437, allocations: 7.938 kB / 0.7038 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/5.437, allocations: 130.2 kB / 0.7039 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/5.437, allocations: 4 kB / 0.7039 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/5.437, allocations: 11.98 kB / 0.7039 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/5.437, allocations: 7.938 kB / 0.7039 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/5.437, allocations: 0 / 0.7039 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/5.437, allocations: 0 / 0.7039 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/5.437, allocations: 0 / 0.7039 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002967/5.438, allocations: 139.5 kB / 0.7041 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004647/5.438, allocations: 0.5116 MB / 0.7046 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.503e-05/5.438, allocations: 81.02 kB / 0.7046 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/5.438, allocations: 0 / 0.7046 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/5.439, allocations: 11.98 kB / 0.7046 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.625e-05/5.439, allocations: 0 / 0.7046 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/5.439, allocations: 0 / 0.7046 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.371e-05/5.439, allocations: 87.31 kB / 0.7047 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00235/5.441, allocations: 4 kB / 0.7047 GB, free: 10.41 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.0003018/5.442, allocations: 107 kB / 0.7048 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001949/5.442, allocations: 12 kB / 0.7048 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.351e-06/5.442, allocations: 0 / 0.7048 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.297e-05/5.442, allocations: 11.94 kB / 0.7049 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/5.442, allocations: 15.97 kB / 0.7049 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004543/5.443, allocations: 51.92 kB / 0.7049 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004609/5.443, allocations: 0.688 MB / 0.7056 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of SimCode: time 1.623e-06/5.443, allocations: 0 / 0.7056 GB, free: 9.465 MB / 0.5886 GB