Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_ReferenceAir_DryAir2",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(Modelica): time 1.587/1.587, allocations: 194.9 MB / 202.5 MB, free: 14.21 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2182/1.806, allocations: 46.83 MB / 249.3 MB, free: 14.21 MB / 210.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09326/1.899, allocations: 44.5 MB / 293.8 MB, free: 1.629 MB / 242.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.326/3.225, allocations: 0.6352 GB / 0.9222 GB, free: 26.44 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/3.226, allocations: 75.89 kB / 0.9223 GB, free: 26.4 MB / 402.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.5917/3.817, allocations: 149.6 MB / 1.068 GB, free: 45.99 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/3.817, allocations: 8 kB / 1.068 GB, free: 45.98 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008432/3.818, allocations: 75.41 kB / 1.068 GB, free: 45.91 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006042/3.819, allocations: 338.2 kB / 1.069 GB, free: 45.54 MB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/3.819, allocations: 12 kB / 1.069 GB, free: 45.53 MB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.33e-05/3.819, allocations: 20 kB / 1.069 GB, free: 45.51 MB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000676/3.82, allocations: 261.4 kB / 1.069 GB, free: 45.25 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000788/3.82, allocations: 394.7 kB / 1.069 GB, free: 44.82 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/3.821, allocations: 4 kB / 1.069 GB, free: 44.82 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.985e-05/3.821, allocations: 4 kB / 1.069 GB, free: 44.81 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/3.821, allocations: 12.22 kB / 1.069 GB, free: 44.8 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01896/3.84, allocations: 6.279 MB / 1.076 GB, free: 37.98 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004425/3.84, allocations: 173.9 kB / 1.076 GB, free: 37.8 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/3.84, allocations: 128.8 kB / 1.076 GB, free: 37.68 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01556/3.856, allocations: 3.526 MB / 1.079 GB, free: 33.86 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/3.856, allocations: 46.55 kB / 1.079 GB, free: 33.81 MB / 402.8 MB Notification: Performance of pre-optimization done (n=35): time 6.242e-06/3.856, allocations: 0 / 1.079 GB, free: 33.81 MB / 402.8 MB Notification: Performance of matching and sorting (n=45): time 0.01111/3.867, allocations: 1.414 MB / 1.081 GB, free: 32.34 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/3.867, allocations: 55.41 kB / 1.081 GB, free: 32.27 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004582/3.868, allocations: 232.9 kB / 1.081 GB, free: 32.05 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 7.406e-05/3.868, allocations: 25.7 kB / 1.081 GB, free: 32.02 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/3.868, allocations: 204 kB / 1.081 GB, free: 31.81 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/3.868, allocations: 157.7 kB / 1.081 GB, free: 31.65 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/3.868, allocations: 0 / 1.081 GB, free: 31.65 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 0.0001128/3.868, allocations: 346.8 kB / 1.082 GB, free: 31.3 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005382/3.869, allocations: 133.3 kB / 1.082 GB, free: 31.17 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006221/3.87, allocations: 259.3 kB / 1.082 GB, free: 30.87 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/3.872, allocations: 252.7 kB / 1.082 GB, free: 30.62 MB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/3.872, allocations: 0 / 1.082 GB, free: 30.62 MB / 402.8 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003728/3.875, allocations: 0.6102 MB / 1.083 GB, free: 30 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/3.876, allocations: 6.5 kB / 1.083 GB, free: 29.99 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/3.876, allocations: 4 kB / 1.083 GB, free: 29.99 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009145/3.877, allocations: 111 kB / 1.083 GB, free: 29.87 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/3.878, allocations: 111.8 kB / 1.083 GB, free: 29.76 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003669/3.881, allocations: 2.482 MB / 1.086 GB, free: 27.11 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000976/3.882, allocations: 31.94 kB / 1.086 GB, free: 27.08 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.918e-05/3.883, allocations: 23.94 kB / 1.086 GB, free: 27.06 MB / 402.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002563/3.883, allocations: 120.6 kB / 1.086 GB, free: 26.93 MB / 402.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/3.883, allocations: 35.62 kB / 1.086 GB, free: 26.9 MB / 402.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/3.885, allocations: 0.8284 MB / 1.087 GB, free: 26.05 MB / 402.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/3.885, allocations: 11.91 kB / 1.087 GB, free: 26.04 MB / 402.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/3.885, allocations: 7.984 kB / 1.087 GB, free: 26.04 MB / 402.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001839/3.887, allocations: 0.9347 MB / 1.088 GB, free: 25.03 MB / 402.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003283/3.891, allocations: 1.393 MB / 1.089 GB, free: 23.6 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/3.891, allocations: 3.906 kB / 1.089 GB, free: 23.59 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006353/3.891, allocations: 87.92 kB / 1.089 GB, free: 23.51 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008209/3.892, allocations: 177.5 kB / 1.089 GB, free: 23.33 MB / 402.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/3.892, allocations: 11.98 kB / 1.089 GB, free: 23.32 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/3.894, allocations: 1.382 MB / 1.09 GB, free: 21.88 MB / 402.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/3.894, allocations: 48 / 1.09 GB, free: 21.88 MB / 402.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002637/3.896, allocations: 1.206 MB / 1.092 GB, free: 20.64 MB / 402.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003233/3.9, allocations: 1.929 MB / 1.094 GB, free: 18.68 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/3.9, allocations: 116.5 kB / 1.094 GB, free: 18.55 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.823e-05/3.9, allocations: 7.938 kB / 1.094 GB, free: 18.54 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000511/3.901, allocations: 11.98 kB / 1.094 GB, free: 18.53 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.222e-05/3.901, allocations: 27.88 kB / 1.094 GB, free: 18.5 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.176e-05/3.901, allocations: 23.92 kB / 1.094 GB, free: 18.48 MB / 402.8 MB Notification: Performance of sort global known variables: time 0.0002294/3.901, allocations: 181.2 kB / 1.094 GB, free: 18.3 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.002239/3.903, allocations: 243.9 kB / 1.094 GB, free: 18.06 MB / 402.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002022/3.905, allocations: 0.5116 MB / 1.095 GB, free: 17.56 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.001629/3.907, allocations: 0.6503 MB / 1.095 GB, free: 16.9 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/3.907, allocations: 0 / 1.095 GB, free: 16.9 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009292/3.908, allocations: 396.5 kB / 1.096 GB, free: 16.51 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/3.91, allocations: 172.9 kB / 1.096 GB, free: 16.34 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/3.912, allocations: 0.9411 MB / 1.097 GB, free: 15.38 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004735/3.912, allocations: 0.8941 MB / 1.098 GB, free: 14.46 MB / 402.8 MB Notification: Performance of SimCode: time 9.02e-07/3.912, allocations: 0 / 1.098 GB, free: 14.46 MB / 402.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat does not exist to compare? outputFormat=mat