Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances",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.29/2.29, allocations: 235 MB / 241.9 MB, free: 9.766 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.177/2.467, allocations: 57.2 MB / 299.1 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/2.78, allocations: 54.84 MB / 354 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.256/12.04, allocations: 3.673 GB / 4.019 GB, free: 99.36 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/12.04, allocations: 83.48 kB / 4.019 GB, free: 99.33 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: 752 * Number of variables: 752 Notification: Performance of Generate backend data structure: time 9.853/21.89, allocations: 1.638 GB / 5.657 GB, free: 16.95 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/21.89, allocations: 14.25 kB / 5.657 GB, free: 16.95 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004614/21.89, allocations: 401 kB / 5.657 GB, free: 16.77 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01355/21.91, allocations: 2.144 MB / 5.66 GB, free: 16.22 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009413/21.91, allocations: 403.6 kB / 5.66 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002484/21.91, allocations: 170.1 kB / 5.66 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02335/21.93, allocations: 4.505 MB / 5.664 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01906/21.95, allocations: 4.523 MB / 5.669 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002018/21.95, allocations: 7.938 kB / 5.669 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001878/21.96, allocations: 8 kB / 5.669 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004175/21.96, allocations: 283.1 kB / 5.669 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05739/22.01, allocations: 20.26 MB / 5.689 GB, free: 10.43 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006097/22.02, allocations: 1.712 MB / 5.691 GB, free: 8.887 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004671/22.02, allocations: 1.468 MB / 5.692 GB, free: 7.551 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005213/22.03, allocations: 3.341 MB / 5.695 GB, free: 3.676 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/22.03, allocations: 72.5 kB / 5.695 GB, free: 3.598 MB / 0.573 GB Notification: Performance of pre-optimization done (n=232): time 7.834e-06/22.03, allocations: 0 / 5.695 GB, free: 3.598 MB / 0.573 GB Notification: Performance of matching and sorting (n=268): time 0.1294/22.16, allocations: 13.59 MB / 5.709 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001973/22.16, allocations: 235.7 kB / 5.709 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00733/22.17, allocations: 1.694 MB / 5.711 GB, free: 5.465 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001473/22.17, allocations: 33.69 kB / 5.711 GB, free: 5.426 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.002255/22.17, allocations: 1.214 MB / 5.712 GB, free: 4.188 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.003156/22.17, allocations: 0.9202 MB / 5.713 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009783/22.18, allocations: 4 kB / 5.713 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0005724/22.18, allocations: 470.5 kB / 5.713 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006965/22.18, allocations: 1.745 MB / 5.715 GB, free: 1.039 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3981/22.58, allocations: 2.99 MB / 5.718 GB, free: 76.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04656/22.63, allocations: 5.839 MB / 5.723 GB, free: 76.25 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.38e-05/22.63, allocations: 10.75 kB / 5.723 GB, free: 76.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.05951/22.69, allocations: 8.832 MB / 5.732 GB, free: 76.12 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.003757/22.69, allocations: 15.74 MB / 5.747 GB, free: 59.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002508/22.69, allocations: 41.62 kB / 5.747 GB, free: 59.49 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005943/22.7, allocations: 0.7421 MB / 5.748 GB, free: 59.47 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008262/22.71, allocations: 0.9309 MB / 5.749 GB, free: 59.47 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00778/22.71, allocations: 2.601 MB / 5.752 GB, free: 57.92 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01083/22.72, allocations: 311.7 kB / 5.752 GB, free: 57.92 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001876/22.73, allocations: 280.4 kB / 5.752 GB, free: 57.92 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/22.73, allocations: 6.562 kB / 5.752 GB, free: 57.92 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05969/22.79, allocations: 8.27 MB / 5.76 GB, free: 57.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001587/22.79, allocations: 39.28 kB / 5.76 GB, free: 57.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005663/22.79, allocations: 0.7337 MB / 5.761 GB, free: 57.79 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008294/22.8, allocations: 0.9232 MB / 5.762 GB, free: 57.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006282/22.81, allocations: 2.604 MB / 5.765 GB, free: 56.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008129/22.82, allocations: 306.1 kB / 5.765 GB, free: 56.25 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00233/22.82, allocations: 283.3 kB / 5.765 GB, free: 56.25 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 177 * Number of states: 0 () * Number of discrete variables: 22 (traceSubstance1.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance.ind,volume1.regularFlow[1],volume1.regularFlow[2],volume1.regularFlow[3],volume2.regularFlow[1],volume2.regularFlow[2],volume2.regularFlow[3],volume3.regularFlow[1],volume3.regularFlow[2],volume3.regularFlow[3],volume3.inFlow[3],volume3.inFlow[2],volume3.inFlow[1],volume2.inFlow[3],volume2.inFlow[2],volume2.inFlow[1],volume1.inFlow[3],volume1.inFlow[2],volume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (487): * Single equations (assignments): 480 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.00306/22.82, allocations: 234.1 kB / 5.765 GB, free: 56.14 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/22.82, allocations: 271 kB / 5.766 GB, free: 56.14 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03604/22.86, allocations: 6.717 MB / 5.772 GB, free: 55.89 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.381e-05/22.86, allocations: 39.28 kB / 5.772 GB, free: 55.89 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/22.86, allocations: 0 / 5.772 GB, free: 55.89 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.787e-05/22.86, allocations: 16.56 kB / 5.772 GB, free: 55.89 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03615/22.89, allocations: 8.624 MB / 5.781 GB, free: 55.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.961e-05/22.89, allocations: 0 / 5.781 GB, free: 55.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005356/22.9, allocations: 0.5488 MB / 5.781 GB, free: 55.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007387/22.91, allocations: 0.9183 MB / 5.782 GB, free: 55.36 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001185/22.91, allocations: 87.52 kB / 5.782 GB, free: 55.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004326/22.91, allocations: 2.499 MB / 5.785 GB, free: 53.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.969e-06/22.91, allocations: 3.906 kB / 5.785 GB, free: 53.79 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03047/22.94, allocations: 7.318 MB / 5.792 GB, free: 53.2 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04379/22.99, allocations: 10.72 MB / 5.802 GB, free: 52.21 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003598/22.99, allocations: 0.8181 MB / 5.803 GB, free: 51.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001533/22.99, allocations: 29.22 kB / 5.803 GB, free: 51.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006221/23, allocations: 235.6 kB / 5.803 GB, free: 51.96 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001124/23, allocations: 187.8 kB / 5.803 GB, free: 51.96 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007432/23, allocations: 168.5 kB / 5.804 GB, free: 51.96 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.003401/23, allocations: 1.22 MB / 5.805 GB, free: 51.82 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.03215/23.04, allocations: 5.215 MB / 5.81 GB, free: 51.82 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T,volume1.mC_scaled[1],volume2.medium.p,volume2.medium.Xi[1],volume2.medium.T,volume2.mC_scaled[1],volume3.medium.p,volume3.medium.Xi[1],volume3.medium.T,volume3.mC_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02367/23.06, allocations: 5.589 MB / 5.815 GB, free: 51.33 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02361/23.08, allocations: 7.332 MB / 5.822 GB, free: 50.99 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.731e-05/23.08, allocations: 3.281 kB / 5.822 GB, free: 50.99 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.007151/23.09, allocations: 2.098 MB / 5.825 GB, free: 50.98 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01166/23.1, allocations: 1.001 MB / 5.825 GB, free: 50.95 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03035/23.13, allocations: 6.478 MB / 5.832 GB, free: 49.91 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008803/23.14, allocations: 2.839 MB / 5.835 GB, free: 49.13 MB / 0.5886 GB Notification: Performance of SimCode: time 2.484e-06/23.14, allocations: 0 / 5.835 GB, free: 49.13 MB / 0.5886 GB