Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances",fmuType="cs",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(ModelicaTest): time 2.265/2.265, allocations: 235 MB / 242 MB, free: 9.668 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1458/2.411, allocations: 57.2 MB / 299.2 MB, free: 352 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/2.684, allocations: 54.86 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.5/12.18, allocations: 3.673 GB / 4.019 GB, free: 98.77 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/12.18, allocations: 87.22 kB / 4.019 GB, free: 98.74 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 10.76/22.94, allocations: 1.638 GB / 5.657 GB, free: 17.63 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/22.94, allocations: 9.594 kB / 5.657 GB, free: 17.63 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003992/22.95, allocations: 404.1 kB / 5.658 GB, free: 17.45 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01109/22.96, allocations: 2.148 MB / 5.66 GB, free: 16.89 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007556/22.96, allocations: 405.2 kB / 5.66 GB, free: 16.61 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00288/22.96, allocations: 173.7 kB / 5.66 GB, free: 16.6 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02508/22.99, allocations: 4.501 MB / 5.665 GB, free: 16.26 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02485/23.01, allocations: 4.523 MB / 5.669 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001504/23.01, allocations: 7.938 kB / 5.669 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00135/23.01, allocations: 8 kB / 5.669 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004399/23.01, allocations: 282.5 kB / 5.669 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06639/23.08, allocations: 20.26 MB / 5.689 GB, free: 10.45 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007478/23.09, allocations: 1.71 MB / 5.691 GB, free: 8.902 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005303/23.09, allocations: 1.467 MB / 5.692 GB, free: 7.566 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005428/23.1, allocations: 3.338 MB / 5.695 GB, free: 3.691 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/23.1, allocations: 69.08 kB / 5.695 GB, free: 3.617 MB / 0.573 GB Notification: Performance of pre-optimization done (n=232): time 6.773e-06/23.1, allocations: 0 / 5.695 GB, free: 3.617 MB / 0.573 GB Notification: Performance of matching and sorting (n=268): time 0.1269/23.22, allocations: 13.57 MB / 5.709 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002232/23.22, allocations: 235.7 kB / 5.709 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005357/23.23, allocations: 1.683 MB / 5.711 GB, free: 4.59 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001208/23.23, allocations: 29.7 kB / 5.711 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.00167/23.23, allocations: 1.222 MB / 5.712 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.002448/23.24, allocations: 0.9163 MB / 5.713 GB, free: 2.379 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008805/23.24, allocations: 4 kB / 5.713 GB, free: 2.375 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0006193/23.24, allocations: 466.5 kB / 5.713 GB, free: 1.914 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007636/23.24, allocations: 1.757 MB / 5.715 GB, free: 160 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.39/23.64, allocations: 2.982 MB / 5.718 GB, free: 77.38 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0505/23.69, allocations: 5.836 MB / 5.724 GB, free: 77.34 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.844e-05/23.69, allocations: 11.56 kB / 5.724 GB, free: 77.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.06699/23.75, allocations: 8.834 MB / 5.732 GB, free: 77.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.004064/23.76, allocations: 15.74 MB / 5.748 GB, free: 60.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002343/23.76, allocations: 37.97 kB / 5.748 GB, free: 60.58 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007263/23.76, allocations: 0.7421 MB / 5.748 GB, free: 60.55 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009504/23.77, allocations: 0.9288 MB / 5.749 GB, free: 60.55 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005473/23.78, allocations: 2.61 MB / 5.752 GB, free: 59.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009587/23.79, allocations: 308.8 kB / 5.752 GB, free: 59.01 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00197/23.79, allocations: 288.8 kB / 5.752 GB, free: 59.01 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/23.79, allocations: 3.75 kB / 5.752 GB, free: 59.01 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06671/23.86, allocations: 8.265 MB / 5.76 GB, free: 58.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001643/23.86, allocations: 36.31 kB / 5.76 GB, free: 58.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00654/23.86, allocations: 0.7318 MB / 5.761 GB, free: 58.88 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009536/23.87, allocations: 0.9263 MB / 5.762 GB, free: 58.88 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005285/23.88, allocations: 2.603 MB / 5.765 GB, free: 57.33 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008687/23.89, allocations: 308.9 kB / 5.765 GB, free: 57.33 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002022/23.89, allocations: 287.4 kB / 5.765 GB, free: 57.33 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.002894/23.89, allocations: 237.4 kB / 5.765 GB, free: 57.23 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001722/23.9, allocations: 271.3 kB / 5.766 GB, free: 57.23 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03501/23.93, allocations: 6.711 MB / 5.772 GB, free: 56.97 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-05/23.93, allocations: 35.94 kB / 5.772 GB, free: 56.97 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.485e-05/23.93, allocations: 0 / 5.772 GB, free: 56.97 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001005/23.93, allocations: 12.8 kB / 5.772 GB, free: 56.97 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04246/23.97, allocations: 8.625 MB / 5.781 GB, free: 56.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-05/23.97, allocations: 2.688 kB / 5.781 GB, free: 56.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0066/23.98, allocations: 0.5465 MB / 5.781 GB, free: 56.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008917/23.99, allocations: 0.9233 MB / 5.782 GB, free: 56.44 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001256/23.99, allocations: 91.05 kB / 5.782 GB, free: 56.44 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005007/23.99, allocations: 2.492 MB / 5.785 GB, free: 54.87 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/24, allocations: 4.125 kB / 5.785 GB, free: 54.87 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03291/24.03, allocations: 7.317 MB / 5.792 GB, free: 54.28 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04233/24.07, allocations: 10.72 MB / 5.802 GB, free: 53.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003968/24.07, allocations: 0.8188 MB / 5.803 GB, free: 53.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001621/24.08, allocations: 19.42 kB / 5.803 GB, free: 53.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006884/24.08, allocations: 232.5 kB / 5.803 GB, free: 53.05 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009895/24.08, allocations: 188.5 kB / 5.803 GB, free: 53.04 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007645/24.08, allocations: 173.7 kB / 5.804 GB, free: 53.04 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.003499/24.09, allocations: 1.217 MB / 5.805 GB, free: 52.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.03005/24.12, allocations: 5.217 MB / 5.81 GB, free: 52.9 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.02612/24.14, allocations: 5.598 MB / 5.815 GB, free: 52.42 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02794/24.17, allocations: 7.329 MB / 5.823 GB, free: 52.08 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/24.17, allocations: 4.125 kB / 5.823 GB, free: 52.08 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.007876/24.18, allocations: 2.099 MB / 5.825 GB, free: 52.06 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0129/24.19, allocations: 1.006 MB / 5.826 GB, free: 52.04 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03559/24.23, allocations: 6.463 MB / 5.832 GB, free: 51 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01199/24.24, allocations: 2.845 MB / 5.835 GB, free: 50.22 MB / 0.5886 GB Notification: Performance of SimCode: time 2.164e-06/24.24, allocations: 2.844 kB / 5.835 GB, free: 50.22 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances_res.mat does not exist to compare? outputFormat=mat