Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Integers_Validation_Add",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.38/4.38, allocations: 404 MB / 410.9 MB, free: 4.934 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2761/4.656, allocations: 95.03 MB / 0.4941 GB, free: 7.332 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5065/5.162, allocations: 92.67 MB / 0.5846 GB, free: 3.383 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2326/5.395, allocations: 120.6 MB / 0.7023 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003576/5.395, allocations: 87.94 kB / 0.7024 GB, free: 13.05 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.009405/5.405, allocations: 1.598 MB / 0.704 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/5.405, allocations: 12 kB / 0.704 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.065e-05/5.405, allocations: 7.906 kB / 0.704 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/5.405, allocations: 170.9 kB / 0.7042 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/5.405, allocations: 8 kB / 0.7042 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/5.405, allocations: 4 kB / 0.7042 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002429/5.405, allocations: 43.98 kB / 0.7042 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/5.406, allocations: 85.53 kB / 0.7043 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/5.406, allocations: 0 / 0.7043 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/5.406, allocations: 0 / 0.7043 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/5.406, allocations: 3.938 kB / 0.7043 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008836/5.407, allocations: 321.2 kB / 0.7046 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009819/5.408, allocations: 90.55 kB / 0.7047 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/5.408, allocations: 36.91 kB / 0.7047 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/5.408, allocations: 0 / 0.7047 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/5.408, allocations: 30.56 kB / 0.7048 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.154e-06/5.408, allocations: 0 / 0.7048 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0004084/5.408, allocations: 89.72 kB / 0.7048 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/5.408, allocations: 55.41 kB / 0.7049 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/5.409, allocations: 116.9 kB / 0.705 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/5.409, allocations: 25.7 kB / 0.705 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/5.409, allocations: 92.12 kB / 0.7051 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.621e-05/5.409, allocations: 19.66 kB / 0.7051 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.415e-05/5.409, allocations: 3.938 kB / 0.7051 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001383/5.409, allocations: 318.8 kB / 0.7054 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.821e-05/5.409, allocations: 20 kB / 0.7055 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.77e-05/5.409, allocations: 20 kB / 0.7055 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.77e-05/5.409, allocations: 23.98 kB / 0.7055 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/5.409, allocations: 0 / 0.7055 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000306/5.41, allocations: 85.58 kB / 0.7056 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/5.41, allocations: 8 kB / 0.7056 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/5.41, allocations: 3.938 kB / 0.7056 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/5.41, allocations: 0 / 0.7056 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/5.41, allocations: 35.97 kB / 0.7056 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/5.41, allocations: 3.906 kB / 0.7056 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/5.41, allocations: 15.98 kB / 0.7057 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/5.41, allocations: 7.984 kB / 0.7057 GB, free: 9.516 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: 3 (add1.u1,add1.u2,add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001062/5.411, allocations: 112.9 kB / 0.7058 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.033e-05/5.411, allocations: 7.906 kB / 0.7058 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.439e-05/5.411, allocations: 8.375 kB / 0.7058 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/5.411, allocations: 0 / 0.7058 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/5.411, allocations: 4 kB / 0.7058 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/5.411, allocations: 3.906 kB / 0.7058 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000317/5.411, allocations: 178.2 kB / 0.706 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/5.411, allocations: 0 / 0.706 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000398/5.412, allocations: 31.97 kB / 0.706 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/5.412, allocations: 4 kB / 0.706 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/5.412, allocations: 0 / 0.706 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/5.412, allocations: 0 / 0.706 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/5.412, allocations: 7.844 kB / 0.706 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003637/5.412, allocations: 187.4 kB / 0.7062 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004884/5.412, allocations: 0.5467 MB / 0.7067 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.705e-05/5.413, allocations: 89 kB / 0.7068 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/5.413, allocations: 0 / 0.7068 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/5.413, allocations: 23.98 kB / 0.7068 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/5.413, allocations: 19.97 kB / 0.7068 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/5.413, allocations: 0 / 0.7068 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001013/5.413, allocations: 107.7 kB / 0.7069 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001487/5.415, allocations: 19.94 kB / 0.707 GB, free: 8.082 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: 3 (add1.u1,add1.u2,add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0002006/5.415, allocations: 114.5 kB / 0.7071 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003054/5.415, allocations: 63.91 kB / 0.7071 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/5.415, allocations: 0 / 0.7071 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/5.415, allocations: 36.61 kB / 0.7072 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/5.416, allocations: 4.938 kB / 0.7072 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006296/5.416, allocations: 119.4 kB / 0.7073 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000451/5.417, allocations: 0.7153 MB / 0.708 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of SimCode: time 1.072e-06/5.417, allocations: 4 kB / 0.708 GB, free: 6.977 MB / 0.5886 GB