Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",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.515/2.515, allocations: 235.1 MB / 242 MB, free: 3.832 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1648/2.68, allocations: 57.2 MB / 299.2 MB, free: 10.54 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/3.039, allocations: 54.85 MB / 354.1 MB, free: 424 kB / 286.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6648/3.704, allocations: 236.3 MB / 0.5765 GB, free: 44.47 MB / 430.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005409/3.704, allocations: 92.5 kB / 0.5766 GB, free: 44.42 MB / 430.1 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 2.156/5.86, allocations: 399.5 MB / 0.9667 GB, free: 78.37 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/5.86, allocations: 8 kB / 0.9667 GB, free: 78.36 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002305/5.863, allocations: 154.4 kB / 0.9669 GB, free: 78.21 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002931/5.866, allocations: 0.6337 MB / 0.9675 GB, free: 77.55 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/5.866, allocations: 84.34 kB / 0.9676 GB, free: 77.46 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/5.866, allocations: 28 kB / 0.9676 GB, free: 77.43 MB / 478.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001843/5.868, allocations: 0.5255 MB / 0.9681 GB, free: 76.91 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/5.87, allocations: 0.7725 MB / 0.9689 GB, free: 76.06 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.298e-05/5.87, allocations: 3.938 kB / 0.9689 GB, free: 76.05 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/5.87, allocations: 7.984 kB / 0.9689 GB, free: 76.05 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.042e-05/5.87, allocations: 36.98 kB / 0.9689 GB, free: 76.01 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009567/5.88, allocations: 4.495 MB / 0.9733 GB, free: 71.27 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009525/5.881, allocations: 272 kB / 0.9736 GB, free: 71.01 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004026/5.882, allocations: 124.8 kB / 0.9737 GB, free: 70.88 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004243/5.882, allocations: 361 kB / 0.974 GB, free: 70.46 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/5.882, allocations: 45.12 kB / 0.9741 GB, free: 70.41 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 3.356e-06/5.882, allocations: 0 / 0.9741 GB, free: 70.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=35): time 0.008861/5.891, allocations: 1.394 MB / 0.9754 GB, free: 68.94 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/5.891, allocations: 136.5 kB / 0.9756 GB, free: 68.78 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/5.892, allocations: 478.2 kB / 0.976 GB, free: 68.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001686/5.892, allocations: 29.64 kB / 0.9761 GB, free: 68.27 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/5.893, allocations: 350.6 kB / 0.9764 GB, free: 67.92 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/5.893, allocations: 122.3 kB / 0.9765 GB, free: 67.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.861e-05/5.893, allocations: 0 / 0.9765 GB, free: 67.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/5.893, allocations: 374.8 kB / 0.9769 GB, free: 67.43 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006348/5.894, allocations: 193.5 kB / 0.9771 GB, free: 67.24 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007695/5.894, allocations: 0.5106 MB / 0.9776 GB, free: 66.57 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002571/5.897, allocations: 385.1 kB / 0.9779 GB, free: 66.21 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/5.897, allocations: 7.906 kB / 0.9779 GB, free: 66.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004566/5.902, allocations: 0.9016 MB / 0.9788 GB, free: 65.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/5.902, allocations: 4 kB / 0.9788 GB, free: 65.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/5.902, allocations: 15.94 kB / 0.9788 GB, free: 65.28 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/5.903, allocations: 213 kB / 0.979 GB, free: 65.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/5.905, allocations: 151.7 kB / 0.9792 GB, free: 64.92 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/5.907, allocations: 1.435 MB / 0.9806 GB, free: 63.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/5.908, allocations: 26.52 kB / 0.9806 GB, free: 63.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/5.909, allocations: 92.05 kB / 0.9807 GB, free: 63.32 MB / 478.1 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.0002856/5.909, allocations: 131.9 kB / 0.9808 GB, free: 63.19 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/5.909, allocations: 63.25 kB / 0.9809 GB, free: 63.13 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006359/5.916, allocations: 1.292 MB / 0.9821 GB, free: 61.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.42e-05/5.916, allocations: 8 kB / 0.9821 GB, free: 61.89 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/5.916, allocations: 0 / 0.9821 GB, free: 61.89 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/5.916, allocations: 3.984 kB / 0.9821 GB, free: 61.89 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004859/5.921, allocations: 1.426 MB / 0.9835 GB, free: 60.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/5.921, allocations: 4 kB / 0.9835 GB, free: 60.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/5.921, allocations: 35.98 kB / 0.9836 GB, free: 60.37 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/5.922, allocations: 165.4 kB / 0.9837 GB, free: 60.21 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.818e-05/5.922, allocations: 15.98 kB / 0.9838 GB, free: 60.19 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/5.924, allocations: 1.362 MB / 0.9851 GB, free: 58.78 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/5.924, allocations: 4.125 kB / 0.9851 GB, free: 58.77 MB / 478.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003595/5.928, allocations: 1.124 MB / 0.9862 GB, free: 57.61 MB / 478.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004581/5.932, allocations: 1.866 MB / 0.988 GB, free: 55.71 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005677/5.933, allocations: 216.3 kB / 0.9882 GB, free: 55.48 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/5.933, allocations: 4 kB / 0.9882 GB, free: 55.47 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008695/5.934, allocations: 15.89 kB / 0.9882 GB, free: 55.46 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/5.934, allocations: 27.91 kB / 0.9883 GB, free: 55.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.922e-05/5.934, allocations: 31.98 kB / 0.9883 GB, free: 55.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 0.0007109/5.935, allocations: 354.9 kB / 0.9886 GB, free: 55.05 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004209/5.939, allocations: 0.6245 MB / 0.9892 GB, free: 54.43 MB / 478.1 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.003066/5.942, allocations: 0.7498 MB / 0.99 GB, free: 53.73 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001957/5.944, allocations: 0.5815 MB / 0.9905 GB, free: 53.16 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/5.944, allocations: 3.953 kB / 0.9905 GB, free: 53.15 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/5.946, allocations: 296.2 kB / 0.9908 GB, free: 52.86 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/5.948, allocations: 241.5 kB / 0.9911 GB, free: 52.63 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0691/6.017, allocations: 16.75 MB / 1.007 GB, free: 36.13 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001574/6.019, allocations: 1.1 MB / 1.008 GB, free: 35 MB / 478.1 MB Notification: Performance of SimCode: time 1.743e-06/6.019, allocations: 0 / 1.008 GB, free: 35 MB / 478.1 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat