Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Discrete_Examples_UnitDelay",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.224/4.224, allocations: 403.9 MB / 410.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3045/4.529, allocations: 95.03 MB / 0.4941 GB, free: 7.332 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5455/5.074, allocations: 92.67 MB / 0.5846 GB, free: 3.445 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2976/5.372, allocations: 120.2 MB / 0.702 GB, free: 13.53 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005046/5.372, allocations: 87.94 kB / 0.7021 GB, free: 13.45 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.006659/5.379, allocations: 0.9462 MB / 0.703 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/5.379, allocations: 12 kB / 0.703 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.035e-05/5.379, allocations: 7.906 kB / 0.703 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/5.379, allocations: 170.9 kB / 0.7032 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/5.38, allocations: 4 kB / 0.7032 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/5.38, allocations: 3.938 kB / 0.7032 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001654/5.38, allocations: 19.94 kB / 0.7032 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/5.38, allocations: 53.66 kB / 0.7032 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/5.38, allocations: 0 / 0.7032 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/5.38, allocations: 0 / 0.7032 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/5.38, allocations: 8 kB / 0.7033 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006699/5.381, allocations: 241.4 kB / 0.7035 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/5.381, allocations: 42.52 kB / 0.7035 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.494e-05/5.381, allocations: 17.11 kB / 0.7035 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.955e-05/5.381, allocations: 4 kB / 0.7035 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/5.381, allocations: 63.39 kB / 0.7036 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 3.406e-06/5.381, allocations: 0 / 0.7036 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0003325/5.382, allocations: 57.61 kB / 0.7037 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/5.382, allocations: 59.39 kB / 0.7037 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/5.382, allocations: 93 kB / 0.7038 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/5.382, allocations: 29.7 kB / 0.7038 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.277e-05/5.382, allocations: 84.05 kB / 0.7039 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/5.382, allocations: 19.89 kB / 0.7039 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/5.382, allocations: 3.938 kB / 0.7039 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001974/5.382, allocations: 318.8 kB / 0.7042 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.264e-05/5.382, allocations: 12 kB / 0.7043 GB, free: 11 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/5.383, allocations: 40.28 kB / 0.7043 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.851e-05/5.383, allocations: 16 kB / 0.7043 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/5.383, allocations: 0 / 0.7043 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003353/5.383, allocations: 81.47 kB / 0.7044 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/5.383, allocations: 7.125 kB / 0.7044 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/5.383, allocations: 0 / 0.7044 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/5.383, allocations: 4 kB / 0.7044 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/5.384, allocations: 24.14 kB / 0.7044 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/5.384, allocations: 0 / 0.7044 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/5.384, allocations: 20.09 kB / 0.7044 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/5.384, allocations: 4 kB / 0.7044 GB, free: 10.79 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.unitDelay1.y,unitDelay1.y,$PRE.unitDelay1.firstTrigger,unitDelay1.firstTrigger,$whenCondition1,unitDelay1.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.000139/5.384, allocations: 120.4 kB / 0.7046 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/5.384, allocations: 3.906 kB / 0.7046 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/5.384, allocations: 70.05 kB / 0.7046 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/5.384, allocations: 0 / 0.7046 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/5.384, allocations: 3.938 kB / 0.7046 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/5.385, allocations: 3.906 kB / 0.7046 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006187/5.385, allocations: 291.2 kB / 0.7049 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/5.385, allocations: 4 kB / 0.7049 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/5.385, allocations: 15.98 kB / 0.7049 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/5.385, allocations: 0 / 0.7049 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/5.385, allocations: 3.906 kB / 0.7049 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/5.385, allocations: 0 / 0.7049 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/5.386, allocations: 4 kB / 0.7049 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000307/5.386, allocations: 155.6 kB / 0.7051 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005148/5.386, allocations: 0.535 MB / 0.7056 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.874e-05/5.386, allocations: 81.11 kB / 0.7057 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/5.387, allocations: 0 / 0.7057 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/5.387, allocations: 15.89 kB / 0.7057 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.404e-05/5.387, allocations: 8 kB / 0.7057 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/5.387, allocations: 3.984 kB / 0.7057 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.74e-05/5.387, allocations: 83.28 kB / 0.7058 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002112/5.389, allocations: 12 kB / 0.7058 GB, free: 9.289 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: 4 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y,unitDelay1.firstTrigger) * Number of discrete states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000228/5.39, allocations: 107 kB / 0.7059 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002828/5.39, allocations: 35.92 kB / 0.7059 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/5.39, allocations: 4.312 kB / 0.7059 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/5.39, allocations: 24 kB / 0.706 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/5.39, allocations: 0 / 0.706 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005482/5.391, allocations: 79.7 kB / 0.706 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005072/5.392, allocations: 0.7036 MB / 0.7067 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of SimCode: time 1.483e-06/5.392, allocations: 0 / 0.7067 GB, free: 8.281 MB / 0.5886 GB