Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,fileNamePrefix="Buildings_5_0_1_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo",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.04/4.04, allocations: 404 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2683/4.308, allocations: 95.01 MB / 0.4941 GB, free: 7.344 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5124/4.821, allocations: 92.69 MB / 0.5846 GB, free: 3.406 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2976/5.118, allocations: 121.8 MB / 0.7035 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003662/5.119, allocations: 91.92 kB / 0.7036 GB, free: 11.82 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.02756/5.146, allocations: 4.708 MB / 0.7082 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/5.146, allocations: 12 kB / 0.7082 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/5.146, allocations: 27.62 kB / 0.7083 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/5.148, allocations: 399.8 kB / 0.7087 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/5.148, allocations: 4 kB / 0.7087 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/5.148, allocations: 11.89 kB / 0.7087 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001745/5.148, allocations: 43.92 kB / 0.7087 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/5.148, allocations: 73.61 kB / 0.7088 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/5.148, allocations: 0 / 0.7088 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/5.148, allocations: 0 / 0.7088 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/5.148, allocations: 0 / 0.7088 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/5.149, allocations: 477 kB / 0.7092 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/5.149, allocations: 42.52 kB / 0.7093 GB, free: 5.887 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.569e-05/5.149, allocations: 17 kB / 0.7093 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/5.15, allocations: 4 kB / 0.7093 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/5.15, allocations: 34.56 kB / 0.7093 GB, free: 5.82 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.244e-06/5.15, allocations: 0 / 0.7093 GB, free: 5.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.00031/5.15, allocations: 81.31 kB / 0.7094 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/5.15, allocations: 55.41 kB / 0.7095 GB, free: 5.668 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/5.151, allocations: 465.9 kB / 0.7099 GB, free: 5.207 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/5.151, allocations: 29.7 kB / 0.7099 GB, free: 5.172 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/5.151, allocations: 127.9 kB / 0.7101 GB, free: 5.043 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/5.151, allocations: 7.891 kB / 0.7101 GB, free: 5.035 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-06/5.151, allocations: 0 / 0.7101 GB, free: 5.035 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001909/5.151, allocations: 342.8 kB / 0.7104 GB, free: 4.691 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.2e-05/5.152, allocations: 8.109 kB / 0.7104 GB, free: 4.684 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.552e-05/5.152, allocations: 19.94 kB / 0.7104 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.515e-05/5.152, allocations: 15.98 kB / 0.7104 GB, free: 4.648 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/5.152, allocations: 0 / 0.7104 GB, free: 4.648 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002545/5.152, allocations: 89.31 kB / 0.7105 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/5.152, allocations: 4 kB / 0.7105 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/5.152, allocations: 0 / 0.7105 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/5.152, allocations: 4 kB / 0.7105 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/5.152, allocations: 4 kB / 0.7105 GB, free: 4.543 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/5.152, allocations: 7.984 kB / 0.7105 GB, free: 4.535 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/5.152, allocations: 7.906 kB / 0.7105 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/5.152, allocations: 4 kB / 0.7105 GB, free: 4.523 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 2 * 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 9.061e-05/5.152, allocations: 104.9 kB / 0.7106 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/5.153, allocations: 27.62 kB / 0.7107 GB, free: 4.387 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/5.153, allocations: 96.09 kB / 0.7108 GB, free: 4.281 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/5.153, allocations: 0 / 0.7108 GB, free: 4.281 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/5.153, allocations: 4 kB / 0.7108 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/5.153, allocations: 4 kB / 0.7108 GB, free: 4.273 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/5.153, allocations: 270.1 kB / 0.711 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/5.153, allocations: 4 kB / 0.711 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.894e-05/5.154, allocations: 8.094 kB / 0.711 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/5.154, allocations: 3.984 kB / 0.711 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/5.154, allocations: 0 / 0.711 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/5.154, allocations: 4 kB / 0.711 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/5.154, allocations: 0 / 0.711 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002775/5.154, allocations: 187.1 kB / 0.7112 GB, free: 3.754 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000473/5.154, allocations: 0.5464 MB / 0.7118 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/5.155, allocations: 124.8 kB / 0.7119 GB, free: 3.047 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.858e-05/5.155, allocations: 4 kB / 0.7119 GB, free: 3.043 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/5.155, allocations: 7.891 kB / 0.7119 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/5.155, allocations: 8 kB / 0.7119 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/5.155, allocations: 0 / 0.7119 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0008414/5.156, allocations: 372.5 kB / 0.7123 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001496/5.157, allocations: 35.94 kB / 0.7123 GB, free: 2.625 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0007948/5.158, allocations: 262.2 kB / 0.7125 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002124/5.158, allocations: 79.41 kB / 0.7126 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/5.158, allocations: 0 / 0.7126 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.32e-05/5.158, allocations: 12 kB / 0.7126 GB, free: 2.324 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/5.159, allocations: 29.11 kB / 0.7127 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/5.16, allocations: 388.3 kB / 0.713 GB, free: 1.883 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007373/5.161, allocations: 0.8131 MB / 0.7138 GB, free: 1.047 MB / 0.5886 GB Notification: Performance of SimCode: time 1.072e-06/5.161, allocations: 0 / 0.7138 GB, free: 1.047 MB / 0.5886 GB