Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",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.541/2.541, allocations: 235 MB / 241.9 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1879/2.729, allocations: 57.2 MB / 299.1 MB, free: 456 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/3.003, allocations: 54.85 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.744/4.747, allocations: 0.6273 GB / 0.9729 GB, free: 120.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003953/4.747, allocations: 85.81 kB / 0.973 GB, free: 120.9 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 1.943/6.691, allocations: 352.4 MB / 1.317 GB, free: 55.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/6.691, allocations: 6.438 kB / 1.317 GB, free: 55.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002128/6.693, allocations: 202.4 kB / 1.317 GB, free: 55.29 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00318/6.696, allocations: 0.8351 MB / 1.318 GB, free: 55.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.284e-05/6.696, allocations: 22.16 kB / 1.318 GB, free: 55.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/6.696, allocations: 36.47 kB / 1.318 GB, free: 55.02 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002679/6.699, allocations: 1.003 MB / 1.319 GB, free: 55.02 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003095/6.702, allocations: 1.052 MB / 1.32 GB, free: 54.84 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/6.702, allocations: 0 / 1.32 GB, free: 54.84 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/6.702, allocations: 3.719 kB / 1.32 GB, free: 54.84 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001249/6.703, allocations: 82.09 kB / 1.32 GB, free: 54.84 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01172/6.714, allocations: 4.342 MB / 1.325 GB, free: 53.08 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/6.716, allocations: 0.6334 MB / 1.325 GB, free: 53.05 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007055/6.717, allocations: 299.6 kB / 1.325 GB, free: 53.05 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000424/6.717, allocations: 320 kB / 1.326 GB, free: 52.77 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/6.718, allocations: 41.72 kB / 1.326 GB, free: 52.72 MB / 474.7 MB Notification: Performance of pre-optimization done (n=49): time 3.227e-06/6.718, allocations: 0 / 1.326 GB, free: 52.72 MB / 474.7 MB Notification: Performance of matching and sorting (n=49): time 0.004194/6.722, allocations: 0.9708 MB / 1.327 GB, free: 52.63 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.233e-05/6.722, allocations: 212.6 kB / 1.327 GB, free: 52.38 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/6.724, allocations: 0.6668 MB / 1.328 GB, free: 52.25 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002524/6.724, allocations: 25.7 kB / 1.328 GB, free: 52.22 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/6.724, allocations: 396.2 kB / 1.328 GB, free: 52.01 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003562/6.725, allocations: 170.5 kB / 1.328 GB, free: 51.93 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/6.725, allocations: 0 / 1.328 GB, free: 51.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/6.725, allocations: 394.6 kB / 1.329 GB, free: 51.61 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/6.726, allocations: 371.3 kB / 1.329 GB, free: 51.61 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/6.727, allocations: 0.605 MB / 1.329 GB, free: 51.33 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01756/6.745, allocations: 1.979 MB / 1.331 GB, free: 51.33 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.878e-05/6.745, allocations: 2.844 kB / 1.331 GB, free: 51.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01999/6.765, allocations: 2.766 MB / 1.334 GB, free: 51.24 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006369/6.766, allocations: 2.439 MB / 1.336 GB, free: 48.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/6.766, allocations: 9.469 kB / 1.336 GB, free: 48.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006744/6.772, allocations: 0.649 MB / 1.337 GB, free: 48.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/6.774, allocations: 176 kB / 1.337 GB, free: 48.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003774/6.778, allocations: 1.374 MB / 1.339 GB, free: 48.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/6.78, allocations: 111.3 kB / 1.339 GB, free: 48.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002081/6.78, allocations: 68.84 kB / 1.339 GB, free: 48.13 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/6.78, allocations: 8.062 kB / 1.339 GB, free: 48.13 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0194/6.799, allocations: 2.476 MB / 1.341 GB, free: 48.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.922e-05/6.8, allocations: 7.656 kB / 1.341 GB, free: 48.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/6.801, allocations: 166.2 kB / 1.341 GB, free: 48.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/6.803, allocations: 211.2 kB / 1.342 GB, free: 48.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004069/6.807, allocations: 1.988 MB / 1.344 GB, free: 46.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/6.809, allocations: 87.69 kB / 1.344 GB, free: 46.86 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002656/6.809, allocations: 74.23 kB / 1.344 GB, free: 46.86 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003718/6.809, allocations: 119.4 kB / 1.344 GB, free: 46.76 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003142/6.81, allocations: 85.28 kB / 1.344 GB, free: 46.71 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004823/6.814, allocations: 1.138 MB / 1.345 GB, free: 46.62 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/6.815, allocations: 3.781 kB / 1.345 GB, free: 46.62 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/6.815, allocations: 2.156 kB / 1.345 GB, free: 46.62 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/6.815, allocations: 10.47 kB / 1.345 GB, free: 46.62 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005606/6.82, allocations: 1.734 MB / 1.347 GB, free: 46.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/6.82, allocations: 3.906 kB / 1.347 GB, free: 46.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000586/6.821, allocations: 56.95 kB / 1.347 GB, free: 46.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003689/6.825, allocations: 491.9 kB / 1.347 GB, free: 46.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001984/6.825, allocations: 22.25 kB / 1.347 GB, free: 46.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003314/6.828, allocations: 1.3 MB / 1.349 GB, free: 45.76 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/6.828, allocations: 0 / 1.349 GB, free: 45.76 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003974/6.832, allocations: 1.044 MB / 1.35 GB, free: 45.52 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004196/6.836, allocations: 1.482 MB / 1.351 GB, free: 44.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005483/6.837, allocations: 179.5 kB / 1.351 GB, free: 44.77 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003621/6.837, allocations: 2.875 kB / 1.351 GB, free: 44.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/6.839, allocations: 41.28 kB / 1.351 GB, free: 44.76 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/6.839, allocations: 38.42 kB / 1.351 GB, free: 44.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.541e-05/6.839, allocations: 28.28 kB / 1.351 GB, free: 44.76 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.00105/6.84, allocations: 0.5006 MB / 1.352 GB, free: 44.67 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008509/6.849, allocations: 1.426 MB / 1.353 GB, free: 44.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.00661/6.855, allocations: 2.022 MB / 1.355 GB, free: 44.17 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00458/6.86, allocations: 1.454 MB / 1.357 GB, free: 44.05 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/6.86, allocations: 0 / 1.357 GB, free: 44.05 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/6.861, allocations: 343.3 kB / 1.357 GB, free: 44.04 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003931/6.865, allocations: 404 kB / 1.357 GB, free: 44.03 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/6.879, allocations: 2.925 MB / 1.36 GB, free: 43.71 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001798/6.881, allocations: 1.197 MB / 1.361 GB, free: 59 MB / 490.7 MB Notification: Performance of SimCode: time 1.803e-06/6.881, allocations: 0 / 1.361 GB, free: 59 MB / 490.7 MB