Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,fileNamePrefix="ModelicaTest_3_2_1_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 1.808/1.808, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.238/2.046, allocations: 51.03 MB / 267.3 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/2.172, allocations: 48.7 MB / 316 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.581/10.75, allocations: 3.667 GB / 3.975 GB, free: 100.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000416/10.75, allocations: 83.5 kB / 3.975 GB, free: 100.4 MB / 426.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.776/20.53, allocations: 1.626 GB / 5.602 GB, free: 20.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/20.53, allocations: 12.16 kB / 5.602 GB, free: 20.04 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003415/20.53, allocations: 399.2 kB / 5.602 GB, free: 19.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009492/20.54, allocations: 2.142 MB / 5.604 GB, free: 19.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005404/20.54, allocations: 407.1 kB / 5.604 GB, free: 19.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001584/20.55, allocations: 170.9 kB / 5.605 GB, free: 19.09 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01472/20.56, allocations: 4.505 MB / 5.609 GB, free: 19.08 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01734/20.58, allocations: 4.523 MB / 5.613 GB, free: 18.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001602/20.58, allocations: 7.875 kB / 5.613 GB, free: 18.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001305/20.58, allocations: 10.78 kB / 5.613 GB, free: 18.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005925/20.58, allocations: 278.1 kB / 5.614 GB, free: 18.37 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05585/20.64, allocations: 19.61 MB / 5.633 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005632/20.64, allocations: 1.714 MB / 5.635 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004414/20.65, allocations: 1.468 MB / 5.636 GB, free: 9.156 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004098/20.65, allocations: 3.351 MB / 5.639 GB, free: 21.68 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/20.65, allocations: 65.94 kB / 5.639 GB, free: 21.64 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=232): time 6.092e-06/20.65, allocations: 0 / 5.639 GB, free: 21.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=268): time 0.1004/20.75, allocations: 13.55 MB / 5.653 GB, free: 20.56 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/20.75, allocations: 235.8 kB / 5.653 GB, free: 20.31 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00438/20.75, allocations: 1.691 MB / 5.654 GB, free: 20.04 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001133/20.76, allocations: 31.11 kB / 5.654 GB, free: 20.01 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001146/20.76, allocations: 1.212 MB / 5.656 GB, free: 19.25 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001903/20.76, allocations: 0.9182 MB / 5.657 GB, free: 18.66 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005929/20.76, allocations: 2.094 kB / 5.657 GB, free: 18.66 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003938/20.76, allocations: 471.9 kB / 5.657 GB, free: 18.35 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005341/20.77, allocations: 1.751 MB / 5.659 GB, free: 18.34 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006397/20.77, allocations: 2.993 MB / 5.662 GB, free: 16.87 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04536/20.82, allocations: 5.834 MB / 5.667 GB, free: 16.82 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.082e-05/20.82, allocations: 13.25 kB / 5.667 GB, free: 16.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.05881/20.88, allocations: 8.84 MB / 5.676 GB, free: 16.55 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.008036/20.88, allocations: 15.73 MB / 5.691 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002811/20.88, allocations: 38.5 kB / 5.691 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005742/20.89, allocations: 0.7411 MB / 5.692 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008351/20.9, allocations: 0.9299 MB / 5.693 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005415/20.9, allocations: 2.605 MB / 5.696 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008419/20.91, allocations: 311.8 kB / 5.696 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001891/20.91, allocations: 282.2 kB / 5.696 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/20.91, allocations: 5.469 kB / 5.696 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05933/20.97, allocations: 8.267 MB / 5.704 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002894/20.97, allocations: 41.64 kB / 5.704 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007999/20.98, allocations: 0.7361 MB / 5.705 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00983/20.99, allocations: 0.9214 MB / 5.706 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005183/21, allocations: 2.604 MB / 5.708 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00794/21.01, allocations: 309 kB / 5.709 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001526/21.01, allocations: 276.7 kB / 5.709 GB, free: 12.36 MB / 0.5573 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.001858/21.01, allocations: 244.2 kB / 5.709 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/21.01, allocations: 275 kB / 5.709 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03555/21.05, allocations: 6.703 MB / 5.716 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.885e-05/21.05, allocations: 39.12 kB / 5.716 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/21.05, allocations: 1.156 kB / 5.716 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.989e-05/21.05, allocations: 17.12 kB / 5.716 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03628/21.08, allocations: 8.636 MB / 5.724 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/21.08, allocations: 1.531 kB / 5.724 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005653/21.09, allocations: 0.5477 MB / 5.725 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007952/21.1, allocations: 0.9169 MB / 5.726 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002096/21.1, allocations: 88.89 kB / 5.726 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004846/21.1, allocations: 2.492 MB / 5.728 GB, free: 9.539 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/21.1, allocations: 5.938 kB / 5.728 GB, free: 9.535 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03236/21.14, allocations: 7.311 MB / 5.736 GB, free: 7.625 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04154/21.18, allocations: 10.73 MB / 5.746 GB, free: 1.996 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00374/21.18, allocations: 0.8153 MB / 5.747 GB, free: 1.309 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001648/21.18, allocations: 30.89 kB / 5.747 GB, free: 1.285 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006073/21.19, allocations: 227.2 kB / 5.747 GB, free: 1.141 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008986/21.19, allocations: 182.6 kB / 5.747 GB, free: 1.035 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007246/21.19, allocations: 176.9 kB / 5.747 GB, free: 0.8945 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.003602/21.19, allocations: 1.224 MB / 5.749 GB, free: 15.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03491/21.23, allocations: 5.223 MB / 5.754 GB, free: 10.7 MB / 0.573 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.02393/21.25, allocations: 5.582 MB / 5.759 GB, free: 6.527 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.3726/21.63, allocations: 7.349 MB / 5.766 GB, free: 87.56 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.567e-05/21.63, allocations: 0.6562 kB / 5.766 GB, free: 87.56 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00691/21.63, allocations: 2.101 MB / 5.768 GB, free: 87.55 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01076/21.64, allocations: 1.007 MB / 5.769 GB, free: 87.54 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02702/21.67, allocations: 6.48 MB / 5.776 GB, free: 86.52 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008219/21.68, allocations: 2.839 MB / 5.778 GB, free: 85.73 MB / 0.573 GB Notification: Performance of SimCode: time 2.875e-06/21.68, allocations: 0 / 5.778 GB, free: 85.73 MB / 0.573 GB