Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") [: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.827/1.827, allocations: 209.3 MB / 216.3 MB, free: 4.309 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.141e-05/1.165e-05, allocations: 4 kB / 267.3 MB, free: 1.336 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2051, allocations: 48.7 MB / 316 MB, free: 13.31 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.321/1.526, allocations: 0.6244 GB / 0.933 GB, free: 108 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/1.527, allocations: 84.73 kB / 0.9331 GB, free: 108 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.805/3.331, allocations: 413.5 MB / 1.337 GB, free: 41.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001315/3.331, allocations: 32.72 kB / 1.337 GB, free: 41.32 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006682/3.338, allocations: 1.896 MB / 1.339 GB, free: 39.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/3.338, allocations: 9.625 kB / 1.339 GB, free: 39.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/3.341, allocations: 211.5 kB / 1.339 GB, free: 39.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002939/3.344, allocations: 0.8904 MB / 1.34 GB, free: 39.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.631e-05/3.344, allocations: 25.19 kB / 1.34 GB, free: 39.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002606/3.344, allocations: 40.91 kB / 1.34 GB, free: 39.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002715/3.347, allocations: 1.056 MB / 1.341 GB, free: 38.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002673/3.349, allocations: 1.129 MB / 1.342 GB, free: 38.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/3.35, allocations: 1.531 kB / 1.342 GB, free: 38.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001635/3.35, allocations: 1.281 kB / 1.342 GB, free: 38.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001234/3.35, allocations: 93.25 kB / 1.342 GB, free: 38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01091/3.361, allocations: 4.991 MB / 1.347 GB, free: 34.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/3.362, allocations: 448.6 kB / 1.347 GB, free: 33.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006914/3.363, allocations: 315.2 kB / 1.348 GB, free: 33.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003845/3.363, allocations: 320.5 kB / 1.348 GB, free: 33.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/3.363, allocations: 39.44 kB / 1.348 GB, free: 33.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=56): time 3.904e-06/3.363, allocations: 0 / 1.348 GB, free: 33.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=61): time 0.01248/3.376, allocations: 2.396 MB / 1.35 GB, free: 31.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/3.376, allocations: 218.1 kB / 1.351 GB, free: 30.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/3.377, allocations: 0.6998 MB / 1.351 GB, free: 30.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001741/3.377, allocations: 25.7 kB / 1.351 GB, free: 30.01 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/3.377, allocations: 424.6 kB / 1.352 GB, free: 29.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000234/3.378, allocations: 216.9 kB / 1.352 GB, free: 29.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.483e-05/3.378, allocations: 0 / 1.352 GB, free: 29.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.599e-05/3.378, allocations: 341.9 kB / 1.352 GB, free: 29.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008401/3.379, allocations: 389.9 kB / 1.353 GB, free: 28.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000943/3.38, allocations: 0.6561 MB / 1.353 GB, free: 27.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/3.392, allocations: 2.019 MB / 1.355 GB, free: 25.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/3.392, allocations: 4 kB / 1.355 GB, free: 25.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01512/3.407, allocations: 2.88 MB / 1.358 GB, free: 23.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007384/3.408, allocations: 2.875 MB / 1.361 GB, free: 19.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.413e-05/3.408, allocations: 8 kB / 1.361 GB, free: 19.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004556/3.412, allocations: 496 kB / 1.361 GB, free: 19.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/3.414, allocations: 191.7 kB / 1.362 GB, free: 19.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005539/3.42, allocations: 1.474 MB / 1.363 GB, free: 17.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002987/3.423, allocations: 56.28 kB / 1.363 GB, free: 17.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005328/3.423, allocations: 91.98 kB / 1.363 GB, free: 17.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/3.423, allocations: 6.469 kB / 1.363 GB, free: 17.66 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02504/3.449, allocations: 2.546 MB / 1.366 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.684e-05/3.449, allocations: 8 kB / 1.366 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00346/3.452, allocations: 333.6 kB / 1.366 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/3.454, allocations: 211.7 kB / 1.366 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/3.457, allocations: 1.009 MB / 1.367 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00265/3.46, allocations: 59.94 kB / 1.367 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005042/3.46, allocations: 91.98 kB / 1.367 GB, free: 13.44 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 28} Notification: Performance of prepare postOptimizeDAE: time 0.0005565/3.461, allocations: 132.6 kB / 1.367 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000552/3.461, allocations: 94.88 kB / 1.368 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008189/3.47, allocations: 1.187 MB / 1.369 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/3.47, allocations: 8 kB / 1.369 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/3.47, allocations: 0 / 1.369 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/3.47, allocations: 7.922 kB / 1.369 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009637/3.479, allocations: 1.823 MB / 1.37 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/3.479, allocations: 3.938 kB / 1.37 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002235/3.482, allocations: 151.8 kB / 1.371 GB, free: 9.988 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002465/3.482, allocations: 24.91 kB / 1.371 GB, free: 9.961 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002502/3.482, allocations: 19.98 kB / 1.371 GB, free: 9.941 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/3.484, allocations: 1.221 MB / 1.372 GB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.132e-06/3.484, allocations: 4.031 kB / 1.372 GB, free: 8.605 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005776/3.49, allocations: 1.417 MB / 1.373 GB, free: 7.148 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005849/3.491, allocations: 187.8 kB / 1.373 GB, free: 6.945 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003478/3.491, allocations: 7.984 kB / 1.373 GB, free: 6.938 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/3.492, allocations: 39.97 kB / 1.373 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/3.492, allocations: 48.42 kB / 1.374 GB, free: 6.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/3.492, allocations: 51.92 kB / 1.374 GB, free: 6.801 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0009843/3.493, allocations: 0.5226 MB / 1.374 GB, free: 6.285 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005257/3.499, allocations: 1.206 MB / 1.375 GB, free: 5.078 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (junction.medium.p,junction.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00583/3.505, allocations: 2.198 MB / 1.377 GB, free: 3.145 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003681/3.508, allocations: 1.48 MB / 1.379 GB, free: 1.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/3.508, allocations: 4 kB / 1.379 GB, free: 1.656 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009338/3.509, allocations: 475.4 kB / 1.379 GB, free: 1.184 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00304/3.512, allocations: 441.6 kB / 1.38 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/3.526, allocations: 3.177 MB / 1.383 GB, free: 13.62 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002643/3.528, allocations: 1.321 MB / 1.384 GB, free: 12.28 MB / 442.7 MB Notification: Performance of SimCode: time 1.924e-06/3.528, allocations: 0 / 1.384 GB, free: 12.28 MB / 442.7 MB Notification: Performance of Templates: time 0.3073/3.836, allocations: 43.55 MB / 1.427 GB, free: 89.27 MB / 442.7 MB