Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Continuous_Validation_LimPIDReset",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.732/4.732, allocations: 404 MB / 410.9 MB, free: 9.121 MB / 338.9 MB Notification: Performance of FrontEnd - loaded program: time 0.5129/5.245, allocations: 94.99 MB / 0.4941 GB, free: 7.344 MB / 402.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/5.49, allocations: 92.67 MB / 0.5846 GB, free: 10.49 MB / 498.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.744/6.234, allocations: 127.9 MB / 0.7094 GB, free: 4.344 MB / 0.5654 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005299/6.234, allocations: 78.95 kB / 0.7095 GB, free: 4.305 MB / 0.5654 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.1386/6.373, allocations: 19.96 MB / 0.729 GB, free: 3.617 MB / 0.581 GB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/6.373, allocations: 12 kB / 0.729 GB, free: 3.605 MB / 0.581 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007694/6.374, allocations: 118.6 kB / 0.7291 GB, free: 3.488 MB / 0.581 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007931/6.382, allocations: 0.7135 MB / 0.7298 GB, free: 2.852 MB / 0.581 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/6.382, allocations: 55.02 kB / 0.7299 GB, free: 2.793 MB / 0.581 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003228/6.383, allocations: 40 kB / 0.7299 GB, free: 2.754 MB / 0.581 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002583/6.385, allocations: 442.6 kB / 0.7303 GB, free: 2.5 MB / 0.581 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01113/6.396, allocations: 0.5901 MB / 0.7309 GB, free: 2.035 MB / 0.581 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.732e-05/6.396, allocations: 0 / 0.7309 GB, free: 2.035 MB / 0.581 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/6.397, allocations: 11.91 kB / 0.7309 GB, free: 2.023 MB / 0.581 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/6.397, allocations: 12 kB / 0.7309 GB, free: 2.012 MB / 0.581 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01357/6.41, allocations: 2.002 MB / 0.7329 GB, free: 404 kB / 0.581 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/6.418, allocations: 0.5394 MB / 0.7334 GB, free: 28 kB / 0.581 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007488/6.419, allocations: 203.5 kB / 0.7336 GB, free: 15.91 MB / 0.5966 GB Notification: Performance of preOpt evalFunc (simulation): time 8.876e-05/6.419, allocations: 12.42 kB / 0.7336 GB, free: 15.89 MB / 0.5966 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/6.42, allocations: 283.2 kB / 0.7339 GB, free: 15.69 MB / 0.5966 GB Notification: Performance of pre-optimization done (n=59): time 5.37e-06/6.42, allocations: 0 / 0.7339 GB, free: 15.69 MB / 0.5966 GB Notification: Performance of matching and sorting (n=59): time 0.002689/6.423, allocations: 493.4 kB / 0.7344 GB, free: 15.33 MB / 0.5966 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/6.423, allocations: 136.5 kB / 0.7345 GB, free: 15.17 MB / 0.5966 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/6.425, allocations: 0.5339 MB / 0.735 GB, free: 14.75 MB / 0.5966 GB Notification: Performance of collectPreVariables (initialization): time 0.0001853/6.425, allocations: 25.7 kB / 0.735 GB, free: 14.72 MB / 0.5966 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/6.425, allocations: 286.5 kB / 0.7353 GB, free: 14.48 MB / 0.5966 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003404/6.426, allocations: 191.9 kB / 0.7355 GB, free: 14.31 MB / 0.5966 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-05/6.426, allocations: 0 / 0.7355 GB, free: 14.31 MB / 0.5966 GB Notification: Performance of setup shared object (initialization): time 0.000167/6.426, allocations: 333 kB / 0.7358 GB, free: 13.99 MB / 0.5966 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007062/6.427, allocations: 178 kB / 0.736 GB, free: 13.89 MB / 0.5966 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009394/6.428, allocations: 264.1 kB / 0.7362 GB, free: 13.69 MB / 0.5966 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007799/6.428, allocations: 191.8 kB / 0.7364 GB, free: 13.57 MB / 0.5966 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/6.429, allocations: 0 / 0.7364 GB, free: 13.57 MB / 0.5966 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002084/6.431, allocations: 0.5423 MB / 0.7369 GB, free: 13.17 MB / 0.5966 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003655/6.431, allocations: 0.7113 MB / 0.7376 GB, free: 12.42 MB / 0.5966 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/6.431, allocations: 3.938 kB / 0.7376 GB, free: 12.41 MB / 0.5966 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.484e-05/6.431, allocations: 8 kB / 0.7377 GB, free: 12.41 MB / 0.5966 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002327/6.433, allocations: 151.2 kB / 0.7378 GB, free: 12.26 MB / 0.5966 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/6.433, allocations: 7.938 kB / 0.7378 GB, free: 12.25 MB / 0.5966 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/6.435, allocations: 67.55 kB / 0.7379 GB, free: 12.19 MB / 0.5966 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/6.435, allocations: 23.44 kB / 0.7379 GB, free: 12.17 MB / 0.5966 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/6.435, allocations: 7.938 kB / 0.7379 GB, free: 12.16 MB / 0.5966 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001581/6.437, allocations: 414.8 kB / 0.7383 GB, free: 11.89 MB / 0.5966 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/6.437, allocations: 8.031 kB / 0.7383 GB, free: 11.88 MB / 0.5966 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/6.437, allocations: 4 kB / 0.7383 GB, free: 11.88 MB / 0.5966 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/6.439, allocations: 139.5 kB / 0.7384 GB, free: 11.75 MB / 0.5966 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/6.439, allocations: 4 kB / 0.7384 GB, free: 11.74 MB / 0.5966 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/6.44, allocations: 55.5 kB / 0.7385 GB, free: 11.69 MB / 0.5966 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-05/6.44, allocations: 22.75 kB / 0.7385 GB, free: 11.67 MB / 0.5966 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.trigger.pulsStart,trigger.pulsStart,limPIDInp.trigger,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.0002949/6.44, allocations: 113 kB / 0.7386 GB, free: 11.55 MB / 0.5966 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/6.441, allocations: 94.8 kB / 0.7387 GB, free: 11.46 MB / 0.5966 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003968/6.441, allocations: 92.56 kB / 0.7388 GB, free: 11.41 MB / 0.5966 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/6.441, allocations: 4 kB / 0.7388 GB, free: 11.41 MB / 0.5966 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/6.441, allocations: 4 kB / 0.7388 GB, free: 11.4 MB / 0.5966 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/6.441, allocations: 7.984 kB / 0.7388 GB, free: 11.39 MB / 0.5966 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004029/6.445, allocations: 1.285 MB / 0.7401 GB, free: 10.43 MB / 0.5966 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/6.445, allocations: 0 / 0.7401 GB, free: 10.43 MB / 0.5966 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/6.447, allocations: 111.3 kB / 0.7402 GB, free: 10.32 MB / 0.5966 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.592e-05/6.447, allocations: 4 kB / 0.7402 GB, free: 10.32 MB / 0.5966 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.407e-05/6.447, allocations: 7.297 kB / 0.7402 GB, free: 10.31 MB / 0.5966 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.386e-05/6.447, allocations: 11.84 kB / 0.7402 GB, free: 10.3 MB / 0.5966 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/6.447, allocations: 0 / 0.7402 GB, free: 10.3 MB / 0.5966 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003075/6.45, allocations: 0.8535 MB / 0.741 GB, free: 9.695 MB / 0.5966 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003742/6.454, allocations: 1.494 MB / 0.7425 GB, free: 8.578 MB / 0.5966 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006682/6.455, allocations: 227.8 kB / 0.7427 GB, free: 8.375 MB / 0.5966 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/6.455, allocations: 0 / 0.7427 GB, free: 8.375 MB / 0.5966 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/6.456, allocations: 47.95 kB / 0.7428 GB, free: 8.328 MB / 0.5966 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/6.456, allocations: 35.7 kB / 0.7428 GB, free: 8.297 MB / 0.5966 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.671e-05/6.456, allocations: 22.8 kB / 0.7428 GB, free: 8.281 MB / 0.5966 GB Notification: Performance of sort global known variables: time 0.0009847/6.457, allocations: 423.8 kB / 0.7432 GB, free: 7.984 MB / 0.5966 GB Notification: Performance of remove unused functions: time 0.003762/6.461, allocations: 254.8 kB / 0.7435 GB, free: 7.734 MB / 0.5966 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004246/6.462, allocations: 119 kB / 0.7436 GB, free: 7.605 MB / 0.5966 GB Notification: Performance of simCode: created initialization part: time 0.002762/6.464, allocations: 0.7214 MB / 0.7443 GB, free: 7.129 MB / 0.5966 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/6.464, allocations: 2.875 kB / 0.7443 GB, free: 7.129 MB / 0.5966 GB Notification: Performance of simCode: created simulation system equations: time 0.0009134/6.465, allocations: 235.4 kB / 0.7445 GB, free: 6.973 MB / 0.5966 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003079/6.468, allocations: 201.5 kB / 0.7447 GB, free: 6.824 MB / 0.5966 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005389/6.474, allocations: 1.14 MB / 0.7458 GB, free: 5.789 MB / 0.5966 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001543/6.476, allocations: 1.087 MB / 0.7469 GB, free: 4.672 MB / 0.5966 GB Notification: Performance of SimCode: time 1.303e-06/6.476, allocations: 0 / 0.7469 GB, free: 4.672 MB / 0.5966 GB