Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Continuous_Examples_LimPIDWithReset",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.924/4.924, allocations: 404 MB / 410.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3443/5.268, allocations: 95 MB / 0.4941 GB, free: 7.348 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5838/5.852, allocations: 92.67 MB / 0.5846 GB, free: 3.301 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3196/6.172, allocations: 126.2 MB / 0.7078 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/6.172, allocations: 79.94 kB / 0.7079 GB, free: 7.371 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.06985/6.242, allocations: 13.18 MB / 0.7207 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/6.242, allocations: 12 kB / 0.7208 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004308/6.242, allocations: 83.06 kB / 0.7208 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/6.244, allocations: 0.5251 MB / 0.7213 GB, free: 9.453 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/6.244, allocations: 27.94 kB / 0.7214 GB, free: 9.426 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/6.244, allocations: 35.91 kB / 0.7214 GB, free: 9.391 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001969/6.246, allocations: 398.6 kB / 0.7218 GB, free: 9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/6.248, allocations: 0.5172 MB / 0.7223 GB, free: 8.453 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.469e-05/6.249, allocations: 8 kB / 0.7223 GB, free: 8.445 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/6.249, allocations: 3.984 kB / 0.7223 GB, free: 8.441 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/6.249, allocations: 15.98 kB / 0.7223 GB, free: 8.426 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006709/6.255, allocations: 2.007 MB / 0.7243 GB, free: 6.367 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/6.257, allocations: 322.4 kB / 0.7246 GB, free: 6.047 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006997/6.257, allocations: 202.5 kB / 0.7248 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.425e-05/6.257, allocations: 8.469 kB / 0.7248 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007912/6.258, allocations: 220.6 kB / 0.725 GB, free: 5.609 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=50): time 4.629e-06/6.258, allocations: 0 / 0.725 GB, free: 5.609 MB / 0.6042 GB Notification: Performance of matching and sorting (n=50): time 0.001527/6.26, allocations: 402.5 kB / 0.7254 GB, free: 5.207 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/6.26, allocations: 166.6 kB / 0.7255 GB, free: 5.008 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008629/6.261, allocations: 349.1 kB / 0.7259 GB, free: 4.66 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001439/6.261, allocations: 29.7 kB / 0.7259 GB, free: 4.625 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/6.261, allocations: 249 kB / 0.7261 GB, free: 4.379 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/6.262, allocations: 161.7 kB / 0.7263 GB, free: 4.219 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/6.262, allocations: 4 kB / 0.7263 GB, free: 4.215 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002207/6.262, allocations: 362.7 kB / 0.7266 GB, free: 3.852 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006323/6.263, allocations: 145.3 kB / 0.7268 GB, free: 3.711 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007195/6.263, allocations: 251.2 kB / 0.727 GB, free: 3.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006427/6.264, allocations: 173.4 kB / 0.7272 GB, free: 3.262 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/6.264, allocations: 0 / 0.7272 GB, free: 3.262 MB / 0.6042 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001675/6.266, allocations: 467.8 kB / 0.7276 GB, free: 2.801 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003266/6.266, allocations: 0.6143 MB / 0.7282 GB, free: 2.133 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/6.266, allocations: 3.984 kB / 0.7282 GB, free: 2.129 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-05/6.266, allocations: 4 kB / 0.7282 GB, free: 2.125 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/6.268, allocations: 123.8 kB / 0.7284 GB, free: 2.004 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/6.268, allocations: 8 kB / 0.7284 GB, free: 1.996 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/6.269, allocations: 75.55 kB / 0.7284 GB, free: 1.922 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-05/6.269, allocations: 16 kB / 0.7285 GB, free: 1.906 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/6.269, allocations: 4 kB / 0.7285 GB, free: 1.902 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001766/6.271, allocations: 367 kB / 0.7288 GB, free: 1.547 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/6.271, allocations: 11.98 kB / 0.7288 GB, free: 1.535 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/6.271, allocations: 4 kB / 0.7288 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/6.272, allocations: 107.8 kB / 0.7289 GB, free: 1.426 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/6.272, allocations: 4 kB / 0.7289 GB, free: 1.422 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009953/6.273, allocations: 59.59 kB / 0.729 GB, free: 1.363 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.913e-05/6.273, allocations: 23.94 kB / 0.729 GB, free: 1.34 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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.0002856/6.274, allocations: 126.4 kB / 0.7291 GB, free: 1.215 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/6.274, allocations: 55.33 kB / 0.7292 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003024/6.274, allocations: 57.2 kB / 0.7292 GB, free: 1.102 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/6.274, allocations: 4 kB / 0.7292 GB, free: 1.098 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/6.274, allocations: 48 / 0.7292 GB, free: 1.098 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/6.274, allocations: 11.88 kB / 0.7293 GB, free: 1.086 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003352/6.278, allocations: 1.103 MB / 0.7303 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.014e-06/6.278, allocations: 4 kB / 0.7303 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/6.279, allocations: 107.8 kB / 0.7304 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.741e-05/6.279, allocations: 7.938 kB / 0.7304 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.667e-05/6.279, allocations: 7.984 kB / 0.7305 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.308e-06/6.279, allocations: 4 kB / 0.7305 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/6.279, allocations: 0 / 0.7305 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002272/6.282, allocations: 0.7088 MB / 0.7311 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00309/6.285, allocations: 1.306 MB / 0.7324 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005996/6.285, allocations: 188.3 kB / 0.7326 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/6.286, allocations: 4 kB / 0.7326 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/6.287, allocations: 51.86 kB / 0.7327 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/6.287, allocations: 32.39 kB / 0.7327 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.913e-05/6.287, allocations: 11.98 kB / 0.7327 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0007194/6.288, allocations: 267.2 kB / 0.733 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003472/6.291, allocations: 239 kB / 0.7332 GB, free: 12.97 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * 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.0003685/6.292, allocations: 127.1 kB / 0.7333 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002484/6.294, allocations: 0.6635 MB / 0.734 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.509e-05/6.294, allocations: 4 kB / 0.734 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007183/6.295, allocations: 197.6 kB / 0.7341 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/6.297, allocations: 121.8 kB / 0.7343 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006922/6.303, allocations: 1.285 MB / 0.7355 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/6.305, allocations: 0.9686 MB / 0.7365 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of SimCode: time 1.693e-06/6.305, allocations: 0 / 0.7365 GB, free: 9.527 MB / 0.6198 GB