Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Logical_Validation_Latch",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.519/4.519, allocations: 404 MB / 410.9 MB, free: 4.941 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2379/4.757, allocations: 95.01 MB / 0.4941 GB, free: 7.355 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5655/5.323, allocations: 92.69 MB / 0.5846 GB, free: 3.402 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2731/5.596, allocations: 120.4 MB / 0.7021 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003655/5.597, allocations: 87.92 kB / 0.7022 GB, free: 13.28 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.005899/5.603, allocations: 1.138 MB / 0.7033 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/5.603, allocations: 8 kB / 0.7033 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/5.603, allocations: 11.94 kB / 0.7034 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/5.603, allocations: 174.9 kB / 0.7035 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.381e-05/5.603, allocations: 33.69 kB / 0.7036 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/5.603, allocations: 4 kB / 0.7036 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001912/5.603, allocations: 43.98 kB / 0.7036 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/5.604, allocations: 81.48 kB / 0.7037 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/5.604, allocations: 0 / 0.7037 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/5.604, allocations: 0 / 0.7037 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/5.604, allocations: 4 kB / 0.7037 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008483/5.604, allocations: 317.3 kB / 0.704 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/5.605, allocations: 86.56 kB / 0.7041 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/5.605, allocations: 40.98 kB / 0.7041 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/5.605, allocations: 0 / 0.7041 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003445/5.605, allocations: 115.2 kB / 0.7042 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 6.472e-06/5.605, allocations: 4 kB / 0.7042 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.0006687/5.606, allocations: 105.6 kB / 0.7043 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.474e-05/5.606, allocations: 59.41 kB / 0.7044 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/5.606, allocations: 109.2 kB / 0.7045 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.996e-05/5.606, allocations: 29.7 kB / 0.7045 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/5.607, allocations: 91.98 kB / 0.7046 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.537e-05/5.607, allocations: 27.69 kB / 0.7046 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/5.607, allocations: 384 / 0.7046 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001593/5.607, allocations: 322.8 kB / 0.7049 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/5.607, allocations: 43.95 kB / 0.705 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/5.607, allocations: 78.28 kB / 0.705 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.619e-05/5.607, allocations: 24.86 kB / 0.7051 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/5.607, allocations: 0 / 0.7051 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004061/5.608, allocations: 124.3 kB / 0.7052 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/5.608, allocations: 8 kB / 0.7052 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/5.608, allocations: 3.938 kB / 0.7052 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/5.608, allocations: 4 kB / 0.7052 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/5.608, allocations: 15.92 kB / 0.7052 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/5.608, allocations: 0 / 0.7052 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/5.608, allocations: 23.89 kB / 0.7052 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/5.608, allocations: 4 kB / 0.7052 GB, free: 9.965 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: 20 ($PRE.latch1.y,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.latch1.u,latch1.u,$PRE.latch1.u0,latch1.u0,latch1.y,$PRE.latch1.scenario,latch1.scenario) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001345/5.608, allocations: 112.8 kB / 0.7054 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/5.608, allocations: 11.91 kB / 0.7054 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.661e-05/5.609, allocations: 16.42 kB / 0.7054 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/5.609, allocations: 0 / 0.7054 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/5.609, allocations: 7.906 kB / 0.7054 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/5.609, allocations: 0 / 0.7054 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007861/5.609, allocations: 375 kB / 0.7057 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/5.609, allocations: 0 / 0.7057 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.137e-05/5.609, allocations: 4 kB / 0.7058 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/5.609, allocations: 0 / 0.7058 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/5.609, allocations: 3.984 kB / 0.7058 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/5.609, allocations: 3.906 kB / 0.7058 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/5.609, allocations: 4 kB / 0.7058 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004057/5.61, allocations: 215.4 kB / 0.706 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006001/5.611, allocations: 0.59 MB / 0.7065 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-05/5.611, allocations: 85 kB / 0.7066 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.346e-05/5.611, allocations: 4 kB / 0.7066 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/5.611, allocations: 23.97 kB / 0.7067 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/5.611, allocations: 23.95 kB / 0.7067 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/5.611, allocations: 11.98 kB / 0.7067 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.326e-05/5.611, allocations: 87.28 kB / 0.7068 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001514/5.613, allocations: 20 kB / 0.7068 GB, free: 8.277 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: 14 ($whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,latch1.u,latch1.u0,latch1.y,latch1.scenario) * Number of discrete states: 2 (latch1.u,latch1.u0) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0001986/5.613, allocations: 118.7 kB / 0.7069 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004418/5.613, allocations: 108.2 kB / 0.707 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/5.613, allocations: 0 / 0.707 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/5.614, allocations: 71.94 kB / 0.7071 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/5.614, allocations: 27.7 kB / 0.7071 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007235/5.615, allocations: 143.7 kB / 0.7072 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004685/5.615, allocations: 0.7155 MB / 0.7079 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of SimCode: time 1.022e-06/5.615, allocations: 0 / 0.7079 GB, free: 7.047 MB / 0.5886 GB