Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",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.518/2.518, allocations: 235.1 MB / 242 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2241/2.742, allocations: 57.21 MB / 299.2 MB, free: 452 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/3.035, allocations: 54.86 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6769/3.712, allocations: 236.4 MB / 0.5766 GB, free: 2.984 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003998/3.712, allocations: 96.55 kB / 0.5767 GB, free: 2.93 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 1.952/5.664, allocations: 374.7 MB / 0.9427 GB, free: 40.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.264e-05/5.664, allocations: 8 kB / 0.9427 GB, free: 40.73 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003175/5.668, allocations: 143 kB / 0.9428 GB, free: 40.59 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003328/5.671, allocations: 0.6315 MB / 0.9434 GB, free: 39.92 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/5.671, allocations: 88.39 kB / 0.9435 GB, free: 39.82 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/5.672, allocations: 31.91 kB / 0.9436 GB, free: 39.79 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002369/5.674, allocations: 0.5255 MB / 0.9441 GB, free: 39.26 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/5.677, allocations: 0.7633 MB / 0.9448 GB, free: 38.41 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.709e-05/5.677, allocations: 4 kB / 0.9448 GB, free: 38.41 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002063/5.677, allocations: 7.984 kB / 0.9448 GB, free: 38.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.744e-05/5.677, allocations: 44.92 kB / 0.9449 GB, free: 38.36 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/5.688, allocations: 4.464 MB / 0.9492 GB, free: 33.59 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/5.69, allocations: 273.5 kB / 0.9495 GB, free: 33.32 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005069/5.69, allocations: 128.8 kB / 0.9496 GB, free: 33.19 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005301/5.691, allocations: 361.1 kB / 0.95 GB, free: 32.76 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/5.691, allocations: 38.56 kB / 0.95 GB, free: 32.71 MB / 474.7 MB Notification: Performance of pre-optimization done (n=29): time 4.488e-06/5.691, allocations: 0 / 0.95 GB, free: 32.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.01215/5.703, allocations: 1.391 MB / 0.9514 GB, free: 31.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/5.703, allocations: 136.5 kB / 0.9515 GB, free: 31.08 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/5.705, allocations: 482.2 kB / 0.9519 GB, free: 30.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001314/5.705, allocations: 29.7 kB / 0.952 GB, free: 30.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/5.705, allocations: 346.6 kB / 0.9523 GB, free: 30.22 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/5.705, allocations: 126.3 kB / 0.9524 GB, free: 30.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/5.705, allocations: 0 / 0.9524 GB, free: 30.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001877/5.706, allocations: 374.7 kB / 0.9528 GB, free: 29.72 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008675/5.707, allocations: 189.5 kB / 0.953 GB, free: 29.54 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/5.708, allocations: 0.5273 MB / 0.9535 GB, free: 28.85 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003876/5.712, allocations: 367 kB / 0.9538 GB, free: 28.49 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/5.712, allocations: 4 kB / 0.9538 GB, free: 28.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.006482/5.718, allocations: 0.8925 MB / 0.9547 GB, free: 27.58 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/5.718, allocations: 8.188 kB / 0.9547 GB, free: 27.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.073e-05/5.718, allocations: 12 kB / 0.9547 GB, free: 27.56 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002186/5.72, allocations: 217.6 kB / 0.9549 GB, free: 27.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/5.722, allocations: 155.7 kB / 0.9551 GB, free: 27.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002495/5.724, allocations: 1.425 MB / 0.9565 GB, free: 25.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/5.725, allocations: 28.02 kB / 0.9565 GB, free: 25.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001826/5.726, allocations: 80.05 kB / 0.9566 GB, free: 25.61 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002702/5.726, allocations: 140 kB / 0.9567 GB, free: 25.47 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/5.726, allocations: 67.23 kB / 0.9568 GB, free: 25.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006335/5.733, allocations: 1.234 MB / 0.958 GB, free: 24.16 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.895e-05/5.733, allocations: 11.98 kB / 0.958 GB, free: 24.14 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/5.733, allocations: 4 kB / 0.958 GB, free: 24.14 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/5.733, allocations: 3.984 kB / 0.958 GB, free: 24.14 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005319/5.738, allocations: 1.417 MB / 0.9594 GB, free: 22.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/5.738, allocations: 4 kB / 0.9594 GB, free: 22.65 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004504/5.739, allocations: 43.92 kB / 0.9594 GB, free: 22.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001137/5.74, allocations: 161.7 kB / 0.9596 GB, free: 22.45 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.23e-05/5.74, allocations: 8 kB / 0.9596 GB, free: 22.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/5.742, allocations: 1.374 MB / 0.9609 GB, free: 21.01 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/5.742, allocations: 4 kB / 0.9609 GB, free: 21.01 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004054/5.746, allocations: 1.107 MB / 0.962 GB, free: 19.86 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005221/5.751, allocations: 1.869 MB / 0.9638 GB, free: 17.95 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006987/5.752, allocations: 220.2 kB / 0.964 GB, free: 17.71 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002228/5.752, allocations: 0 / 0.964 GB, free: 17.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000971/5.753, allocations: 11.98 kB / 0.9641 GB, free: 17.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/5.753, allocations: 36.02 kB / 0.9641 GB, free: 17.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/5.753, allocations: 27.98 kB / 0.9641 GB, free: 17.64 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0007586/5.754, allocations: 350.9 kB / 0.9645 GB, free: 17.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004739/5.759, allocations: 0.6243 MB / 0.9651 GB, free: 16.68 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003416/5.762, allocations: 0.7353 MB / 0.9658 GB, free: 15.93 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00211/5.765, allocations: 0.5799 MB / 0.9663 GB, free: 15.36 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/5.765, allocations: 3.938 kB / 0.9664 GB, free: 15.35 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/5.766, allocations: 285.6 kB / 0.9666 GB, free: 15.07 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/5.769, allocations: 233.5 kB / 0.9668 GB, free: 14.85 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.271/6.04, allocations: 15.76 MB / 0.9822 GB, free: 125.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001498/6.041, allocations: 1.09 MB / 0.9833 GB, free: 124.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.593e-06/6.041, allocations: 0 / 0.9833 GB, free: 124.6 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat