Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Sensors_Examples_MassFraction",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.41/4.41, allocations: 404 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2466/4.657, allocations: 95 MB / 0.4941 GB, free: 7.359 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5307/5.187, allocations: 92.68 MB / 0.5846 GB, free: 3.363 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.668/10.86, allocations: 2.175 GB / 2.759 GB, free: 40.93 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003278/10.86, allocations: 88.06 kB / 2.759 GB, free: 40.89 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 2.606/13.46, allocations: 471.5 MB / 3.22 GB, free: 158.6 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/13.46, allocations: 15.78 kB / 3.22 GB, free: 158.6 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002134/13.46, allocations: 206.7 kB / 3.22 GB, free: 158.4 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002155/13.47, allocations: 0.6724 MB / 3.221 GB, free: 157.7 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.95e-05/13.47, allocations: 23.94 kB / 3.221 GB, free: 157.6 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/13.47, allocations: 44 kB / 3.221 GB, free: 157.6 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001751/13.47, allocations: 0.5648 MB / 3.221 GB, free: 157 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/13.47, allocations: 0.6616 MB / 3.222 GB, free: 156.4 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/13.47, allocations: 3.938 kB / 3.222 GB, free: 156.3 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/13.47, allocations: 4 kB / 3.222 GB, free: 156.3 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.322e-05/13.47, allocations: 21.31 kB / 3.222 GB, free: 156.3 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006771/13.48, allocations: 2.901 MB / 3.225 GB, free: 153.2 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/13.48, allocations: 442.4 kB / 3.225 GB, free: 152.8 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005852/13.48, allocations: 261.3 kB / 3.225 GB, free: 152.5 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006326/13.48, allocations: 205.2 kB / 3.226 GB, free: 152.3 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/13.48, allocations: 42.56 kB / 3.226 GB, free: 152.2 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=44): time 3.467e-06/13.48, allocations: 3.844 kB / 3.226 GB, free: 152.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=44): time 0.002414/13.48, allocations: 0.5048 MB / 3.226 GB, free: 151.7 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/13.48, allocations: 106.8 kB / 3.226 GB, free: 151.6 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007873/13.48, allocations: 403.8 kB / 3.227 GB, free: 151.2 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001223/13.48, allocations: 29.7 kB / 3.227 GB, free: 151.2 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/13.48, allocations: 303.6 kB / 3.227 GB, free: 150.9 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/13.48, allocations: 153.7 kB / 3.227 GB, free: 150.7 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/13.48, allocations: 0 / 3.227 GB, free: 150.7 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001248/13.48, allocations: 362.8 kB / 3.227 GB, free: 150.4 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005705/13.48, allocations: 200.5 kB / 3.228 GB, free: 150.2 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006633/13.49, allocations: 335.7 kB / 3.228 GB, free: 149.8 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/13.49, allocations: 288.8 kB / 3.228 GB, free: 149.5 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/13.49, allocations: 3.906 kB / 3.228 GB, free: 149.5 MB / 0.7605 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002006/13.49, allocations: 0.6341 MB / 3.229 GB, free: 148.9 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002974/13.49, allocations: 1.307 MB / 3.23 GB, free: 147.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/13.49, allocations: 4 kB / 3.23 GB, free: 147.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/13.49, allocations: 4 kB / 3.23 GB, free: 147.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002983/13.49, allocations: 219.1 kB / 3.23 GB, free: 147.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/13.49, allocations: 0.6751 MB / 3.231 GB, free: 146.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/13.5, allocations: 82.3 kB / 3.231 GB, free: 146.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/13.5, allocations: 27.83 kB / 3.231 GB, free: 146.5 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/13.5, allocations: 6.875 kB / 3.231 GB, free: 146.5 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001895/13.5, allocations: 0.5355 MB / 3.232 GB, free: 145.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/13.5, allocations: 4 kB / 3.232 GB, free: 145.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/13.5, allocations: 7.938 kB / 3.232 GB, free: 145.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/13.5, allocations: 123.8 kB / 3.232 GB, free: 145.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/13.5, allocations: 11.94 kB / 3.232 GB, free: 145.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/13.5, allocations: 63.33 kB / 3.232 GB, free: 145.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/13.5, allocations: 24 kB / 3.232 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: 2 (senMasFra2.i_x,senMasFra1.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * 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.0005198/13.5, allocations: 128.5 kB / 3.232 GB, free: 145.6 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006939/13.5, allocations: 59.25 kB / 3.232 GB, free: 145.5 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/13.5, allocations: 499.3 kB / 3.232 GB, free: 145 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/13.5, allocations: 4 kB / 3.232 GB, free: 145 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/13.5, allocations: 0 / 3.232 GB, free: 145 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001158/13.5, allocations: 0.714 MB / 3.233 GB, free: 144.2 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004052/13.51, allocations: 1.534 MB / 3.235 GB, free: 142.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/13.51, allocations: 4 kB / 3.235 GB, free: 142.6 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003005/13.51, allocations: 209.2 kB / 3.235 GB, free: 142.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-05/13.51, allocations: 4 kB / 3.235 GB, free: 142.4 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.98e-05/13.51, allocations: 11.98 kB / 3.235 GB, free: 142.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005026/13.52, allocations: 1.412 MB / 3.236 GB, free: 140.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.258e-05/13.52, allocations: 7.906 kB / 3.236 GB, free: 140.9 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003507/13.52, allocations: 0.9783 MB / 3.237 GB, free: 139.8 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004818/13.53, allocations: 1.677 MB / 3.239 GB, free: 138 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/13.53, allocations: 200.2 kB / 3.239 GB, free: 137.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/13.53, allocations: 7.938 kB / 3.239 GB, free: 137.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002207/13.53, allocations: 61.66 kB / 3.239 GB, free: 137.8 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/13.53, allocations: 27.03 kB / 3.239 GB, free: 137.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.054e-05/13.53, allocations: 31.83 kB / 3.239 GB, free: 137.7 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.000626/13.53, allocations: 306.9 kB / 3.239 GB, free: 137.4 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.005566/13.54, allocations: 0.8347 MB / 3.24 GB, free: 136.6 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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.00287/13.54, allocations: 1.582 MB / 3.242 GB, free: 135.2 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004942/13.54, allocations: 1.005 MB / 3.243 GB, free: 134.1 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/13.54, allocations: 0 / 3.243 GB, free: 134.1 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003069/13.55, allocations: 357.9 kB / 3.243 GB, free: 133.8 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003696/13.55, allocations: 311.3 kB / 3.243 GB, free: 133.5 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004319/13.55, allocations: 1.223 MB / 3.245 GB, free: 132.2 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/13.56, allocations: 1.063 MB / 3.246 GB, free: 131.1 MB / 0.7605 GB Notification: Performance of SimCode: time 1.463e-06/13.56, allocations: 0 / 3.246 GB, free: 131.1 MB / 0.7605 GB