Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Continuous_Examples_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.824/4.824, allocations: 403.9 MB / 410.9 MB, free: 4.961 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3071/5.131, allocations: 95.01 MB / 0.4941 GB, free: 7.352 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5841/5.715, allocations: 92.69 MB / 0.5846 GB, free: 3.414 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4551/6.17, allocations: 126.4 MB / 0.708 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005873/6.171, allocations: 79.95 kB / 0.7081 GB, free: 7.25 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.1293/6.3, allocations: 16.85 MB / 0.7245 GB, free: 6.297 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/6.3, allocations: 12 kB / 0.7246 GB, free: 6.285 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004698/6.301, allocations: 86.97 kB / 0.7246 GB, free: 6.199 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/6.303, allocations: 0.5665 MB / 0.7252 GB, free: 5.594 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002204/6.303, allocations: 88.33 kB / 0.7253 GB, free: 5.496 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/6.303, allocations: 28 kB / 0.7253 GB, free: 5.469 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001322/6.305, allocations: 326 kB / 0.7256 GB, free: 5.148 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/6.306, allocations: 0.4889 MB / 0.7261 GB, free: 4.617 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/6.306, allocations: 0 / 0.7261 GB, free: 4.617 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/6.307, allocations: 4 kB / 0.7261 GB, free: 4.613 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/6.307, allocations: 12 kB / 0.7261 GB, free: 4.602 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005841/6.312, allocations: 1.883 MB / 0.7279 GB, free: 2.656 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/6.314, allocations: 431.2 kB / 0.7284 GB, free: 2.227 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005812/6.315, allocations: 153.6 kB / 0.7285 GB, free: 2.074 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.623e-05/6.315, allocations: 11.98 kB / 0.7285 GB, free: 2.062 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007812/6.316, allocations: 231.1 kB / 0.7287 GB, free: 1.824 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=44): time 4.408e-06/6.316, allocations: 0 / 0.7287 GB, free: 1.824 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.001462/6.317, allocations: 373.1 kB / 0.7291 GB, free: 1.453 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/6.317, allocations: 187.9 kB / 0.7293 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/6.319, allocations: 459.5 kB / 0.7297 GB, free: 0.7695 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001888/6.319, allocations: 29.7 kB / 0.7297 GB, free: 0.7344 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/6.319, allocations: 244.8 kB / 0.73 GB, free: 500 kB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/6.319, allocations: 141.8 kB / 0.7301 GB, free: 356 kB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/6.319, allocations: 0 / 0.7301 GB, free: 356 kB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002353/6.32, allocations: 378.8 kB / 0.7305 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/6.32, allocations: 133 kB / 0.7306 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006906/6.321, allocations: 252.4 kB / 0.7308 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006295/6.322, allocations: 165.1 kB / 0.731 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/6.322, allocations: 3.938 kB / 0.731 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00243/6.324, allocations: 454.3 kB / 0.7314 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005522/6.325, allocations: 0.7995 MB / 0.7322 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/6.325, allocations: 0 / 0.7322 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.039e-05/6.325, allocations: 4 kB / 0.7322 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/6.326, allocations: 119.9 kB / 0.7323 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/6.326, allocations: 7.938 kB / 0.7323 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/6.328, allocations: 75.64 kB / 0.7324 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/6.328, allocations: 19.91 kB / 0.7324 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/6.328, allocations: 4 kB / 0.7324 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001296/6.329, allocations: 337.4 kB / 0.7328 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/6.329, allocations: 64 / 0.7328 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/6.329, allocations: 12.25 kB / 0.7328 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/6.33, allocations: 103.8 kB / 0.7329 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/6.33, allocations: 4 kB / 0.7329 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/6.331, allocations: 47.66 kB / 0.7329 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.029e-05/6.332, allocations: 16 kB / 0.7329 GB, free: 13.34 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.0002928/6.332, allocations: 124.7 kB / 0.733 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/6.332, allocations: 71.14 kB / 0.7331 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/6.332, allocations: 70.28 kB / 0.7332 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/6.332, allocations: 7.906 kB / 0.7332 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/6.332, allocations: 0 / 0.7332 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/6.332, allocations: 0 / 0.7332 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/6.334, allocations: 0.5678 MB / 0.7337 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/6.334, allocations: 0 / 0.7337 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/6.335, allocations: 103.9 kB / 0.7338 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.26e-05/6.335, allocations: 0 / 0.7338 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-05/6.335, allocations: 4 kB / 0.7338 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/6.335, allocations: 0 / 0.7338 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/6.335, allocations: 0 / 0.7338 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002145/6.338, allocations: 0.6071 MB / 0.7344 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003/6.341, allocations: 1.183 MB / 0.7356 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005973/6.341, allocations: 200 kB / 0.7358 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/6.342, allocations: 4 kB / 0.7358 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/6.343, allocations: 63.95 kB / 0.7358 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/6.343, allocations: 27.86 kB / 0.7359 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.574e-05/6.343, allocations: 19.98 kB / 0.7359 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.000858/6.344, allocations: 351.2 kB / 0.7362 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003612/6.348, allocations: 203.2 kB / 0.7364 GB, free: 9.645 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.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 (44): * Single equations (assignments): 42 * 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.0003884/6.348, allocations: 122.8 kB / 0.7365 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00222/6.35, allocations: 0.632 MB / 0.7372 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/6.351, allocations: 0 / 0.7372 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006409/6.351, allocations: 176.2 kB / 0.7373 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/6.353, allocations: 152.5 kB / 0.7375 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/6.357, allocations: 0.8596 MB / 0.7383 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/6.359, allocations: 0.9879 MB / 0.7393 GB, free: 6.668 MB / 0.6198 GB Notification: Performance of SimCode: time 1.834e-06/6.359, allocations: 4 kB / 0.7393 GB, free: 6.664 MB / 0.6198 GB