Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Sensors_Examples_TraceSubstances",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.439/4.439, allocations: 404 MB / 410.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2802/4.719, allocations: 95 MB / 0.4941 GB, free: 7.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6331/5.353, allocations: 92.68 MB / 0.5846 GB, free: 3.344 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.276/11.63, allocations: 2.174 GB / 2.758 GB, free: 41.75 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005124/11.63, allocations: 87.64 kB / 2.758 GB, free: 41.71 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 4.083/15.71, allocations: 0.6462 GB / 3.405 GB, free: 129.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/15.71, allocations: 14.66 kB / 3.405 GB, free: 129.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002546/15.71, allocations: 266.5 kB / 3.405 GB, free: 129.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/15.72, allocations: 0.868 MB / 3.406 GB, free: 129.4 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.364e-05/15.72, allocations: 35.22 kB / 3.406 GB, free: 129.4 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002473/15.72, allocations: 64.75 kB / 3.406 GB, free: 129.4 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003084/15.72, allocations: 0.9554 MB / 3.407 GB, free: 129.4 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003219/15.72, allocations: 1.171 MB / 3.408 GB, free: 129.2 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.713e-05/15.72, allocations: 2.719 kB / 3.408 GB, free: 129.2 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/15.72, allocations: 3.438 kB / 3.408 GB, free: 129.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.474e-05/15.72, allocations: 40.91 kB / 3.408 GB, free: 129.2 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01084/15.74, allocations: 6.248 MB / 3.414 GB, free: 125.2 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/15.74, allocations: 0.5898 MB / 3.415 GB, free: 125.1 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007499/15.74, allocations: 308.3 kB / 3.415 GB, free: 125.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005925/15.74, allocations: 126.8 kB / 3.415 GB, free: 125 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/15.74, allocations: 46.41 kB / 3.415 GB, free: 125 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=54): time 4.008e-06/15.74, allocations: 2.219 kB / 3.415 GB, free: 125 MB / 0.7761 GB Notification: Performance of matching and sorting (n=54): time 0.002318/15.74, allocations: 0.6056 MB / 3.416 GB, free: 124.9 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/15.74, allocations: 109.8 kB / 3.416 GB, free: 124.8 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/15.74, allocations: 0.5854 MB / 3.416 GB, free: 124.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/15.74, allocations: 29.67 kB / 3.416 GB, free: 124.6 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003307/15.74, allocations: 0.4913 MB / 3.417 GB, free: 124.4 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/15.74, allocations: 188.2 kB / 3.417 GB, free: 124.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.908e-05/15.74, allocations: 0 / 3.417 GB, free: 124.3 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001579/15.74, allocations: 393.6 kB / 3.417 GB, free: 124 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007786/15.74, allocations: 267.8 kB / 3.418 GB, free: 124 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/15.74, allocations: 0.6136 MB / 3.418 GB, free: 123.5 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/15.75, allocations: 427.1 kB / 3.419 GB, free: 123.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/15.75, allocations: 3.844 kB / 3.419 GB, free: 123.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002923/15.75, allocations: 0.9133 MB / 3.42 GB, free: 123.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/15.75, allocations: 3.844 kB / 3.42 GB, free: 123.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/15.75, allocations: 10.97 kB / 3.42 GB, free: 123.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.964e-05/15.75, allocations: 13.75 kB / 3.42 GB, free: 123.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/15.75, allocations: 196.3 kB / 3.42 GB, free: 123.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.636e-05/15.75, allocations: 23.28 kB / 3.42 GB, free: 123.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/15.75, allocations: 126.9 kB / 3.42 GB, free: 123.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000179/15.75, allocations: 41 kB / 3.42 GB, free: 123.4 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 105 * 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.0003515/15.75, allocations: 144.9 kB / 3.42 GB, free: 123.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000326/15.75, allocations: 86.88 kB / 3.42 GB, free: 123.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/15.76, allocations: 0.6061 MB / 3.421 GB, free: 123.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/15.76, allocations: 3.844 kB / 3.421 GB, free: 123.2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/15.76, allocations: 3.656 kB / 3.421 GB, free: 123.2 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001417/15.76, allocations: 0.5144 MB / 3.421 GB, free: 123.1 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004661/15.76, allocations: 1.683 MB / 3.423 GB, free: 122.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/15.76, allocations: 2.625 kB / 3.423 GB, free: 122.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/15.76, allocations: 125.8 kB / 3.423 GB, free: 122.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.49e-05/15.76, allocations: 3.219 kB / 3.423 GB, free: 122.8 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-05/15.76, allocations: 8.938 kB / 3.423 GB, free: 122.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.095e-05/15.76, allocations: 15.03 kB / 3.423 GB, free: 122.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/15.76, allocations: 3.25 kB / 3.423 GB, free: 122.8 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00275/15.77, allocations: 1.198 MB / 3.424 GB, free: 122.3 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004088/15.77, allocations: 2.008 MB / 3.426 GB, free: 121.6 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/15.77, allocations: 251.2 kB / 3.426 GB, free: 121.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002599/15.77, allocations: 7.312 kB / 3.426 GB, free: 121.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001827/15.77, allocations: 62.05 kB / 3.426 GB, free: 121.4 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/15.77, allocations: 33.06 kB / 3.426 GB, free: 121.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/15.77, allocations: 24.83 kB / 3.427 GB, free: 121.4 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.001006/15.78, allocations: 448 kB / 3.427 GB, free: 121.3 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004484/15.78, allocations: 0.7139 MB / 3.428 GB, free: 121.3 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 54 * 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.003816/15.78, allocations: 2.143 MB / 3.43 GB, free: 120.8 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001974/15.79, allocations: 0.6753 MB / 3.43 GB, free: 120.7 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.046e-06/15.79, allocations: 3.844 kB / 3.43 GB, free: 120.7 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006426/15.79, allocations: 270.2 kB / 3.431 GB, free: 120.7 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004124/15.79, allocations: 373.8 kB / 3.431 GB, free: 120.7 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005004/15.8, allocations: 1.609 MB / 3.433 GB, free: 120.3 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/15.8, allocations: 1.279 MB / 3.434 GB, free: 119.6 MB / 0.7761 GB Notification: Performance of SimCode: time 1.112e-06/15.8, allocations: 3.938 kB / 3.434 GB, free: 119.6 MB / 0.7761 GB