Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [: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(ModelicaTest): time 2.386/2.386, allocations: 234.9 MB / 241.9 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1909/2.577, allocations: 57.23 MB / 299.1 MB, free: 432 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/2.863, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/3.925, allocations: 414.1 MB / 0.7501 GB, free: 35.39 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004518/3.926, allocations: 86.77 kB / 0.7501 GB, free: 35.35 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.6671/4.593, allocations: 118.1 MB / 0.8655 GB, free: 112.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/4.593, allocations: 15.98 kB / 0.8655 GB, free: 112.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005878/4.594, allocations: 87.16 kB / 0.8656 GB, free: 112.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/4.595, allocations: 0.5439 MB / 0.8662 GB, free: 111.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/4.595, allocations: 84.39 kB / 0.8662 GB, free: 111.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/4.595, allocations: 31.91 kB / 0.8663 GB, free: 111.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001565/4.597, allocations: 0.5606 MB / 0.8668 GB, free: 111.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/4.599, allocations: 0.7384 MB / 0.8675 GB, free: 110.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/4.599, allocations: 3.984 kB / 0.8675 GB, free: 110.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/4.599, allocations: 4 kB / 0.8675 GB, free: 110.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.709e-05/4.599, allocations: 44.91 kB / 0.8676 GB, free: 110.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007342/4.606, allocations: 3.978 MB / 0.8715 GB, free: 106.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005785/4.607, allocations: 222.6 kB / 0.8717 GB, free: 105.9 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004487/4.607, allocations: 177.4 kB / 0.8718 GB, free: 105.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004584/4.608, allocations: 344.6 kB / 0.8722 GB, free: 105.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/4.608, allocations: 38.84 kB / 0.8722 GB, free: 105.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 3.266e-06/4.608, allocations: 0 / 0.8722 GB, free: 105.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=39): time 0.005262/4.613, allocations: 1.257 MB / 0.8734 GB, free: 104 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/4.613, allocations: 136.5 kB / 0.8736 GB, free: 103.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008343/4.614, allocations: 458 kB / 0.874 GB, free: 103.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.708e-05/4.614, allocations: 29.69 kB / 0.874 GB, free: 103.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/4.614, allocations: 330.9 kB / 0.8744 GB, free: 103 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/4.615, allocations: 138 kB / 0.8745 GB, free: 102.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/4.615, allocations: 0 / 0.8745 GB, free: 102.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/4.615, allocations: 366.8 kB / 0.8748 GB, free: 102.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005034/4.615, allocations: 205.5 kB / 0.875 GB, free: 102.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006552/4.616, allocations: 0.514 MB / 0.8755 GB, free: 101.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/4.617, allocations: 332.5 kB / 0.8758 GB, free: 101.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/4.617, allocations: 0 / 0.8758 GB, free: 101.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003201/4.62, allocations: 0.9053 MB / 0.8767 GB, free: 100.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/4.62, allocations: 6.812 kB / 0.8767 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/4.621, allocations: 15.94 kB / 0.8768 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/4.622, allocations: 219.5 kB / 0.877 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009455/4.623, allocations: 135.8 kB / 0.8771 GB, free: 100 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/4.624, allocations: 0.8762 MB / 0.8779 GB, free: 99.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/4.626, allocations: 35.88 kB / 0.878 GB, free: 99.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-05/4.626, allocations: 44.06 kB / 0.878 GB, free: 99.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.000217/4.626, allocations: 136.8 kB / 0.8782 GB, free: 98.88 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/4.626, allocations: 67.19 kB / 0.8782 GB, free: 98.82 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002218/4.628, allocations: 0.6103 MB / 0.8788 GB, free: 98.19 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/4.628, allocations: 4 kB / 0.8788 GB, free: 98.19 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/4.628, allocations: 4 kB / 0.8788 GB, free: 98.18 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/4.628, allocations: 3.984 kB / 0.8788 GB, free: 98.18 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003833/4.632, allocations: 1.495 MB / 0.8803 GB, free: 96.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/4.632, allocations: 0 / 0.8803 GB, free: 96.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00189/4.634, allocations: 179.8 kB / 0.8805 GB, free: 96.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004069/4.635, allocations: 52.98 kB / 0.8805 GB, free: 96.34 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/4.635, allocations: 15.92 kB / 0.8805 GB, free: 96.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002638/4.637, allocations: 2.663 MB / 0.8831 GB, free: 93.43 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/4.637, allocations: 3.906 kB / 0.8831 GB, free: 93.43 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002424/4.64, allocations: 0.9787 MB / 0.8841 GB, free: 92.38 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003587/4.644, allocations: 1.624 MB / 0.8857 GB, free: 90.68 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005166/4.644, allocations: 192.3 kB / 0.8859 GB, free: 90.47 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/4.644, allocations: 4 kB / 0.8859 GB, free: 90.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008688/4.645, allocations: 19.89 kB / 0.8859 GB, free: 90.45 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/4.645, allocations: 32.02 kB / 0.8859 GB, free: 90.42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.726e-05/4.645, allocations: 19.98 kB / 0.8859 GB, free: 90.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.000586/4.646, allocations: 334.9 kB / 0.8862 GB, free: 90.07 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002499/4.648, allocations: 219.9 kB / 0.8865 GB, free: 89.86 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007274/4.649, allocations: 267.5 kB / 0.8867 GB, free: 89.61 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001576/4.651, allocations: 0.5485 MB / 0.8872 GB, free: 89.06 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/4.651, allocations: 0 / 0.8872 GB, free: 89.06 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002286/4.653, allocations: 473.8 kB / 0.8877 GB, free: 88.59 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/4.656, allocations: 258.1 kB / 0.8879 GB, free: 88.34 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/4.658, allocations: 0.9669 MB / 0.8889 GB, free: 87.32 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007799/4.659, allocations: 1.024 MB / 0.8899 GB, free: 86.27 MB / 474.7 MB Notification: Performance of SimCode: time 9.82e-07/4.659, allocations: 0 / 0.8899 GB, free: 86.27 MB / 474.7 MB