Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesWithTraceSubstances,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances",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.418/2.418, allocations: 235.1 MB / 242 MB, free: 9.656 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2064/2.625, allocations: 57.19 MB / 299.2 MB, free: 356 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/2.912, allocations: 54.87 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.684/4.596, allocations: 0.655 GB / 1.001 GB, free: 3.055 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/4.596, allocations: 83.89 kB / 1.001 GB, free: 3.012 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3585 * Number of variables: 3585 Notification: Performance of Generate backend data structure: time 8.678/13.27, allocations: 1.357 GB / 2.357 GB, free: 16.51 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/13.27, allocations: 8.625 kB / 2.357 GB, free: 16.51 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03356/13.31, allocations: 2.395 MB / 2.36 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06315/13.37, allocations: 9.64 MB / 2.369 GB, free: 14.01 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001435/13.37, allocations: 435.8 kB / 2.37 GB, free: 14.01 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01113/13.38, allocations: 0.7499 MB / 2.37 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.08748/13.47, allocations: 22.4 MB / 2.392 GB, free: 0 / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8573/14.33, allocations: 21.54 MB / 2.413 GB, free: 54.05 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001212/14.33, allocations: 42.22 kB / 2.413 GB, free: 54.05 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009258/14.34, allocations: 26.12 kB / 2.413 GB, free: 54.05 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001816/14.34, allocations: 1.409 MB / 2.415 GB, free: 54.02 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2654/14.61, allocations: 88.53 MB / 2.501 GB, free: 28.89 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04256/14.65, allocations: 11.19 MB / 2.512 GB, free: 28.8 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03277/14.68, allocations: 10.37 MB / 2.522 GB, free: 28.67 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003801/14.69, allocations: 1.117 MB / 2.523 GB, free: 27.9 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003063/14.69, allocations: 201.6 kB / 2.524 GB, free: 27.85 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=1475): time 2.243e-05/14.69, allocations: 2.156 kB / 2.524 GB, free: 27.85 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1685): time 0.3303/15.02, allocations: 58.1 MB / 2.58 GB, free: 22.5 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002785/15.02, allocations: 355 kB / 2.581 GB, free: 22.26 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01808/15.04, allocations: 5.239 MB / 2.586 GB, free: 21.77 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.006146/15.04, allocations: 33.55 kB / 2.586 GB, free: 21.74 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.004411/15.05, allocations: 4.055 MB / 2.59 GB, free: 19.27 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.01454/15.06, allocations: 5.723 MB / 2.595 GB, free: 15.48 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007291/15.07, allocations: 7.062 kB / 2.595 GB, free: 15.48 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.002592/15.07, allocations: 1.082 MB / 2.596 GB, free: 15.14 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04006/15.11, allocations: 10.4 MB / 2.607 GB, free: 12.13 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0536/15.16, allocations: 13.87 MB / 2.62 GB, free: 4.883 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5447/15.71, allocations: 18.52 MB / 2.638 GB, free: 73.93 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002439/15.71, allocations: 26.03 kB / 2.638 GB, free: 73.93 MB / 0.5887 GB Notification: Performance of matching and sorting (n=2397) (initialization): time 0.1844/15.89, allocations: 33.48 MB / 2.671 GB, free: 73.16 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.01202/15.91, allocations: 42.89 MB / 2.713 GB, free: 28.34 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006724/15.91, allocations: 93.34 kB / 2.713 GB, free: 28.34 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01326/15.92, allocations: 2.264 MB / 2.715 GB, free: 27.93 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.07516/16, allocations: 4.791 MB / 2.72 GB, free: 27.93 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06587/16.06, allocations: 39.34 MB / 2.758 GB, free: 26.01 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04935/16.11, allocations: 0.9504 MB / 2.759 GB, free: 26.01 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01262/16.12, allocations: 1.279 MB / 2.76 GB, free: 26.01 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/16.12, allocations: 5.156 kB / 2.76 GB, free: 26.01 MB / 0.6199 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1903/16.31, allocations: 30.05 MB / 2.79 GB, free: 25.04 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006201/16.31, allocations: 94.53 kB / 2.79 GB, free: 25.04 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009465/16.32, allocations: 2.116 MB / 2.792 GB, free: 24.62 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05368/16.38, allocations: 4.758 MB / 2.796 GB, free: 24.37 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04665/16.42, allocations: 38.36 MB / 2.834 GB, free: 22.84 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03083/16.46, allocations: 0.9289 MB / 2.835 GB, free: 22.84 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0089/16.46, allocations: 1.243 MB / 2.836 GB, free: 22.84 MB / 0.6512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * Number of states: 0 () * Number of discrete variables: 4 (traceSubstance3.ind,traceSubstance4.ind,traceSubstance1.ind,traceSubstance2.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2337): * Single equations (assignments): 2280 * 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: 53 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 43 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,2 7,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.01417/16.48, allocations: 0.5123 MB / 2.837 GB, free: 22.47 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009155/16.49, allocations: 1.019 MB / 2.838 GB, free: 22.44 MB / 0.6512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1614/16.65, allocations: 30.36 MB / 2.867 GB, free: 20.91 MB / 0.6512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003978/16.65, allocations: 170 kB / 2.867 GB, free: 20.91 MB / 0.6512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001943/16.65, allocations: 3.25 kB / 2.867 GB, free: 20.91 MB / 0.6512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1162/16.77, allocations: 22.44 MB / 2.889 GB, free: 16.35 MB / 0.6512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.63/17.4, allocations: 43.35 MB / 2.932 GB, free: 126.6 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000183/17.4, allocations: 3.5 kB / 2.932 GB, free: 126.6 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04817/17.44, allocations: 3.726 MB / 2.935 GB, free: 126.6 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01251/17.46, allocations: 2.479 MB / 2.938 GB, free: 126.2 MB / 0.6512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007077/17.46, allocations: 0.5401 MB / 2.938 GB, free: 126.2 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04585/17.51, allocations: 39.95 MB / 2.977 GB, free: 91.6 MB / 0.6512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/17.51, allocations: 2.469 kB / 2.977 GB, free: 91.6 MB / 0.6512 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1451/17.65, allocations: 37.44 MB / 3.014 GB, free: 90.21 MB / 0.6512 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1953/17.85, allocations: 52.71 MB / 3.065 GB, free: 88.35 MB / 0.6512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005893/17.86, allocations: 1.106 MB / 3.066 GB, free: 87.74 MB / 0.6512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01006/17.87, allocations: 203 kB / 3.067 GB, free: 87.74 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02897/17.9, allocations: 0.6196 MB / 3.067 GB, free: 87.7 MB / 0.6512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007569/17.9, allocations: 1.029 MB / 3.068 GB, free: 87.68 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.007282/17.91, allocations: 1.023 MB / 3.069 GB, free: 87.68 MB / 0.6512 GB Notification: Performance of sort global known variables: time 0.01255/17.92, allocations: 3.727 MB / 3.073 GB, free: 87.47 MB / 0.6512 GB Notification: Performance of remove unused functions: time 0.06829/17.99, allocations: 9.542 MB / 3.082 GB, free: 87.47 MB / 0.6512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 168 (pipe5.mCs_scaled[1,1],pipe5.mCs_scaled[1,2],pipe5.mCs_scaled[2,1],pipe5.mCs_scaled[2,2],pipe5.mCs_scaled[3,1],pipe5.mCs_scaled[3,2],pipe5.mCs_scaled[4,1],pipe5.mCs_scaled[4,2],pipe5.mCs_scaled[5,1],pipe5.mCs_scaled[5,2],pipe5.mediums[1].p,pipe5.mediums[1].T,pipe5.mediums[2].p,pipe5.mediums[2].T,pipe5.mediums[3].p,pipe5.mediums[3].T,pipe5.mediums[4].p,pipe5.mediums[4].T,pipe5.mediums[5].p,pipe5.mediums[5].T,pipe6.mCs_scaled[1,1],pipe6.mCs_scaled[1,2],pipe6.mCs_scaled[2,1],pipe6.mCs_scaled[2,2],pipe6.mCs_scaled[3,1],pipe6.mCs_scaled[3,2],pipe6.mCs_scaled[4,1],pipe6.mCs_scaled[4,2],pipe6.mCs_scaled[5,1],pipe6.mCs_scaled[5,2],pipe6.mediums[1].p,pipe6.mediums[1].T,pipe6.mediums[2].p,pipe6.mediums[2].T,pipe6.mediums[3].p,pipe6.mediums[3].T,pipe6.mediums[4].p,pipe6.mediums[4].T,pipe6.mediums[5].p,pipe6.mediums[5].T,pipe7.mCs_scaled[1,1],pipe7.mCs_scaled[1,2],pipe7.mCs_scaled[2,1],pipe7.mCs_scaled[2,2],pipe7.mCs_scaled[3,1],pipe7.mCs_scaled[3,2],pipe7.mCs_scaled[4,1],pipe7.mCs_scaled[4,2],pipe7.mCs_scaled[5,1],pipe7.mCs_scaled[5,2],pipe7.mediums[1].p,pipe7.mediums[1].T,pipe7.mediums[2].p,pipe7.mediums[2].T,pipe7.mediums[3].p,pipe7.mediums[3].T,pipe7.mediums[4].p,pipe7.mediums[4].T,pipe7.mediums[5].p,pipe7.mediums[5].T,pipe8.mCs_scaled[1,1],pipe8.mCs_scaled[1,2],pipe8.mCs_scaled[2,1],pipe8.mCs_scaled[2,2],pipe8.mCs_scaled[3,1],pipe8.mCs_scaled[3,2],pipe8.mCs_scaled[4,1],pipe8.mCs_scaled[4,2],pipe8.mCs_scaled[5,1],pipe8.mCs_scaled[5,2],pipe8.mediums[1].p,pipe8.mediums[1].T,pipe8.mediums[2].p,pipe8.mediums[2].T,pipe8.mediums[3].p,pipe8.mediums[3].T,pipe8.mediums[4].p,pipe8.mediums[4].T,pipe8.mediums[5].p,pipe8.mediums[5].T,pipe2.mCs_scaled[1,1],pipe2.mCs_scaled[1,2],pipe2.mCs_scaled[2,1],pipe2.mCs_scaled[2,2],pipe2.mCs_scaled[3,1],pipe2.mCs_scaled[3,2],pipe2.mCs_scaled[4,1],pipe2.mCs_scaled[4,2],pipe2.mCs_scaled[5,1],pipe2.mCs_scaled[5,2],pipe2.mediums[1].p,pipe2.mediums[1].T,pipe2.mediums[2].p,pipe2.mediums[2].T,pipe2.mediums[3].p,pipe2.mediums[3].T,pipe2.mediums[4].p,pipe2.mediums[4].T,pipe2.mediums[5].p,pipe2.mediums[5].T,pipe3.mCs_scaled[1,1],pipe3.mCs_scaled[1,2],pipe3.mCs_scaled[2,1],pipe3.mCs_scaled[2,2],pipe3.mCs_scaled[3,1],pipe3.mCs_scaled[3,2],pipe3.mCs_scaled[4,1],pipe3.mCs_scaled[4,2],pipe3.mCs_scaled[5,1],pipe3.mCs_scaled[5,2],pipe3.mediums[1].p,pipe3.mediums[1].T,pipe3.mediums[2].p,pipe3.mediums[2].T,pipe3.mediums[3].p,pipe3.mediums[3].T,pipe3.mediums[4].p,pipe3.mediums[4].T,pipe3.mediums[5].p,pipe3.mediums[5].T,pipe1.mCs_scaled[1,1],pipe1.mCs_scaled[1,2],pipe1.mCs_scaled[2,1],pipe1.mCs_scaled[2,2],pipe1.mCs_scaled[3,1],pipe1.mCs_scaled[3,2],pipe1.mCs_scaled[4,1],pipe1.mCs_scaled[4,2],pipe1.mCs_scaled[5,1],pipe1.mCs_scaled[5,2],pipe1.mediums[1].p,pipe1.mediums[1].T,pipe1.mediums[2].p,pipe1.mediums[2].T,pipe1.mediums[3].p,pipe1.mediums[3].T,pipe1.mediums[4].p,pipe1.mediums[4].T,pipe1.mediums[5].p,pipe1.mediums[5].T,pipe4.mCs_scaled[1,1],pipe4.mCs_scaled[1,2],pipe4.mCs_scaled[2,1],pipe4.mCs_scaled[2,2],pipe4.mCs_scaled[3,1],pipe4.mCs_scaled[3,2],pipe4.mCs_scaled[4,1],pipe4.mCs_scaled[4,2],pipe4.mCs_scaled[5,1],pipe4.mCs_scaled[5,2],pipe4.mediums[1].p,pipe4.mediums[1].T,pipe4.mediums[2].p,pipe4.mediums[2].T,pipe4.mediums[3].p,pipe4.mediums[3].T,pipe4.mediums[4].p,pipe4.mediums[4].T,pipe4.mediums[5].p,pipe4.mediums[5].T,junction1.medium.p,junction1.medium.T,junction1.mC_scaled[1],junction1.mC_scaled[2],junction2.medium.p,junction2.medium.T,junction2.mC_scaled[1],junction2.mC_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1677): * Single equations (assignments): 1624 * 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: 53 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 42 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,2 12,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02444/18.02, allocations: 5.453 MB / 3.087 GB, free: 86.78 MB / 0.6512 GB Notification: Performance of simCode: created initialization part: time 0.5423/18.56, allocations: 41.32 MB / 3.128 GB, free: 126.5 MB / 0.6512 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-05/18.56, allocations: 7.781 kB / 3.128 GB, free: 126.5 MB / 0.6512 GB Notification: Performance of simCode: created simulation system equations: time 0.06112/18.62, allocations: 13.07 MB / 3.141 GB, free: 125.4 MB / 0.6512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06036/18.68, allocations: 4.094 MB / 3.145 GB, free: 125.3 MB / 0.6512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1869/18.87, allocations: 42.47 MB / 3.186 GB, free: 116.8 MB / 0.6512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05926/18.93, allocations: 10.95 MB / 3.197 GB, free: 115.4 MB / 0.6512 GB Notification: Performance of SimCode: time 3.026e-06/18.93, allocations: 0 / 3.197 GB, free: 115.4 MB / 0.6512 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesWithTraceSubstances_res.mat does not exist to compare? outputFormat=mat