Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",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.387/4.387, allocations: 404 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2958/4.682, allocations: 95.02 MB / 0.4941 GB, free: 7.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4959/5.178, allocations: 92.67 MB / 0.5846 GB, free: 3.426 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2435/5.422, allocations: 120.1 MB / 0.7019 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003663/5.422, allocations: 83.92 kB / 0.702 GB, free: 13.52 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.005339/5.428, allocations: 1.001 MB / 0.7029 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/5.428, allocations: 15.98 kB / 0.703 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/5.428, allocations: 11.94 kB / 0.703 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/5.428, allocations: 170.9 kB / 0.7031 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/5.428, allocations: 4 kB / 0.7031 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/5.428, allocations: 0 / 0.7031 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001172/5.428, allocations: 19.98 kB / 0.7032 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/5.428, allocations: 61.61 kB / 0.7032 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/5.428, allocations: 0 / 0.7032 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/5.428, allocations: 0 / 0.7032 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/5.428, allocations: 3.906 kB / 0.7032 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006388/5.429, allocations: 269.4 kB / 0.7035 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/5.429, allocations: 38.58 kB / 0.7035 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.389e-05/5.429, allocations: 16.98 kB / 0.7035 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/5.429, allocations: 3.906 kB / 0.7035 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/5.43, allocations: 71.33 kB / 0.7036 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 2.114e-06/5.43, allocations: 0 / 0.7036 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0002787/5.43, allocations: 81.53 kB / 0.7037 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/5.43, allocations: 51.41 kB / 0.7037 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/5.43, allocations: 109 kB / 0.7038 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/5.43, allocations: 26.17 kB / 0.7039 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.795e-05/5.43, allocations: 84.14 kB / 0.7039 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/5.43, allocations: 19.7 kB / 0.704 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/5.43, allocations: 0 / 0.704 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001451/5.43, allocations: 318.8 kB / 0.7043 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.382e-05/5.43, allocations: 23.88 kB / 0.7043 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/5.431, allocations: 48.28 kB / 0.7043 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.364e-05/5.431, allocations: 12 kB / 0.7043 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/5.431, allocations: 4 kB / 0.7043 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002465/5.431, allocations: 93.48 kB / 0.7044 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/5.431, allocations: 4 kB / 0.7044 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/5.431, allocations: 4 kB / 0.7044 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/5.431, allocations: 0 / 0.7044 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.78e-05/5.431, allocations: 8 kB / 0.7044 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/5.431, allocations: 7.969 kB / 0.7045 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/5.431, allocations: 23.95 kB / 0.7045 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/5.431, allocations: 8.031 kB / 0.7045 GB, free: 10.72 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: 12 ($PRE.onCounter.y,onCounter.y,$whenCondition4,$whenCondition3,$whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,$whenCondition2,onCounter.reset,$PRE.reset.pulseStart,reset.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001523/5.432, allocations: 119.8 kB / 0.7046 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/5.432, allocations: 7.906 kB / 0.7046 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/5.432, allocations: 4.375 kB / 0.7046 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/5.432, allocations: 0 / 0.7046 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/5.432, allocations: 4 kB / 0.7046 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/5.432, allocations: 0 / 0.7046 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008245/5.433, allocations: 355 kB / 0.705 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/5.433, allocations: 4 kB / 0.705 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.59e-05/5.433, allocations: 0 / 0.705 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/5.433, allocations: 0 / 0.705 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/5.433, allocations: 4 kB / 0.705 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/5.433, allocations: 0 / 0.705 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/5.433, allocations: 11.84 kB / 0.705 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002552/5.433, allocations: 167.4 kB / 0.7051 GB, free: 10 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000376/5.433, allocations: 0.5468 MB / 0.7057 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/5.433, allocations: 88.95 kB / 0.7057 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/5.433, allocations: 0 / 0.7057 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/5.434, allocations: 19.98 kB / 0.7058 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.499e-05/5.434, allocations: 7.984 kB / 0.7058 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/5.434, allocations: 4 kB / 0.7058 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.574e-05/5.434, allocations: 91.27 kB / 0.7059 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001553/5.435, allocations: 12 kB / 0.7059 GB, free: 9.195 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: 9 (booPul.y,onCounter.reset,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,onCounter.y,booPul.pulseStart,reset.pulseStart) * Number of discrete states: 1 (onCounter.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0001988/5.436, allocations: 110.9 kB / 0.706 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002212/5.436, allocations: 55.92 kB / 0.706 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/5.436, allocations: 4.188 kB / 0.706 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.969e-05/5.436, allocations: 24 kB / 0.7061 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/5.436, allocations: 17.95 kB / 0.7061 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004785/5.437, allocations: 103.6 kB / 0.7062 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/5.437, allocations: 0.6997 MB / 0.7069 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of SimCode: time 1.132e-06/5.437, allocations: 8 kB / 0.7069 GB, free: 8.121 MB / 0.5886 GB