Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_ReferenceAir_DryAir1",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.595/1.595, allocations: 171.2 MB / 178.1 MB, free: 8.293 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2286/1.823, allocations: 41.11 MB / 219.2 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09723/1.92, allocations: 38.76 MB / 258 MB, free: 4.371 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.546/3.467, allocations: 0.6303 GB / 0.8823 GB, free: 34.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/3.467, allocations: 71.47 kB / 0.8824 GB, free: 34.44 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 1.897/5.364, allocations: 462.2 MB / 1.334 GB, free: 69.44 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/5.364, allocations: 11.78 kB / 1.334 GB, free: 69.44 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007297/5.365, allocations: 58.53 kB / 1.334 GB, free: 69.42 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004973/5.366, allocations: 284.7 kB / 1.334 GB, free: 69.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/5.366, allocations: 7.844 kB / 1.334 GB, free: 69.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.805e-05/5.366, allocations: 15.66 kB / 1.334 GB, free: 69.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000505/5.366, allocations: 181.5 kB / 1.334 GB, free: 69.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005977/5.367, allocations: 288.9 kB / 1.335 GB, free: 69.08 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/5.367, allocations: 4 kB / 1.335 GB, free: 69.08 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/5.367, allocations: 3.516 kB / 1.335 GB, free: 69.08 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/5.367, allocations: 7.688 kB / 1.335 GB, free: 69.08 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01827/5.385, allocations: 5.484 MB / 1.34 GB, free: 65.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/5.386, allocations: 108.5 kB / 1.34 GB, free: 65.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/5.386, allocations: 81.31 kB / 1.34 GB, free: 65.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01658/5.403, allocations: 3.524 MB / 1.344 GB, free: 64.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/5.403, allocations: 38.06 kB / 1.344 GB, free: 64.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 3.777e-06/5.403, allocations: 3 kB / 1.344 GB, free: 64.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.004039/5.407, allocations: 0.8836 MB / 1.344 GB, free: 63.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/5.407, allocations: 56.09 kB / 1.344 GB, free: 63.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/5.407, allocations: 200.4 kB / 1.345 GB, free: 63.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/5.407, allocations: 25.7 kB / 1.345 GB, free: 63.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.524e-05/5.407, allocations: 175.4 kB / 1.345 GB, free: 63.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.369e-05/5.407, allocations: 93.38 kB / 1.345 GB, free: 63.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/5.407, allocations: 0 / 1.345 GB, free: 63.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.702e-05/5.407, allocations: 333.1 kB / 1.345 GB, free: 63.08 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/5.408, allocations: 83.38 kB / 1.345 GB, free: 63.08 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/5.408, allocations: 178.1 kB / 1.345 GB, free: 62.97 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008205/5.409, allocations: 156.5 kB / 1.346 GB, free: 62.96 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/5.409, allocations: 0 / 1.346 GB, free: 62.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001589/5.41, allocations: 399.8 kB / 1.346 GB, free: 62.89 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/5.41, allocations: 3.469 kB / 1.346 GB, free: 62.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/5.41, allocations: 3.969 kB / 1.346 GB, free: 62.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004163/5.411, allocations: 74.28 kB / 1.346 GB, free: 62.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005049/5.411, allocations: 71.06 kB / 1.346 GB, free: 62.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/5.413, allocations: 1.854 MB / 1.348 GB, free: 61.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004803/5.414, allocations: 18.94 kB / 1.348 GB, free: 61.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/5.414, allocations: 21.14 kB / 1.348 GB, free: 61.15 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001544/5.414, allocations: 113.7 kB / 1.348 GB, free: 61.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.38e-05/5.414, allocations: 25.31 kB / 1.348 GB, free: 61.03 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/5.416, allocations: 483 kB / 1.349 GB, free: 60.96 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/5.416, allocations: 2.688 kB / 1.349 GB, free: 60.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/5.416, allocations: 3.656 kB / 1.349 GB, free: 60.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00122/5.417, allocations: 0.7135 MB / 1.349 GB, free: 60.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/5.419, allocations: 0.8774 MB / 1.35 GB, free: 60.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/5.419, allocations: 1.5 kB / 1.35 GB, free: 60.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003742/5.42, allocations: 48.64 kB / 1.35 GB, free: 60.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004595/5.42, allocations: 91.8 kB / 1.35 GB, free: 60.19 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/5.42, allocations: 7.125 kB / 1.35 GB, free: 60.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000909/5.421, allocations: 0.6914 MB / 1.351 GB, free: 59.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/5.421, allocations: 3.75 kB / 1.351 GB, free: 59.66 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001736/5.423, allocations: 0.7156 MB / 1.352 GB, free: 59.47 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002358/5.425, allocations: 1.304 MB / 1.353 GB, free: 58.9 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/5.426, allocations: 101.3 kB / 1.353 GB, free: 58.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.591e-05/5.426, allocations: 4.578 kB / 1.353 GB, free: 58.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003993/5.426, allocations: 14.28 kB / 1.353 GB, free: 58.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/5.426, allocations: 16.61 kB / 1.353 GB, free: 58.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/5.426, allocations: 10.66 kB / 1.353 GB, free: 58.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002031/5.426, allocations: 155.4 kB / 1.353 GB, free: 58.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002237/5.429, allocations: 224.4 kB / 1.353 GB, free: 58.69 MB / 346.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002295/5.431, allocations: 0.5559 MB / 1.354 GB, free: 58.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001213/5.432, allocations: 407.9 kB / 1.354 GB, free: 58.4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/5.432, allocations: 2.812 kB / 1.354 GB, free: 58.4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006959/5.433, allocations: 212 kB / 1.355 GB, free: 58.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/5.434, allocations: 123.9 kB / 1.355 GB, free: 58.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/5.436, allocations: 0.5376 MB / 1.355 GB, free: 58.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006196/5.437, allocations: 0.8206 MB / 1.356 GB, free: 57.45 MB / 346.7 MB Notification: Performance of SimCode: time 2.084e-06/5.437, allocations: 4 kB / 1.356 GB, free: 57.45 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat