Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_1_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.469/1.469, allocations: 171.2 MB / 178.1 MB, free: 8.332 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2332/1.703, allocations: 41.1 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09581/1.799, allocations: 38.76 MB / 258 MB, free: 4.375 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.558/3.357, allocations: 0.6303 GB / 0.8822 GB, free: 34.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/3.357, allocations: 79.7 kB / 0.8823 GB, free: 34.4 MB / 346.7 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.6714/4.029, allocations: 149.6 MB / 1.028 GB, free: 26.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/4.029, allocations: 8 kB / 1.028 GB, free: 26.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/4.03, allocations: 83.39 kB / 1.028 GB, free: 26.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008194/4.031, allocations: 337.6 kB / 1.029 GB, free: 25.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/4.031, allocations: 15.94 kB / 1.029 GB, free: 25.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.429e-05/4.031, allocations: 24 kB / 1.029 GB, free: 25.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007339/4.032, allocations: 257.5 kB / 1.029 GB, free: 25.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008547/4.033, allocations: 398.8 kB / 1.029 GB, free: 25.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/4.033, allocations: 3.984 kB / 1.029 GB, free: 25.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.541e-05/4.033, allocations: 7.906 kB / 1.029 GB, free: 25.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/4.033, allocations: 8 kB / 1.029 GB, free: 25.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02062/4.053, allocations: 6.288 MB / 1.036 GB, free: 18.33 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/4.054, allocations: 165.9 kB / 1.036 GB, free: 18.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/4.054, allocations: 133 kB / 1.036 GB, free: 18.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01615/4.07, allocations: 3.516 MB / 1.039 GB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/4.071, allocations: 38.56 kB / 1.039 GB, free: 14.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 3.216e-06/4.071, allocations: 0 / 1.039 GB, free: 14.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.006529/4.077, allocations: 1.411 MB / 1.041 GB, free: 12.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/4.077, allocations: 59.61 kB / 1.041 GB, free: 12.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/4.078, allocations: 229.1 kB / 1.041 GB, free: 12.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/4.078, allocations: 33.58 kB / 1.041 GB, free: 12.37 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.64e-05/4.078, allocations: 207.9 kB / 1.041 GB, free: 12.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/4.078, allocations: 153.8 kB / 1.041 GB, free: 12.01 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/4.078, allocations: 0 / 1.041 GB, free: 12.01 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.825e-05/4.078, allocations: 350.7 kB / 1.042 GB, free: 11.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/4.078, allocations: 141.3 kB / 1.042 GB, free: 11.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/4.079, allocations: 258.9 kB / 1.042 GB, free: 11.22 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/4.08, allocations: 252.6 kB / 1.042 GB, free: 10.97 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/4.08, allocations: 0 / 1.042 GB, free: 10.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002395/4.082, allocations: 0.6103 MB / 1.043 GB, free: 10.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/4.083, allocations: 4 kB / 1.043 GB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/4.083, allocations: 4 kB / 1.043 GB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000632/4.083, allocations: 106.5 kB / 1.043 GB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008045/4.084, allocations: 112.2 kB / 1.043 GB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002692/4.087, allocations: 2.48 MB / 1.046 GB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007147/4.088, allocations: 31.89 kB / 1.046 GB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.599e-05/4.088, allocations: 20 kB / 1.046 GB, free: 7.418 MB / 346.7 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.0001965/4.088, allocations: 124.7 kB / 1.046 GB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/4.088, allocations: 35.62 kB / 1.046 GB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/4.09, allocations: 0.8362 MB / 1.047 GB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/4.091, allocations: 11.98 kB / 1.047 GB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/4.091, allocations: 0 / 1.047 GB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001883/4.092, allocations: 0.9346 MB / 1.048 GB, free: 5.383 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00341/4.096, allocations: 1.402 MB / 1.049 GB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/4.096, allocations: 0 / 1.049 GB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007509/4.097, allocations: 71.91 kB / 1.049 GB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009049/4.098, allocations: 193.3 kB / 1.049 GB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.286e-05/4.098, allocations: 4 kB / 1.049 GB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/4.099, allocations: 1.378 MB / 1.05 GB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/4.099, allocations: 4.125 kB / 1.051 GB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002855/4.102, allocations: 1.203 MB / 1.052 GB, free: 0.9961 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1782/4.281, allocations: 1.937 MB / 1.054 GB, free: 94.36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003065/4.281, allocations: 115.8 kB / 1.054 GB, free: 94.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003862/4.281, allocations: 0 / 1.054 GB, free: 94.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/4.283, allocations: 22.05 kB / 1.054 GB, free: 94.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/4.283, allocations: 26.53 kB / 1.054 GB, free: 94.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.973e-05/4.283, allocations: 20.38 kB / 1.054 GB, free: 94.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.000277/4.283, allocations: 173.1 kB / 1.054 GB, free: 94.19 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002624/4.286, allocations: 248.7 kB / 1.054 GB, free: 94.19 MB / 346.7 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.002556/4.289, allocations: 0.5202 MB / 1.055 GB, free: 94.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001843/4.29, allocations: 0.6449 MB / 1.055 GB, free: 94 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/4.291, allocations: 0 / 1.055 GB, free: 94 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009794/4.292, allocations: 394.4 kB / 1.056 GB, free: 94 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/4.294, allocations: 183.5 kB / 1.056 GB, free: 94 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/4.296, allocations: 0.9317 MB / 1.057 GB, free: 93.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005258/4.297, allocations: 0.9049 MB / 1.058 GB, free: 93.1 MB / 346.7 MB Notification: Performance of SimCode: time 1.593e-06/4.297, allocations: 0 / 1.058 GB, free: 93.1 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat does not exist to compare? outputFormat=mat