Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",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.112/4.112, allocations: 404 MB / 410.9 MB, free: 4.914 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2708/4.383, allocations: 95 MB / 0.4941 GB, free: 7.332 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5641/4.947, allocations: 92.68 MB / 0.5846 GB, free: 3.375 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.594/10.54, allocations: 2.177 GB / 2.762 GB, free: 37.78 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/10.54, allocations: 86.95 kB / 2.762 GB, free: 37.73 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: 403 * Number of variables: 403 Notification: Performance of Generate backend data structure: time 7.843/18.38, allocations: 1.297 GB / 4.059 GB, free: 100.7 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/18.39, allocations: 14.72 kB / 4.059 GB, free: 100.7 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006007/18.39, allocations: 0.5283 MB / 4.06 GB, free: 100.6 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006504/18.4, allocations: 1.507 MB / 4.061 GB, free: 100.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002342/18.4, allocations: 127.7 kB / 4.062 GB, free: 100.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006651/18.4, allocations: 105.2 kB / 4.062 GB, free: 100.2 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007133/18.41, allocations: 1.387 MB / 4.063 GB, free: 100.2 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007361/18.41, allocations: 1.616 MB / 4.065 GB, free: 99.98 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.522e-05/18.41, allocations: 0 / 4.065 GB, free: 99.98 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004978/18.41, allocations: 3.781 kB / 4.065 GB, free: 99.98 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/18.41, allocations: 62.8 kB / 4.065 GB, free: 99.97 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02011/18.43, allocations: 8.095 MB / 4.073 GB, free: 95.55 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/18.44, allocations: 0.6434 MB / 4.073 GB, free: 95.48 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/18.44, allocations: 0.5217 MB / 4.074 GB, free: 95.45 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006598/18.44, allocations: 225.9 kB / 4.074 GB, free: 95.26 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/18.44, allocations: 54.91 kB / 4.074 GB, free: 95.22 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=106): time 4.248e-06/18.44, allocations: 0 / 4.074 GB, free: 95.22 MB / 0.8073 GB Notification: Performance of matching and sorting (n=112): time 0.01706/18.46, allocations: 3.654 MB / 4.078 GB, free: 94.21 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/18.46, allocations: 115.8 kB / 4.078 GB, free: 94.08 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002113/18.46, allocations: 0.9404 MB / 4.079 GB, free: 93.93 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.000357/18.46, allocations: 32.83 kB / 4.079 GB, free: 93.9 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.000442/18.46, allocations: 0.6252 MB / 4.079 GB, free: 93.62 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.000541/18.46, allocations: 395.6 kB / 4.08 GB, free: 93.39 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/18.46, allocations: 0 / 4.08 GB, free: 93.39 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001232/18.46, allocations: 360.5 kB / 4.08 GB, free: 93.09 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/18.46, allocations: 460.8 kB / 4.08 GB, free: 93.08 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/18.46, allocations: 0.8388 MB / 4.081 GB, free: 92.64 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002221/18.46, allocations: 0.6761 MB / 4.082 GB, free: 92.62 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/18.46, allocations: 3.875 kB / 4.082 GB, free: 92.62 MB / 0.8073 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004742/18.47, allocations: 1.493 MB / 4.083 GB, free: 92.48 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007505/18.47, allocations: 3.543 MB / 4.087 GB, free: 88.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.298e-05/18.47, allocations: 12.25 kB / 4.087 GB, free: 88.85 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.001e-05/18.47, allocations: 20.28 kB / 4.087 GB, free: 88.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003814/18.47, allocations: 373.5 kB / 4.087 GB, free: 88.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.688e-05/18.47, allocations: 23.02 kB / 4.087 GB, free: 88.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004637/18.48, allocations: 213.6 kB / 4.087 GB, free: 88.83 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003051/18.48, allocations: 60.23 kB / 4.087 GB, free: 88.83 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/18.48, allocations: 3.844 kB / 4.087 GB, free: 88.83 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003964/18.48, allocations: 1.231 MB / 4.089 GB, free: 88.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.622e-05/18.48, allocations: 10.28 kB / 4.089 GB, free: 88.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.034e-05/18.48, allocations: 15.88 kB / 4.089 GB, free: 88.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002914/18.49, allocations: 313.6 kB / 4.089 GB, free: 88.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.899e-05/18.49, allocations: 23.3 kB / 4.089 GB, free: 88.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003856/18.49, allocations: 160.9 kB / 4.089 GB, free: 88.78 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003687/18.49, allocations: 53.8 kB / 4.089 GB, free: 88.78 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * 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 prepare postOptimizeDAE: time 0.0005996/18.49, allocations: 149.3 kB / 4.089 GB, free: 88.67 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000706/18.49, allocations: 157.9 kB / 4.089 GB, free: 88.59 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004566/18.5, allocations: 1.223 MB / 4.091 GB, free: 88.51 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/18.5, allocations: 11 kB / 4.091 GB, free: 88.51 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/18.5, allocations: 0 / 4.091 GB, free: 88.51 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003293/18.5, allocations: 1.156 MB / 4.092 GB, free: 88.23 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/18.51, allocations: 2.978 MB / 4.095 GB, free: 87.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/18.51, allocations: 3.531 kB / 4.095 GB, free: 87.72 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005506/18.52, allocations: 325.9 kB / 4.095 GB, free: 87.72 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-05/18.52, allocations: 6.938 kB / 4.095 GB, free: 87.72 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004402/18.52, allocations: 25.16 kB / 4.095 GB, free: 87.72 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.088e-05/18.52, allocations: 9.312 kB / 4.095 GB, free: 87.72 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/18.52, allocations: 2.906 kB / 4.095 GB, free: 87.72 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008679/18.52, allocations: 2.011 MB / 4.097 GB, free: 87.3 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008609/18.53, allocations: 3.208 MB / 4.1 GB, free: 86.49 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001721/18.53, allocations: 367.7 kB / 4.101 GB, free: 86.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005762/18.54, allocations: 8.094 kB / 4.101 GB, free: 86.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004496/18.54, allocations: 180.7 kB / 4.101 GB, free: 86.31 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003537/18.54, allocations: 64.42 kB / 4.101 GB, free: 86.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002452/18.54, allocations: 53.28 kB / 4.101 GB, free: 86.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.001731/18.54, allocations: 0.6983 MB / 4.101 GB, free: 86.2 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01072/18.55, allocations: 1.768 MB / 4.103 GB, free: 86.18 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,entFloRat.h_out,entFloRat1.h_out,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],entFloRat2.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * 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.006554/18.56, allocations: 3.336 MB / 4.106 GB, free: 84.93 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.006014/18.57, allocations: 1.824 MB / 4.108 GB, free: 84.9 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/18.57, allocations: 2.656 kB / 4.108 GB, free: 84.9 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001699/18.57, allocations: 0.5373 MB / 4.109 GB, free: 84.9 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00998/18.58, allocations: 0.8334 MB / 4.11 GB, free: 84.87 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/18.59, allocations: 3.147 MB / 4.113 GB, free: 84.16 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002893/18.59, allocations: 1.732 MB / 4.114 GB, free: 83.42 MB / 0.8073 GB Notification: Performance of SimCode: time 1.603e-06/18.59, allocations: 0 / 4.114 GB, free: 83.42 MB / 0.8073 GB