Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_5_0_1_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",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.283/4.283, allocations: 404 MB / 410.9 MB, free: 4.945 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.27/4.553, allocations: 95.01 MB / 0.4941 GB, free: 7.344 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5417/5.095, allocations: 92.69 MB / 0.5846 GB, free: 3.414 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2815/5.376, allocations: 120.8 MB / 0.7026 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004051/5.377, allocations: 91.92 kB / 0.7027 GB, free: 12.8 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.009058/5.386, allocations: 1.594 MB / 0.7042 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/5.386, allocations: 12 kB / 0.7043 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.953e-05/5.386, allocations: 11.91 kB / 0.7043 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/5.386, allocations: 194.8 kB / 0.7045 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/5.386, allocations: 4 kB / 0.7045 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/5.386, allocations: 4 kB / 0.7045 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001996/5.387, allocations: 32 kB / 0.7045 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/5.387, allocations: 73.66 kB / 0.7046 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/5.387, allocations: 0 / 0.7046 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/5.387, allocations: 0 / 0.7046 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/5.387, allocations: 4 kB / 0.7046 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009414/5.388, allocations: 325.1 kB / 0.7049 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/5.388, allocations: 46.56 kB / 0.7049 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/5.388, allocations: 32.98 kB / 0.705 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/5.388, allocations: 4 kB / 0.705 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/5.388, allocations: 79.41 kB / 0.705 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.955e-06/5.389, allocations: 0 / 0.705 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0003436/5.389, allocations: 85.56 kB / 0.7051 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/5.389, allocations: 81.11 kB / 0.7052 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/5.389, allocations: 113 kB / 0.7053 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/5.389, allocations: 25.7 kB / 0.7053 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/5.389, allocations: 100 kB / 0.7054 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/5.389, allocations: 19.75 kB / 0.7054 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.356e-05/5.389, allocations: 0 / 0.7054 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001497/5.389, allocations: 322.7 kB / 0.7057 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/5.39, allocations: 28 kB / 0.7058 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/5.39, allocations: 31.98 kB / 0.7058 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.048e-05/5.39, allocations: 16.12 kB / 0.7058 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/5.39, allocations: 4 kB / 0.7058 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003147/5.39, allocations: 97.52 kB / 0.7059 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/5.39, allocations: 8 kB / 0.7059 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/5.39, allocations: 0 / 0.7059 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/5.39, allocations: 3.938 kB / 0.7059 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/5.391, allocations: 27.91 kB / 0.706 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/5.391, allocations: 0 / 0.706 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/5.391, allocations: 27.89 kB / 0.706 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/5.391, allocations: 4 kB / 0.706 GB, free: 9.207 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,reqCou.nInc,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001412/5.391, allocations: 134.7 kB / 0.7061 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/5.391, allocations: 7.906 kB / 0.7061 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.918e-05/5.391, allocations: 12.36 kB / 0.7061 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/5.391, allocations: 4 kB / 0.7061 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/5.391, allocations: 4 kB / 0.7061 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/5.391, allocations: 0 / 0.7061 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004979/5.392, allocations: 315 kB / 0.7064 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/5.392, allocations: 4 kB / 0.7064 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/5.392, allocations: 23.92 kB / 0.7065 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/5.392, allocations: 4 kB / 0.7065 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/5.392, allocations: 4 kB / 0.7065 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/5.392, allocations: 0 / 0.7065 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/5.392, allocations: 0 / 0.7065 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003181/5.392, allocations: 179.3 kB / 0.7066 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004884/5.393, allocations: 0.5467 MB / 0.7072 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.039e-05/5.393, allocations: 92.94 kB / 0.7073 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/5.393, allocations: 11.98 kB / 0.7073 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/5.393, allocations: 15.98 kB / 0.7073 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/5.394, allocations: 27.97 kB / 0.7073 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/5.394, allocations: 3.906 kB / 0.7073 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001045/5.394, allocations: 99.27 kB / 0.7074 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001402/5.395, allocations: 20 kB / 0.7074 GB, free: 7.605 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 ($whenCondition1,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001932/5.395, allocations: 111 kB / 0.7075 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003689/5.396, allocations: 119.4 kB / 0.7077 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/5.396, allocations: 4 kB / 0.7077 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001818/5.396, allocations: 73.62 kB / 0.7077 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/5.396, allocations: 4.281 kB / 0.7077 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006942/5.397, allocations: 131.4 kB / 0.7079 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/5.397, allocations: 0.7036 MB / 0.7086 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of SimCode: time 1.072e-06/5.398, allocations: 0 / 0.7086 GB, free: 6.391 MB / 0.5886 GB