Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID",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.553/4.553, allocations: 404 MB / 410.9 MB, free: 4.934 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2847/4.838, allocations: 95.03 MB / 0.4941 GB, free: 7.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5846/5.423, allocations: 92.68 MB / 0.5846 GB, free: 3.398 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2764/5.699, allocations: 126.3 MB / 0.708 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004313/5.699, allocations: 91.94 kB / 0.708 GB, free: 7.297 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.1287/5.828, allocations: 24.05 MB / 0.7315 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/5.828, allocations: 12 kB / 0.7315 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005853/5.829, allocations: 146.2 kB / 0.7317 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/5.832, allocations: 0.7771 MB / 0.7324 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.311e-05/5.832, allocations: 31.89 kB / 0.7325 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002387/5.832, allocations: 48 kB / 0.7325 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002246/5.835, allocations: 0.5195 MB / 0.733 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002549/5.837, allocations: 0.8047 MB / 0.7338 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.553e-05/5.837, allocations: 0 / 0.7338 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/5.837, allocations: 19.86 kB / 0.7338 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.441e-05/5.837, allocations: 20 kB / 0.7338 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009198/5.847, allocations: 3.284 MB / 0.737 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003256/5.85, allocations: 0.6964 MB / 0.7377 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009686/5.851, allocations: 250.8 kB / 0.738 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.984e-05/5.851, allocations: 12.64 kB / 0.738 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/5.852, allocations: 307.1 kB / 0.7383 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=68): time 5.971e-06/5.852, allocations: 0 / 0.7383 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68): time 0.002379/5.855, allocations: 0.5694 MB / 0.7388 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002408/5.855, allocations: 376.5 kB / 0.7392 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/5.857, allocations: 0.6747 MB / 0.7398 GB, free: 6.258 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002753/5.857, allocations: 33.69 kB / 0.7399 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004708/5.858, allocations: 332.5 kB / 0.7402 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004162/5.858, allocations: 220.7 kB / 0.7404 GB, free: 5.668 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.92e-05/5.858, allocations: 0 / 0.7404 GB, free: 5.668 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002136/5.858, allocations: 333.9 kB / 0.7407 GB, free: 5.336 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000825/5.859, allocations: 209.5 kB / 0.7409 GB, free: 5.133 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/5.86, allocations: 361.5 kB / 0.7413 GB, free: 4.727 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009562/5.861, allocations: 245.4 kB / 0.7415 GB, free: 4.488 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/5.861, allocations: 0 / 0.7415 GB, free: 4.488 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002507/5.864, allocations: 0.6353 MB / 0.7421 GB, free: 3.844 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000254/5.864, allocations: 454.6 kB / 0.7426 GB, free: 3.371 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/5.864, allocations: 0 / 0.7426 GB, free: 3.371 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.045e-05/5.864, allocations: 4 kB / 0.7426 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002034/5.866, allocations: 179.8 kB / 0.7427 GB, free: 3.191 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.01e-05/5.866, allocations: 7.906 kB / 0.7427 GB, free: 3.184 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/5.868, allocations: 115.5 kB / 0.7429 GB, free: 3.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/5.868, allocations: 20 kB / 0.7429 GB, free: 3.051 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/5.868, allocations: 4 kB / 0.7429 GB, free: 3.047 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00184/5.87, allocations: 482.2 kB / 0.7433 GB, free: 2.574 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/5.87, allocations: 4 kB / 0.7433 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/5.87, allocations: 4 kB / 0.7433 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/5.872, allocations: 135.8 kB / 0.7435 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/5.872, allocations: 4 kB / 0.7435 GB, free: 2.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/5.874, allocations: 63.69 kB / 0.7435 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/5.874, allocations: 20 kB / 0.7436 GB, free: 2.348 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.000439/5.874, allocations: 128.7 kB / 0.7437 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007163/5.875, allocations: 110.7 kB / 0.7438 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008909/5.876, allocations: 106.4 kB / 0.7439 GB, free: 1.996 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/5.876, allocations: 8 kB / 0.7439 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/5.876, allocations: 0 / 0.7439 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.448e-05/5.876, allocations: 7.891 kB / 0.7439 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/5.878, allocations: 0.8425 MB / 0.7447 GB, free: 1.102 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/5.878, allocations: 3.906 kB / 0.7447 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002029/5.88, allocations: 163.8 kB / 0.7449 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.895e-05/5.881, allocations: 4 kB / 0.7449 GB, free: 0.9336 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/5.881, allocations: 3.984 kB / 0.7449 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/5.881, allocations: 4 kB / 0.7449 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/5.881, allocations: 0 / 0.7449 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003356/5.884, allocations: 0.9326 MB / 0.7458 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004777/5.889, allocations: 1.644 MB / 0.7474 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009576/5.89, allocations: 259.5 kB / 0.7477 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003085/5.89, allocations: 8 kB / 0.7477 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001769/5.892, allocations: 83.92 kB / 0.7477 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/5.892, allocations: 40.5 kB / 0.7478 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.906e-05/5.892, allocations: 23.98 kB / 0.7478 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001459/5.894, allocations: 0.5181 MB / 0.7483 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004403/5.898, allocations: 326.5 kB / 0.7486 GB, free: 13.04 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * 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.0004856/5.899, allocations: 130.8 kB / 0.7487 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003335/5.902, allocations: 0.8441 MB / 0.7496 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/5.902, allocations: 4.062 kB / 0.7496 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/5.903, allocations: 282.4 kB / 0.7498 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003223/5.907, allocations: 291.1 kB / 0.7501 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006229/5.913, allocations: 1.365 MB / 0.7515 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001846/5.915, allocations: 1.179 MB / 0.7526 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of SimCode: time 1.673e-06/5.915, allocations: 0 / 0.7526 GB, free: 8.891 MB / 0.6355 GB