Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_5_0_1_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl",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.393/4.393, allocations: 404 MB / 410.9 MB, free: 4.941 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2945/4.688, allocations: 95.02 MB / 0.4941 GB, free: 7.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5224/5.21, allocations: 92.68 MB / 0.5846 GB, free: 3.406 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2524/5.463, allocations: 122.7 MB / 0.7044 GB, free: 11 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006042/5.463, allocations: 87.94 kB / 0.7045 GB, free: 10.91 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.02804/5.491, allocations: 4.805 MB / 0.7092 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 7.422e-05/5.492, allocations: 8 kB / 0.7092 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002654/5.492, allocations: 35.72 kB / 0.7092 GB, free: 5.984 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008632/5.493, allocations: 262.6 kB / 0.7095 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.351e-05/5.493, allocations: 15.98 kB / 0.7095 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/5.493, allocations: 16 kB / 0.7095 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001126/5.494, allocations: 209.2 kB / 0.7097 GB, free: 5.449 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/5.495, allocations: 267.8 kB / 0.71 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/5.495, allocations: 0 / 0.71 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.321e-05/5.496, allocations: 4 kB / 0.71 GB, free: 5.172 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/5.496, allocations: 4 kB / 0.71 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003723/5.499, allocations: 0.8696 MB / 0.7108 GB, free: 4.254 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/5.501, allocations: 211.1 kB / 0.711 GB, free: 4.039 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005249/5.501, allocations: 96.86 kB / 0.7111 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.12e-05/5.501, allocations: 11.89 kB / 0.7111 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006799/5.502, allocations: 143.3 kB / 0.7113 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=32): time 5.801e-06/5.502, allocations: 0 / 0.7113 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of matching and sorting (n=32): time 0.001078/5.503, allocations: 193.4 kB / 0.7114 GB, free: 3.582 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.536e-05/5.503, allocations: 59.41 kB / 0.7115 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003923/5.504, allocations: 165 kB / 0.7117 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/5.504, allocations: 37.69 kB / 0.7117 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/5.504, allocations: 140.6 kB / 0.7118 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/5.504, allocations: 70.98 kB / 0.7119 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/5.504, allocations: 0 / 0.7119 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002206/5.505, allocations: 330.8 kB / 0.7122 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005189/5.505, allocations: 84.88 kB / 0.7123 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005936/5.506, allocations: 136.6 kB / 0.7124 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/5.506, allocations: 75.97 kB / 0.7125 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/5.506, allocations: 0 / 0.7125 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001366/5.508, allocations: 273.1 kB / 0.7128 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/5.508, allocations: 6.5 kB / 0.7128 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/5.508, allocations: 4 kB / 0.7128 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.537e-05/5.508, allocations: 4 kB / 0.7128 GB, free: 2.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/5.509, allocations: 47.81 kB / 0.7128 GB, free: 2.113 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.292e-05/5.509, allocations: 3.938 kB / 0.7128 GB, free: 2.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009133/5.51, allocations: 55.97 kB / 0.7129 GB, free: 2.055 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.161e-05/5.51, allocations: 8 kB / 0.7129 GB, free: 2.047 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCHWST.T_start,wseCHWST.T_start,$PRE.wseCHWST.count,wseCHWST.count,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.T1.condition,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * 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.0002848/5.51, allocations: 132.6 kB / 0.713 GB, free: 1.914 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/5.51, allocations: 19.81 kB / 0.713 GB, free: 1.895 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/5.511, allocations: 227.8 kB / 0.7132 GB, free: 1.668 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/5.511, allocations: 3.938 kB / 0.7132 GB, free: 1.664 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/5.511, allocations: 8 kB / 0.7133 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/5.512, allocations: 0 / 0.7133 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/5.514, allocations: 0.6354 MB / 0.7139 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/5.514, allocations: 0 / 0.7139 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005177/5.515, allocations: 35.92 kB / 0.7139 GB, free: 0.9414 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.444e-05/5.515, allocations: 0 / 0.7139 GB, free: 0.9414 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/5.515, allocations: 7.984 kB / 0.7139 GB, free: 0.9336 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/5.515, allocations: 0 / 0.7139 GB, free: 0.9336 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/5.515, allocations: 0 / 0.7139 GB, free: 0.9336 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001093/5.516, allocations: 303.1 kB / 0.7142 GB, free: 0.6211 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001345/5.518, allocations: 0.6797 MB / 0.7149 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/5.518, allocations: 96.81 kB / 0.715 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/5.518, allocations: 4 kB / 0.715 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00087/5.519, allocations: 35.97 kB / 0.715 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002596/5.519, allocations: 35.94 kB / 0.715 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.84e-05/5.519, allocations: 15.98 kB / 0.7151 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0002043/5.519, allocations: 119.5 kB / 0.7152 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002643/5.522, allocations: 47.91 kB / 0.7152 GB, free: 15.56 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.localActive,wseCon.off.localActive,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.newActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.fire,wseCon.T1.t_start,wseCon.T1.condition,wseCon.on.newActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.fire,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 3 (wseCHWST.count,wseCon.off.newActive,wseCon.on.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.000463/5.523, allocations: 128.9 kB / 0.7153 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00127/5.524, allocations: 257.5 kB / 0.7156 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/5.524, allocations: 0 / 0.7156 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005787/5.525, allocations: 112.2 kB / 0.7157 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007141/5.525, allocations: 27.92 kB / 0.7157 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/5.527, allocations: 305.7 kB / 0.716 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/5.528, allocations: 0.8027 MB / 0.7168 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of SimCode: time 2.445e-06/5.529, allocations: 0 / 0.7168 GB, free: 13.88 MB / 0.6042 GB