Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",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.551/2.551, allocations: 235.1 MB / 242 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2168/2.768, allocations: 57.21 MB / 299.2 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/3.101, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.471/4.572, allocations: 0.5027 GB / 0.8485 GB, free: 103.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003544/4.572, allocations: 95.92 kB / 0.8486 GB, free: 103.1 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 1.302/5.874, allocations: 216.6 MB / 1.06 GB, free: 79.42 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/5.874, allocations: 12 kB / 1.06 GB, free: 79.41 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/5.876, allocations: 127.1 kB / 1.06 GB, free: 79.28 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/5.878, allocations: 0.5557 MB / 1.061 GB, free: 78.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/5.878, allocations: 88.39 kB / 1.061 GB, free: 78.59 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/5.878, allocations: 31.91 kB / 1.061 GB, free: 78.56 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001682/5.88, allocations: 0.5333 MB / 1.061 GB, free: 78.03 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/5.882, allocations: 0.7312 MB / 1.062 GB, free: 77.22 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/5.882, allocations: 3.938 kB / 1.062 GB, free: 77.21 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/5.882, allocations: 4 kB / 1.062 GB, free: 77.21 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.111e-05/5.882, allocations: 48.91 kB / 1.062 GB, free: 77.16 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007569/5.889, allocations: 3.995 MB / 1.066 GB, free: 72.97 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006593/5.89, allocations: 202.3 kB / 1.066 GB, free: 72.77 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003534/5.891, allocations: 133.2 kB / 1.066 GB, free: 72.63 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.089e-05/5.891, allocations: 24.88 kB / 1.066 GB, free: 72.61 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/5.891, allocations: 38.8 kB / 1.066 GB, free: 72.56 MB / 474.7 MB Notification: Performance of pre-optimization done (n=27): time 3.727e-06/5.891, allocations: 4 kB / 1.066 GB, free: 72.56 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.01084/5.902, allocations: 1.415 MB / 1.068 GB, free: 71.07 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/5.902, allocations: 136.5 kB / 1.068 GB, free: 70.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009224/5.903, allocations: 478.1 kB / 1.068 GB, free: 70.43 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.796e-05/5.903, allocations: 25.7 kB / 1.068 GB, free: 70.39 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/5.903, allocations: 338.7 kB / 1.069 GB, free: 70.06 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/5.903, allocations: 122.3 kB / 1.069 GB, free: 69.94 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.183e-05/5.903, allocations: 0 / 1.069 GB, free: 69.94 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/5.903, allocations: 366.8 kB / 1.069 GB, free: 69.57 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005426/5.904, allocations: 189.5 kB / 1.069 GB, free: 69.39 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007291/5.905, allocations: 0.5083 MB / 1.07 GB, free: 68.72 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/5.906, allocations: 343.8 kB / 1.07 GB, free: 68.38 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/5.906, allocations: 0 / 1.07 GB, free: 68.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002775/5.909, allocations: 0.8375 MB / 1.071 GB, free: 67.54 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/5.909, allocations: 12.03 kB / 1.071 GB, free: 67.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/5.909, allocations: 8 kB / 1.071 GB, free: 67.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002381/5.911, allocations: 272.6 kB / 1.071 GB, free: 67.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009635/5.912, allocations: 127.8 kB / 1.071 GB, free: 67.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/5.914, allocations: 0.9432 MB / 1.072 GB, free: 66.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/5.916, allocations: 35.97 kB / 1.072 GB, free: 66.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/5.916, allocations: 71.98 kB / 1.073 GB, free: 66.05 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (72): * Single equations (assignments): 71 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002616/5.916, allocations: 128.9 kB / 1.073 GB, free: 65.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/5.916, allocations: 67.19 kB / 1.073 GB, free: 65.85 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002572/5.919, allocations: 0.5423 MB / 1.073 GB, free: 65.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/5.919, allocations: 11.89 kB / 1.073 GB, free: 65.29 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/5.919, allocations: 0 / 1.073 GB, free: 65.29 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/5.919, allocations: 4 kB / 1.073 GB, free: 65.28 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002789/5.922, allocations: 0.9764 MB / 1.074 GB, free: 64.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/5.922, allocations: 0 / 1.074 GB, free: 64.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002294/5.924, allocations: 183.7 kB / 1.074 GB, free: 64.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001528/5.924, allocations: 28.88 kB / 1.074 GB, free: 64.05 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.51e-05/5.924, allocations: 15.98 kB / 1.074 GB, free: 64.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002485/5.927, allocations: 2.58 MB / 1.077 GB, free: 61.23 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/5.927, allocations: 0 / 1.077 GB, free: 61.23 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001801/5.929, allocations: 0.6776 MB / 1.078 GB, free: 60.52 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002455/5.931, allocations: 1.296 MB / 1.079 GB, free: 59.19 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004811/5.932, allocations: 172.2 kB / 1.079 GB, free: 59 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/5.932, allocations: 4 kB / 1.079 GB, free: 59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000901/5.933, allocations: 24.03 kB / 1.079 GB, free: 58.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/5.933, allocations: 23.97 kB / 1.079 GB, free: 58.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/5.933, allocations: 35.98 kB / 1.079 GB, free: 58.92 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0007304/5.934, allocations: 350.9 kB / 1.079 GB, free: 58.58 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003474/5.937, allocations: 431.7 kB / 1.08 GB, free: 58.16 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.003082/5.94, allocations: 1.19 MB / 1.081 GB, free: 57.11 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001943/5.942, allocations: 492.3 kB / 1.081 GB, free: 56.63 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/5.942, allocations: 0 / 1.081 GB, free: 56.63 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002346/5.945, allocations: 394.1 kB / 1.082 GB, free: 56.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/5.947, allocations: 237.7 kB / 1.082 GB, free: 56 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/5.96, allocations: 2.341 MB / 1.084 GB, free: 53.67 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/5.962, allocations: 1.081 MB / 1.085 GB, free: 52.56 MB / 474.7 MB Notification: Performance of SimCode: time 1.323e-06/5.962, allocations: 0 / 1.085 GB, free: 52.56 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat