Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesWithTraceSubstances,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances",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.186/2.186, allocations: 235 MB / 241.9 MB, free: 9.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1684/2.354, allocations: 57.2 MB / 299.1 MB, free: 484 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/2.635, allocations: 54.85 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.725/4.36, allocations: 0.655 GB / 1.001 GB, free: 120.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003191/4.36, allocations: 85 kB / 1.001 GB, free: 120.3 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: 3585 * Number of variables: 3585 Notification: Performance of Generate backend data structure: time 8.139/12.5, allocations: 1.357 GB / 2.357 GB, free: 21.7 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/12.5, allocations: 9.281 kB / 2.357 GB, free: 21.7 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02858/12.53, allocations: 2.399 MB / 2.36 GB, free: 20.97 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05817/12.59, allocations: 9.637 MB / 2.369 GB, free: 19.64 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001342/12.59, allocations: 433.8 kB / 2.37 GB, free: 19.64 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009127/12.6, allocations: 0.7439 MB / 2.37 GB, free: 19.62 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.08668/12.68, allocations: 22.21 MB / 2.392 GB, free: 19.56 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08834/12.77, allocations: 21.4 MB / 2.413 GB, free: 17.45 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001392/12.77, allocations: 44.14 kB / 2.413 GB, free: 17.44 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0107/12.78, allocations: 26.84 kB / 2.413 GB, free: 17.44 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002196/12.79, allocations: 1.413 MB / 2.414 GB, free: 17.41 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2814/13.07, allocations: 88.56 MB / 2.501 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05668/13.12, allocations: 11.99 MB / 2.512 GB, free: 14.78 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03439/13.16, allocations: 10.36 MB / 2.523 GB, free: 5.469 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003741/13.16, allocations: 1.12 MB / 2.524 GB, free: 4.332 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003102/13.16, allocations: 210.4 kB / 2.524 GB, free: 4.113 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1475): time 1.955e-05/13.16, allocations: 0.5625 kB / 2.524 GB, free: 4.113 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1685): time 1.022/14.19, allocations: 58.09 MB / 2.581 GB, free: 90.45 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002891/14.19, allocations: 355.7 kB / 2.581 GB, free: 90.22 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0181/14.2, allocations: 5.242 MB / 2.586 GB, free: 89.73 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.005823/14.21, allocations: 33.3 kB / 2.586 GB, free: 89.7 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.003929/14.21, allocations: 4.05 MB / 2.59 GB, free: 87.23 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.01179/14.23, allocations: 5.73 MB / 2.596 GB, free: 83.44 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007039/14.23, allocations: 3.562 kB / 2.596 GB, free: 83.44 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.002445/14.23, allocations: 1.084 MB / 2.597 GB, free: 83.1 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04696/14.28, allocations: 10.39 MB / 2.607 GB, free: 83.06 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05462/14.34, allocations: 13.87 MB / 2.62 GB, free: 79.54 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09669/14.43, allocations: 18.28 MB / 2.638 GB, free: 79.36 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002516/14.43, allocations: 24.59 kB / 2.638 GB, free: 79.36 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2397) (initialization): time 0.1632/14.6, allocations: 33.46 MB / 2.671 GB, free: 78.04 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.009953/14.61, allocations: 42.89 MB / 2.713 GB, free: 32.94 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005878/14.61, allocations: 94 kB / 2.713 GB, free: 32.94 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008776/14.62, allocations: 2.265 MB / 2.715 GB, free: 32.52 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0472/14.66, allocations: 4.795 MB / 2.72 GB, free: 32.52 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3821/15.05, allocations: 39.35 MB / 2.758 GB, free: 77.17 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03784/15.08, allocations: 0.9581 MB / 2.759 GB, free: 77.17 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008373/15.09, allocations: 1.27 MB / 2.76 GB, free: 77.17 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/15.09, allocations: 10.22 kB / 2.76 GB, free: 77.17 MB / 0.6043 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1444/15.24, allocations: 30.05 MB / 2.79 GB, free: 76.43 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006525/15.24, allocations: 93.56 kB / 2.79 GB, free: 76.43 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00817/15.25, allocations: 2.116 MB / 2.792 GB, free: 76.03 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0465/15.29, allocations: 4.75 MB / 2.797 GB, free: 76.03 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04314/15.34, allocations: 38.37 MB / 2.834 GB, free: 42.64 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03398/15.37, allocations: 0.9205 MB / 2.835 GB, free: 42.62 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008676/15.38, allocations: 1.244 MB / 2.836 GB, free: 42.62 MB / 0.6043 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.01674/15.39, allocations: 0.5065 MB / 2.837 GB, free: 42.45 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01121/15.41, allocations: 1.019 MB / 2.838 GB, free: 42.45 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1617/15.57, allocations: 30.38 MB / 2.867 GB, free: 41.48 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002892/15.57, allocations: 161.5 kB / 2.868 GB, free: 41.48 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000152/15.57, allocations: 6.125 kB / 2.868 GB, free: 41.48 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08997/15.66, allocations: 22.43 MB / 2.889 GB, free: 40.08 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1759/15.83, allocations: 42.11 MB / 2.931 GB, free: 38.48 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001784/15.83, allocations: 3.719 kB / 2.931 GB, free: 38.48 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04482/15.88, allocations: 3.731 MB / 2.934 GB, free: 38.36 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01119/15.89, allocations: 2.484 MB / 2.937 GB, free: 37.93 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007084/15.9, allocations: 0.537 MB / 2.937 GB, free: 37.93 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4105/16.31, allocations: 39.94 MB / 2.976 GB, free: 57.38 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/16.31, allocations: 5.219 kB / 2.976 GB, free: 57.38 MB / 0.6043 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1333/16.44, allocations: 37.45 MB / 3.013 GB, free: 55.99 MB / 0.6043 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1905/16.63, allocations: 52.7 MB / 3.064 GB, free: 54.09 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005185/16.64, allocations: 1.107 MB / 3.065 GB, free: 53.47 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009757/16.65, allocations: 204.7 kB / 3.065 GB, free: 53.47 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02474/16.67, allocations: 0.6145 MB / 3.066 GB, free: 53.41 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007133/16.68, allocations: 1.034 MB / 3.067 GB, free: 53.39 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.007828/16.69, allocations: 1.024 MB / 3.068 GB, free: 53.39 MB / 0.6043 GB Notification: Performance of sort global known variables: time 0.01152/16.7, allocations: 3.727 MB / 3.072 GB, free: 53.18 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.06366/16.76, allocations: 9.542 MB / 3.081 GB, free: 52.99 MB / 0.6043 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.02266/16.79, allocations: 5.437 MB / 3.086 GB, free: 52.12 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.1494/16.93, allocations: 40.73 MB / 3.126 GB, free: 41.88 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.764e-05/16.93, allocations: 12.44 kB / 3.126 GB, free: 41.87 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.03928/16.97, allocations: 13.06 MB / 3.139 GB, free: 30.42 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05017/17.02, allocations: 4.099 MB / 3.143 GB, free: 27.72 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5529/17.58, allocations: 42.59 MB / 3.184 GB, free: 68.55 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.069/17.65, allocations: 10.95 MB / 3.195 GB, free: 67.19 MB / 0.6043 GB Notification: Performance of SimCode: time 2.164e-06/17.65, allocations: 0 / 3.195 GB, free: 67.19 MB / 0.6043 GB