Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",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.305/2.305, allocations: 235.1 MB / 242 MB, free: 9.746 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1579/2.463, allocations: 57.19 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/2.746, allocations: 54.86 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.898/4.644, allocations: 0.6312 GB / 0.977 GB, free: 120.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003716/4.644, allocations: 83.17 kB / 0.977 GB, free: 120.8 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 2.404/7.048, allocations: 415.6 MB / 1.383 GB, free: 51.82 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/7.048, allocations: 15.19 kB / 1.383 GB, free: 51.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002926/7.051, allocations: 207.3 kB / 1.383 GB, free: 51.76 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004191/7.055, allocations: 0.8861 MB / 1.384 GB, free: 51.45 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/7.055, allocations: 32.94 kB / 1.384 GB, free: 51.45 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004527/7.056, allocations: 41.91 kB / 1.384 GB, free: 51.45 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004669/7.061, allocations: 1.048 MB / 1.385 GB, free: 51.45 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00587/7.067, allocations: 1.135 MB / 1.386 GB, free: 51.24 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001039/7.067, allocations: 6.625 kB / 1.386 GB, free: 51.24 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005073/7.067, allocations: 0 / 1.386 GB, free: 51.24 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002232/7.067, allocations: 86.66 kB / 1.386 GB, free: 51.24 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02145/7.089, allocations: 4.978 MB / 1.391 GB, free: 48.89 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002/7.091, allocations: 451.2 kB / 1.392 GB, free: 48.88 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/7.092, allocations: 316 kB / 1.392 GB, free: 48.86 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006523/7.093, allocations: 316.3 kB / 1.392 GB, free: 48.58 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.02e-05/7.093, allocations: 42.97 kB / 1.392 GB, free: 48.54 MB / 474.7 MB Notification: Performance of pre-optimization done (n=56): time 7.023e-06/7.093, allocations: 6.844 kB / 1.392 GB, free: 48.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=61): time 0.02176/7.115, allocations: 2.394 MB / 1.395 GB, free: 47.96 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.39e-05/7.115, allocations: 216.9 kB / 1.395 GB, free: 47.71 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/7.117, allocations: 0.696 MB / 1.395 GB, free: 47.57 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002613/7.117, allocations: 33.3 kB / 1.395 GB, free: 47.54 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/7.118, allocations: 423.8 kB / 1.396 GB, free: 47.27 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003152/7.118, allocations: 214.5 kB / 1.396 GB, free: 47.13 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/7.118, allocations: 0 / 1.396 GB, free: 47.13 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/7.118, allocations: 345.5 kB / 1.396 GB, free: 46.83 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/7.12, allocations: 395 kB / 1.397 GB, free: 46.83 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/7.121, allocations: 0.6535 MB / 1.397 GB, free: 46.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02088/7.142, allocations: 2.024 MB / 1.399 GB, free: 46.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.135e-05/7.142, allocations: 0 / 1.399 GB, free: 46.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.02385/7.166, allocations: 2.885 MB / 1.402 GB, free: 46.38 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007878/7.167, allocations: 2.868 MB / 1.405 GB, free: 43.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/7.167, allocations: 8.594 kB / 1.405 GB, free: 43.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004173/7.171, allocations: 492.5 kB / 1.406 GB, free: 43.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/7.173, allocations: 194.1 kB / 1.406 GB, free: 43.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004305/7.177, allocations: 1.48 MB / 1.407 GB, free: 42.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002398/7.18, allocations: 53.56 kB / 1.407 GB, free: 42.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003146/7.18, allocations: 101 kB / 1.407 GB, free: 42.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/7.18, allocations: 3.594 kB / 1.407 GB, free: 42.84 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02197/7.202, allocations: 2.548 MB / 1.41 GB, free: 42.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/7.202, allocations: 3.938 kB / 1.41 GB, free: 42.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003222/7.205, allocations: 332.5 kB / 1.41 GB, free: 42.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002103/7.207, allocations: 217 kB / 1.41 GB, free: 42.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/7.21, allocations: 1.005 MB / 1.411 GB, free: 42.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/7.212, allocations: 59.75 kB / 1.411 GB, free: 42.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000275/7.213, allocations: 98.33 kB / 1.411 GB, free: 42.27 MB / 474.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.000451/7.213, allocations: 127.5 kB / 1.412 GB, free: 42.16 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003198/7.213, allocations: 102.9 kB / 1.412 GB, free: 42.11 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005934/7.219, allocations: 1.178 MB / 1.413 GB, free: 42 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/7.219, allocations: 6.875 kB / 1.413 GB, free: 42 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/7.219, allocations: 0 / 1.413 GB, free: 42 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/7.219, allocations: 4.812 kB / 1.413 GB, free: 42 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006397/7.226, allocations: 1.833 MB / 1.415 GB, free: 41.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/7.226, allocations: 3.875 kB / 1.415 GB, free: 41.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/7.227, allocations: 152 kB / 1.415 GB, free: 41.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001589/7.228, allocations: 22.88 kB / 1.415 GB, free: 41.69 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/7.228, allocations: 13.52 kB / 1.415 GB, free: 41.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/7.229, allocations: 1.227 MB / 1.416 GB, free: 40.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/7.229, allocations: 3.594 kB / 1.416 GB, free: 40.5 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004842/7.234, allocations: 1.421 MB / 1.417 GB, free: 40.25 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006514/7.24, allocations: 2.338 MB / 1.42 GB, free: 39.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006355/7.241, allocations: 184.2 kB / 1.42 GB, free: 39.46 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003966/7.241, allocations: 6.281 kB / 1.42 GB, free: 39.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001519/7.243, allocations: 47.33 kB / 1.42 GB, free: 39.45 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/7.243, allocations: 46.89 kB / 1.42 GB, free: 39.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/7.243, allocations: 52.33 kB / 1.42 GB, free: 39.45 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001189/7.245, allocations: 0.5224 MB / 1.42 GB, free: 39.36 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009884/7.254, allocations: 1.535 MB / 1.422 GB, free: 39.13 MB / 474.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.008302/7.263, allocations: 2.184 MB / 1.424 GB, free: 38.65 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005117/7.268, allocations: 1.491 MB / 1.426 GB, free: 38.61 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.739e-06/7.268, allocations: 0 / 1.426 GB, free: 38.61 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001445/7.269, allocations: 474.6 kB / 1.426 GB, free: 38.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004927/7.274, allocations: 447.3 kB / 1.426 GB, free: 38.47 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01682/7.291, allocations: 3.199 MB / 1.43 GB, free: 37.57 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002787/7.294, allocations: 1.319 MB / 1.431 GB, free: 36.82 MB / 474.7 MB Notification: Performance of SimCode: time 2.845e-06/7.294, allocations: 0 / 1.431 GB, free: 36.82 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat does not exist to compare? outputFormat=mat