Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Sensors_Examples_Density",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.257/4.257, allocations: 404 MB / 410.9 MB, free: 4.941 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.268/4.525, allocations: 95 MB / 0.4941 GB, free: 7.359 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5646/5.09, allocations: 92.68 MB / 0.5846 GB, free: 3.402 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.926/11.02, allocations: 2.171 GB / 2.756 GB, free: 44.63 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003502/11.02, allocations: 90.69 kB / 2.756 GB, free: 44.58 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 2.628/13.64, allocations: 473.6 MB / 3.218 GB, free: 158.8 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/13.64, allocations: 12 kB / 3.218 GB, free: 158.8 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004159/13.65, allocations: 286.6 kB / 3.219 GB, free: 158.5 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002893/13.65, allocations: 0.6938 MB / 3.219 GB, free: 157.8 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.198e-05/13.65, allocations: 23.91 kB / 3.219 GB, free: 157.8 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/13.65, allocations: 43.98 kB / 3.219 GB, free: 157.8 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00231/13.65, allocations: 0.5922 MB / 3.22 GB, free: 157.2 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/13.66, allocations: 0.69 MB / 3.221 GB, free: 156.5 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.063e-05/13.66, allocations: 2.875 kB / 3.221 GB, free: 156.5 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/13.66, allocations: 0 / 3.221 GB, free: 156.5 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.884e-05/13.66, allocations: 25.31 kB / 3.221 GB, free: 156.4 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007462/13.66, allocations: 2.979 MB / 3.224 GB, free: 153.3 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/13.67, allocations: 452.6 kB / 3.224 GB, free: 152.8 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006747/13.67, allocations: 262.9 kB / 3.224 GB, free: 152.6 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008079/13.67, allocations: 383.6 kB / 3.225 GB, free: 152.1 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/13.67, allocations: 46.59 kB / 3.225 GB, free: 152.1 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=46): time 4.038e-06/13.67, allocations: 0 / 3.225 GB, free: 152.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=46): time 0.00298/13.67, allocations: 0.5077 MB / 3.225 GB, free: 151.5 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/13.67, allocations: 114.8 kB / 3.225 GB, free: 151.4 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008269/13.67, allocations: 390.1 kB / 3.226 GB, free: 151 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/13.67, allocations: 25.7 kB / 3.226 GB, free: 151 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/13.67, allocations: 307.6 kB / 3.226 GB, free: 150.7 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/13.67, allocations: 157.7 kB / 3.226 GB, free: 150.5 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/13.67, allocations: 3.844 kB / 3.226 GB, free: 150.5 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001316/13.67, allocations: 366.7 kB / 3.226 GB, free: 150.2 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005259/13.67, allocations: 173.2 kB / 3.227 GB, free: 150 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006554/13.67, allocations: 304.2 kB / 3.227 GB, free: 149.6 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008834/13.67, allocations: 255.7 kB / 3.227 GB, free: 149.4 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/13.67, allocations: 4 kB / 3.227 GB, free: 149.4 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001831/13.68, allocations: 0.5639 MB / 3.228 GB, free: 148.8 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003154/13.68, allocations: 1.311 MB / 3.229 GB, free: 147.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/13.68, allocations: 4 kB / 3.229 GB, free: 147.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.231e-05/13.68, allocations: 8 kB / 3.229 GB, free: 147.4 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003124/13.68, allocations: 221.4 kB / 3.229 GB, free: 147.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/13.68, allocations: 0.6711 MB / 3.23 GB, free: 146.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/13.68, allocations: 82.47 kB / 3.23 GB, free: 146.4 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/13.68, allocations: 23.66 kB / 3.23 GB, free: 146.4 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/13.68, allocations: 5.875 kB / 3.23 GB, free: 146.4 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001576/13.68, allocations: 488.7 kB / 3.23 GB, free: 145.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/13.68, allocations: 4 kB / 3.23 GB, free: 145.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/13.68, allocations: 8 kB / 3.23 GB, free: 145.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/13.69, allocations: 123.8 kB / 3.231 GB, free: 145.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/13.69, allocations: 8 kB / 3.231 GB, free: 145.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/13.69, allocations: 73.61 kB / 3.231 GB, free: 145.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.247e-05/13.69, allocations: 24 kB / 3.231 GB, free: 145.7 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003019/13.69, allocations: 123 kB / 3.231 GB, free: 145.6 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002775/13.69, allocations: 67.09 kB / 3.231 GB, free: 145.5 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/13.69, allocations: 495.1 kB / 3.231 GB, free: 145 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/13.69, allocations: 4 kB / 3.231 GB, free: 145 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/13.69, allocations: 0 / 3.231 GB, free: 145 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001285/13.69, allocations: 0.7105 MB / 3.232 GB, free: 144.2 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004342/13.7, allocations: 1.565 MB / 3.234 GB, free: 142.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/13.7, allocations: 7.938 kB / 3.234 GB, free: 142.6 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003143/13.7, allocations: 229.2 kB / 3.234 GB, free: 142.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.89e-05/13.7, allocations: 4 kB / 3.234 GB, free: 142.4 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-05/13.7, allocations: 12 kB / 3.234 GB, free: 142.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003882/13.7, allocations: 1.4 MB / 3.235 GB, free: 140.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/13.7, allocations: 8.031 kB / 3.235 GB, free: 140.9 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002438/13.7, allocations: 1.04 MB / 3.236 GB, free: 139.7 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003373/13.71, allocations: 1.736 MB / 3.238 GB, free: 137.8 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007501/13.71, allocations: 200.3 kB / 3.238 GB, free: 137.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/13.71, allocations: 4 kB / 3.238 GB, free: 137.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/13.71, allocations: 66.12 kB / 3.238 GB, free: 137.6 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/13.71, allocations: 31.81 kB / 3.238 GB, free: 137.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.599e-05/13.71, allocations: 31.88 kB / 3.238 GB, free: 137.5 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0006031/13.71, allocations: 302.9 kB / 3.238 GB, free: 137.2 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.005595/13.72, allocations: 0.8186 MB / 3.239 GB, free: 136.4 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002962/13.72, allocations: 1.552 MB / 3.241 GB, free: 135.1 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004785/13.73, allocations: 0.8305 MB / 3.242 GB, free: 134.2 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/13.73, allocations: 0 / 3.242 GB, free: 134.2 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003134/13.73, allocations: 369.9 kB / 3.242 GB, free: 133.9 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003788/13.73, allocations: 335.4 kB / 3.242 GB, free: 133.5 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004122/13.74, allocations: 1.222 MB / 3.243 GB, free: 132.3 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/13.74, allocations: 1.069 MB / 3.244 GB, free: 131.2 MB / 0.7605 GB Notification: Performance of SimCode: time 1.963e-06/13.74, allocations: 0 / 3.244 GB, free: 131.2 MB / 0.7605 GB