Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesWithTraceSubstances,fileNamePrefix="ModelicaTest_3_2_1_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 1.965/1.965, allocations: 209.3 MB / 216.3 MB, free: 6.789 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2735/2.239, allocations: 51.04 MB / 267.3 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/2.358, allocations: 48.68 MB / 316 MB, free: 4.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.735/4.093, allocations: 0.6485 GB / 0.9571 GB, free: 22.24 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/4.093, allocations: 87.89 kB / 0.9571 GB, free: 22.16 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: 3585 * Number of variables: 3585 Notification: Performance of Generate backend data structure: time 8.051/12.14, allocations: 1.356 GB / 2.313 GB, free: 17.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/12.14, allocations: 8.516 kB / 2.313 GB, free: 17.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02855/12.17, allocations: 2.395 MB / 2.316 GB, free: 16.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05178/12.22, allocations: 9.637 MB / 2.325 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001302/12.23, allocations: 436.8 kB / 2.325 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009735/12.24, allocations: 0.7417 MB / 2.326 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.09103/12.33, allocations: 22.21 MB / 2.348 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0902/12.42, allocations: 21.4 MB / 2.369 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008878/12.42, allocations: 38.81 kB / 2.369 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009104/12.43, allocations: 24 kB / 2.369 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001609/12.43, allocations: 1.413 MB / 2.37 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8876/13.32, allocations: 88.54 MB / 2.457 GB, free: 45.61 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03831/13.35, allocations: 11.18 MB / 2.468 GB, free: 45.53 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03068/13.39, allocations: 10.37 MB / 2.478 GB, free: 45.4 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003389/13.39, allocations: 1.122 MB / 2.479 GB, free: 44.63 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002757/13.39, allocations: 204.4 kB / 2.479 GB, free: 44.57 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=1475): time 2.012e-05/13.39, allocations: 1.875 kB / 2.479 GB, free: 44.57 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1685): time 0.3037/13.69, allocations: 58.09 MB / 2.536 GB, free: 39.54 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002502/13.69, allocations: 355.9 kB / 2.536 GB, free: 39.3 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02168/13.71, allocations: 5.238 MB / 2.541 GB, free: 38.88 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.006361/13.72, allocations: 34.02 kB / 2.541 GB, free: 38.85 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.005168/13.73, allocations: 4.049 MB / 2.545 GB, free: 36.38 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.01265/13.74, allocations: 5.724 MB / 2.551 GB, free: 32.6 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006742/13.75, allocations: 7.406 kB / 2.551 GB, free: 32.6 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.002367/13.75, allocations: 1.086 MB / 2.552 GB, free: 32.25 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03325/13.78, allocations: 10.39 MB / 2.562 GB, free: 32.21 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03799/13.82, allocations: 13.88 MB / 2.576 GB, free: 28.03 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09677/13.92, allocations: 18.28 MB / 2.593 GB, free: 23.69 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002244/13.92, allocations: 29.48 kB / 2.593 GB, free: 23.69 MB / 0.5418 GB Notification: Performance of matching and sorting (n=2397) (initialization): time 0.5393/14.46, allocations: 34.26 MB / 2.627 GB, free: 60.32 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.01205/14.47, allocations: 42.89 MB / 2.669 GB, free: 31.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005858/14.47, allocations: 91.69 kB / 2.669 GB, free: 31.5 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008905/14.48, allocations: 2.267 MB / 2.671 GB, free: 31.08 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06705/14.54, allocations: 4.801 MB / 2.676 GB, free: 31.08 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04646/14.59, allocations: 39.34 MB / 2.714 GB, free: 29.17 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03675/14.63, allocations: 0.9589 MB / 2.715 GB, free: 29.17 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00895/14.64, allocations: 1.267 MB / 2.716 GB, free: 29.17 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/14.64, allocations: 3.938 kB / 2.716 GB, free: 29.17 MB / 0.5887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2109/14.85, allocations: 30.05 MB / 2.746 GB, free: 28.39 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00088/14.85, allocations: 92.69 kB / 2.746 GB, free: 28.39 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009303/14.86, allocations: 2.117 MB / 2.748 GB, free: 27.96 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05204/14.91, allocations: 4.753 MB / 2.753 GB, free: 27.71 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05524/14.97, allocations: 38.37 MB / 2.79 GB, free: 26.17 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02823/14.99, allocations: 0.9188 MB / 2.791 GB, free: 26.16 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01051/15, allocations: 1.25 MB / 2.792 GB, free: 26.16 MB / 0.6199 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.01392/15.02, allocations: 0.5061 MB / 2.793 GB, free: 25.74 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008932/15.03, allocations: 1.019 MB / 2.794 GB, free: 25.74 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1687/15.2, allocations: 30.37 MB / 2.823 GB, free: 24.4 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003107/15.2, allocations: 162.1 kB / 2.823 GB, free: 24.4 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001568/15.2, allocations: 13.25 kB / 2.823 GB, free: 24.4 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08791/15.29, allocations: 22.44 MB / 2.845 GB, free: 22.94 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1794/15.46, allocations: 42.11 MB / 2.886 GB, free: 15.08 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002016/15.46, allocations: 4 kB / 2.886 GB, free: 15.07 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04247/15.51, allocations: 3.728 MB / 2.89 GB, free: 11.98 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01139/15.52, allocations: 2.486 MB / 2.893 GB, free: 9.777 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006933/15.53, allocations: 0.5401 MB / 2.893 GB, free: 9.359 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3941/15.92, allocations: 39.94 MB / 2.932 GB, free: 108.2 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/15.92, allocations: 0 / 2.932 GB, free: 108.2 MB / 0.6199 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1377/16.06, allocations: 37.45 MB / 2.969 GB, free: 106.8 MB / 0.6199 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1833/16.24, allocations: 52.71 MB / 3.02 GB, free: 104.7 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005702/16.25, allocations: 1.109 MB / 3.021 GB, free: 104.1 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01041/16.26, allocations: 209.6 kB / 3.021 GB, free: 104.1 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02662/16.28, allocations: 0.6122 MB / 3.022 GB, free: 104 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007726/16.29, allocations: 1.034 MB / 3.023 GB, free: 104 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.007752/16.3, allocations: 1.024 MB / 3.024 GB, free: 104 MB / 0.6199 GB Notification: Performance of sort global known variables: time 0.01303/16.31, allocations: 3.728 MB / 3.028 GB, free: 103.8 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.07018/16.38, allocations: 9.542 MB / 3.037 GB, free: 103.6 MB / 0.6199 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.02396/16.41, allocations: 5.438 MB / 3.042 GB, free: 102.7 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.1915/16.6, allocations: 40.73 MB / 3.082 GB, free: 86.03 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 2.933e-05/16.6, allocations: 7.812 kB / 3.082 GB, free: 86.02 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.4161/17.01, allocations: 13.91 MB / 3.096 GB, free: 134.5 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04712/17.06, allocations: 4.105 MB / 3.1 GB, free: 134.5 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1766/17.24, allocations: 42.45 MB / 3.141 GB, free: 125.9 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.054/17.29, allocations: 10.95 MB / 3.152 GB, free: 124.6 MB / 0.6199 GB Notification: Performance of SimCode: time 2.295e-06/17.29, allocations: 0 / 3.152 GB, free: 124.6 MB / 0.6199 GB