Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Logical_Validation_Change",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.268/4.268, allocations: 403.9 MB / 410.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2471/4.515, allocations: 95.02 MB / 0.4941 GB, free: 7.336 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5241/5.04, allocations: 92.68 MB / 0.5846 GB, free: 3.41 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2809/5.321, allocations: 120.8 MB / 0.7025 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004329/5.321, allocations: 79.95 kB / 0.7026 GB, free: 12.9 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.007313/5.328, allocations: 1.048 MB / 0.7036 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 8.014e-05/5.328, allocations: 12 kB / 0.7036 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.446e-05/5.329, allocations: 3.906 kB / 0.7036 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/5.329, allocations: 179 kB / 0.7038 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/5.329, allocations: 1.094 kB / 0.7038 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/5.329, allocations: 4 kB / 0.7038 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00022/5.329, allocations: 23.97 kB / 0.7038 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/5.33, allocations: 53.61 kB / 0.7039 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/5.33, allocations: 4 kB / 0.7039 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/5.33, allocations: 3.906 kB / 0.7039 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/5.33, allocations: 0 / 0.7039 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/5.331, allocations: 277.3 kB / 0.7042 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/5.331, allocations: 38.64 kB / 0.7042 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/5.331, allocations: 20.97 kB / 0.7042 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/5.331, allocations: 7.938 kB / 0.7042 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002436/5.332, allocations: 63.34 kB / 0.7043 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 6.292e-06/5.332, allocations: 0 / 0.7043 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0004976/5.332, allocations: 69.66 kB / 0.7043 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/5.332, allocations: 55.41 kB / 0.7044 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/5.333, allocations: 109.1 kB / 0.7045 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/5.333, allocations: 25.7 kB / 0.7045 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.057e-05/5.333, allocations: 96.05 kB / 0.7046 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/5.333, allocations: 7.906 kB / 0.7046 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.108e-05/5.333, allocations: 0 / 0.7046 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001579/5.333, allocations: 322.7 kB / 0.7049 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.804e-05/5.333, allocations: 19.94 kB / 0.705 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/5.333, allocations: 39.44 kB / 0.705 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.312e-05/5.333, allocations: 19.98 kB / 0.705 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.217e-06/5.333, allocations: 0 / 0.705 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002409/5.334, allocations: 77.53 kB / 0.7051 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/5.334, allocations: 8 kB / 0.7051 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/5.334, allocations: 0 / 0.7051 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/5.334, allocations: 0 / 0.7051 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/5.334, allocations: 24.08 kB / 0.7051 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/5.334, allocations: 7.938 kB / 0.7051 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/5.334, allocations: 15.98 kB / 0.7051 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/5.334, allocations: 4 kB / 0.7051 GB, free: 10.08 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001104/5.334, allocations: 112.4 kB / 0.7052 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/5.334, allocations: 4 kB / 0.7053 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.963e-05/5.334, allocations: 20.27 kB / 0.7053 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/5.334, allocations: 0 / 0.7053 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/5.334, allocations: 0 / 0.7053 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/5.334, allocations: 0 / 0.7053 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000504/5.335, allocations: 303 kB / 0.7056 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/5.335, allocations: 0 / 0.7056 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/5.335, allocations: 15.98 kB / 0.7056 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/5.335, allocations: 4 kB / 0.7056 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/5.335, allocations: 0 / 0.7056 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/5.335, allocations: 0 / 0.7056 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/5.335, allocations: 3.938 kB / 0.7056 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002299/5.335, allocations: 167.6 kB / 0.7057 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004017/5.336, allocations: 0.535 MB / 0.7063 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/5.336, allocations: 81.02 kB / 0.7063 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/5.336, allocations: 0 / 0.7063 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/5.336, allocations: 20.55 kB / 0.7064 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/5.336, allocations: 7.984 kB / 0.7064 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/5.336, allocations: 11.89 kB / 0.7064 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.674e-05/5.336, allocations: 91.22 kB / 0.7065 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00136/5.338, allocations: 15.94 kB / 0.7065 GB, free: 8.602 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: 6 (change.y,$whenCondition2,$whenCondition1,booPul.pulseStart,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001763/5.338, allocations: 103 kB / 0.7066 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002233/5.338, allocations: 55.91 kB / 0.7066 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/5.338, allocations: 0 / 0.7066 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.002e-05/5.338, allocations: 20 kB / 0.7067 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/5.339, allocations: 6.922 kB / 0.7067 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/5.339, allocations: 99.56 kB / 0.7068 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/5.339, allocations: 0.6999 MB / 0.7074 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of SimCode: time 1.082e-06/5.339, allocations: 4 kB / 0.7074 GB, free: 7.562 MB / 0.5886 GB