Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Logical_Validation_Toggle",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.249/4.249, allocations: 403.9 MB / 410.9 MB, free: 4.934 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2441/4.493, allocations: 95.02 MB / 0.4941 GB, free: 7.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5312/5.024, allocations: 92.68 MB / 0.5846 GB, free: 3.359 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3207/5.345, allocations: 120.5 MB / 0.7023 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003742/5.345, allocations: 79.95 kB / 0.7023 GB, free: 13.12 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.006186/5.351, allocations: 1.165 MB / 0.7035 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/5.351, allocations: 11.94 kB / 0.7035 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.566e-05/5.352, allocations: 8 kB / 0.7035 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/5.352, allocations: 174.9 kB / 0.7037 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.91e-05/5.352, allocations: 37.69 kB / 0.7037 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/5.352, allocations: 4 kB / 0.7037 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002004/5.352, allocations: 43.98 kB / 0.7037 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/5.352, allocations: 89.48 kB / 0.7038 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/5.352, allocations: 3.938 kB / 0.7038 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/5.352, allocations: 7.984 kB / 0.7038 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/5.352, allocations: 4 kB / 0.7038 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000861/5.353, allocations: 317.3 kB / 0.7041 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/5.354, allocations: 82.58 kB / 0.7042 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/5.354, allocations: 36.98 kB / 0.7043 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/5.354, allocations: 4 kB / 0.7043 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003451/5.354, allocations: 127.2 kB / 0.7044 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 2.756e-06/5.354, allocations: 0 / 0.7044 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0004516/5.355, allocations: 125.5 kB / 0.7045 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/5.355, allocations: 55.41 kB / 0.7046 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/5.355, allocations: 109.2 kB / 0.7047 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.857e-05/5.355, allocations: 25.7 kB / 0.7047 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.93e-05/5.355, allocations: 92.2 kB / 0.7048 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/5.355, allocations: 31.61 kB / 0.7048 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.693e-05/5.355, allocations: 0 / 0.7048 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001437/5.355, allocations: 326.8 kB / 0.7051 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/5.355, allocations: 40.38 kB / 0.7052 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/5.356, allocations: 82.84 kB / 0.7052 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.829e-05/5.356, allocations: 23.98 kB / 0.7053 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/5.356, allocations: 4 kB / 0.7053 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00041/5.356, allocations: 133.4 kB / 0.7054 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/5.356, allocations: 11.92 kB / 0.7054 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/5.356, allocations: 4 kB / 0.7054 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/5.356, allocations: 0 / 0.7054 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/5.356, allocations: 11.94 kB / 0.7054 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/5.356, allocations: 4 kB / 0.7054 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/5.357, allocations: 20.08 kB / 0.7054 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/5.357, allocations: 4 kB / 0.7054 GB, free: 9.719 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: 21 ($PRE.toggle1.u0,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.toggle1.u,toggle1.u,toggle1.u0,$PRE.toggle1.y,toggle1.y,$PRE.toggle1.scenario,toggle1.scenario) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001351/5.357, allocations: 124.3 kB / 0.7056 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/5.357, allocations: 7.906 kB / 0.7056 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.587e-05/5.357, allocations: 16.44 kB / 0.7056 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/5.357, allocations: 384 / 0.7056 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/5.357, allocations: 4 kB / 0.7056 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/5.357, allocations: 0 / 0.7056 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/5.358, allocations: 421.9 kB / 0.706 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/5.358, allocations: 3.938 kB / 0.706 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/5.358, allocations: 7.938 kB / 0.706 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/5.358, allocations: 4 kB / 0.706 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/5.358, allocations: 11.98 kB / 0.706 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/5.358, allocations: 3.984 kB / 0.706 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/5.358, allocations: 0 / 0.706 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004084/5.359, allocations: 215.3 kB / 0.7062 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005991/5.359, allocations: 0.5934 MB / 0.7068 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.131e-05/5.359, allocations: 84.92 kB / 0.7069 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.599e-05/5.36, allocations: 8 kB / 0.7069 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/5.36, allocations: 19.97 kB / 0.7069 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/5.36, allocations: 27.94 kB / 0.7069 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/5.36, allocations: 23.98 kB / 0.707 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.309e-05/5.36, allocations: 87.28 kB / 0.707 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002782/5.363, allocations: 20 kB / 0.7071 GB, free: 7.953 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: 15 (toggle1.u0,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,toggle1.u,toggle1.y,toggle1.scenario) * Number of discrete states: 2 (toggle1.u,toggle1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003113/5.363, allocations: 117.8 kB / 0.7072 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006373/5.364, allocations: 109.1 kB / 0.7073 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/5.364, allocations: 3.938 kB / 0.7073 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003681/5.364, allocations: 88.11 kB / 0.7074 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007928/5.365, allocations: 15.98 kB / 0.7074 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/5.366, allocations: 151.5 kB / 0.7075 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006874/5.367, allocations: 0.7159 MB / 0.7082 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of SimCode: time 1.753e-06/5.367, allocations: 0 / 0.7082 GB, free: 6.707 MB / 0.5886 GB