Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Continuous_Examples_PIDHysteresis",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.57/4.57, allocations: 404 MB / 410.9 MB, free: 4.906 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2353/4.805, allocations: 95 MB / 0.4941 GB, free: 7.344 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5304/5.336, allocations: 92.67 MB / 0.5846 GB, free: 3.41 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3682/5.704, allocations: 126.1 MB / 0.7077 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003671/5.704, allocations: 79.95 kB / 0.7078 GB, free: 7.531 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0367/5.741, allocations: 7.216 MB / 0.7148 GB, free: 252 kB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/5.741, allocations: 16 kB / 0.7149 GB, free: 236 kB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/5.741, allocations: 47.44 kB / 0.7149 GB, free: 188 kB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/5.742, allocations: 379.3 kB / 0.7153 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/5.742, allocations: 12 kB / 0.7153 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.535e-05/5.742, allocations: 16 kB / 0.7153 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007833/5.743, allocations: 189.3 kB / 0.7155 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009004/5.744, allocations: 300.9 kB / 0.7158 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/5.744, allocations: 0 / 0.7158 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.052e-05/5.744, allocations: 3.906 kB / 0.7158 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/5.744, allocations: 8.219 kB / 0.7158 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003213/5.748, allocations: 1.189 MB / 0.7169 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006967/5.748, allocations: 157.4 kB / 0.7171 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/5.749, allocations: 105.4 kB / 0.7172 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.121e-05/5.749, allocations: 192 / 0.7172 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/5.749, allocations: 34.75 kB / 0.7172 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 2.204e-06/5.749, allocations: 0 / 0.7172 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.000812/5.75, allocations: 200.2 kB / 0.7174 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/5.75, allocations: 162.2 kB / 0.7176 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006267/5.75, allocations: 270.1 kB / 0.7178 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.458e-05/5.75, allocations: 29.7 kB / 0.7179 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/5.751, allocations: 176 kB / 0.718 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/5.751, allocations: 74.91 kB / 0.7181 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/5.751, allocations: 0 / 0.7181 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001803/5.751, allocations: 338.8 kB / 0.7184 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/5.751, allocations: 64 kB / 0.7185 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/5.752, allocations: 151.6 kB / 0.7186 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/5.752, allocations: 72.27 kB / 0.7187 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/5.752, allocations: 0 / 0.7187 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008161/5.753, allocations: 248.6 kB / 0.7189 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002488/5.753, allocations: 452.9 kB / 0.7194 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/5.753, allocations: 3.938 kB / 0.7194 GB, free: 11.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/5.753, allocations: 4 kB / 0.7194 GB, free: 11.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006224/5.754, allocations: 51.91 kB / 0.7194 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/5.754, allocations: 4 kB / 0.7194 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005434/5.754, allocations: 39.83 kB / 0.7195 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.962e-05/5.754, allocations: 11.98 kB / 0.7195 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/5.754, allocations: 4 kB / 0.7195 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006219/5.755, allocations: 163.8 kB / 0.7196 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/5.755, allocations: 4 kB / 0.7196 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/5.755, allocations: 0 / 0.7196 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/5.756, allocations: 55.91 kB / 0.7197 GB, free: 11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/5.756, allocations: 0 / 0.7197 GB, free: 11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/5.756, allocations: 35.95 kB / 0.7197 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/5.756, allocations: 11.94 kB / 0.7197 GB, free: 10.95 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002151/5.756, allocations: 111.6 kB / 0.7198 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/5.757, allocations: 31.62 kB / 0.7199 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/5.757, allocations: 39.16 kB / 0.7199 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/5.757, allocations: 0 / 0.7199 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/5.757, allocations: 0 / 0.7199 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/5.757, allocations: 7.984 kB / 0.7199 GB, free: 10.76 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007673/5.758, allocations: 373.7 kB / 0.7203 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/5.758, allocations: 0 / 0.7203 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006105/5.758, allocations: 47.91 kB / 0.7203 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/5.758, allocations: 0 / 0.7203 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/5.758, allocations: 4 kB / 0.7203 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/5.758, allocations: 0 / 0.7203 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/5.758, allocations: 0 / 0.7203 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001094/5.759, allocations: 414 kB / 0.7207 GB, free: 9.887 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001551/5.761, allocations: 0.8771 MB / 0.7216 GB, free: 8.992 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002627/5.761, allocations: 132.7 kB / 0.7217 GB, free: 8.844 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.761e-05/5.761, allocations: 4 kB / 0.7217 GB, free: 8.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005967/5.762, allocations: 28.11 kB / 0.7217 GB, free: 8.812 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.885e-05/5.762, allocations: 15.97 kB / 0.7217 GB, free: 8.797 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/5.762, allocations: 8 kB / 0.7217 GB, free: 8.789 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004324/5.763, allocations: 212.6 kB / 0.722 GB, free: 8.582 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002994/5.766, allocations: 127.4 kB / 0.7221 GB, free: 8.457 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.00024/5.766, allocations: 107 kB / 0.7222 GB, free: 8.344 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001027/5.767, allocations: 281.9 kB / 0.7224 GB, free: 8.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/5.767, allocations: 4.5 kB / 0.7224 GB, free: 8.066 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00031/5.767, allocations: 92.3 kB / 0.7225 GB, free: 7.977 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008823/5.768, allocations: 69.02 kB / 0.7226 GB, free: 7.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/5.77, allocations: 0.5054 MB / 0.7231 GB, free: 7.387 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007735/5.771, allocations: 0.8343 MB / 0.7239 GB, free: 6.523 MB / 0.6042 GB Notification: Performance of SimCode: time 1.292e-06/5.771, allocations: 0 / 0.7239 GB, free: 6.523 MB / 0.6042 GB