Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_2_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.612/1.612, allocations: 194.9 MB / 202.5 MB, free: 6.906 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.202/1.814, allocations: 46.82 MB / 249.3 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0873/1.901, allocations: 44.51 MB / 293.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.561/3.463, allocations: 0.6353 GB / 0.9223 GB, free: 90.28 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/3.463, allocations: 73.88 kB / 0.9223 GB, free: 90.28 MB / 394.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.409/4.872, allocations: 462.2 MB / 1.374 GB, free: 1.406 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/4.873, allocations: 8 kB / 1.374 GB, free: 1.398 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006471/4.873, allocations: 59.59 kB / 1.374 GB, free: 1.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004651/4.874, allocations: 287.2 kB / 1.374 GB, free: 1.023 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/4.874, allocations: 8 kB / 1.374 GB, free: 1.016 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-05/4.874, allocations: 18.95 kB / 1.374 GB, free: 1 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004912/4.874, allocations: 173.3 kB / 1.374 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005693/4.875, allocations: 290.3 kB / 1.375 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/4.875, allocations: 0 / 1.375 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.565e-05/4.875, allocations: 7.906 kB / 1.375 GB, free: 0.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/4.875, allocations: 8 kB / 1.375 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1492/5.024, allocations: 5.475 MB / 1.38 GB, free: 126.4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/5.024, allocations: 119 kB / 1.38 GB, free: 126.4 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/5.025, allocations: 82.61 kB / 1.38 GB, free: 126.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01454/5.039, allocations: 3.518 MB / 1.384 GB, free: 124.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/5.039, allocations: 39.78 kB / 1.384 GB, free: 124.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 2.805e-06/5.039, allocations: 0 / 1.384 GB, free: 124.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.003874/5.043, allocations: 0.8722 MB / 1.384 GB, free: 124.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/5.043, allocations: 55.31 kB / 1.384 GB, free: 124.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/5.044, allocations: 196.3 kB / 1.385 GB, free: 124.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/5.044, allocations: 29.61 kB / 1.385 GB, free: 124.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.373e-05/5.044, allocations: 177.8 kB / 1.385 GB, free: 124.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.281e-05/5.044, allocations: 90.88 kB / 1.385 GB, free: 124.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/5.044, allocations: 2.25 kB / 1.385 GB, free: 124.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.255e-05/5.044, allocations: 332.3 kB / 1.385 GB, free: 123.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/5.044, allocations: 81.75 kB / 1.385 GB, free: 123.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/5.044, allocations: 173.9 kB / 1.385 GB, free: 123.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008023/5.045, allocations: 158.1 kB / 1.386 GB, free: 123.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/5.045, allocations: 0 / 1.386 GB, free: 123.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001503/5.047, allocations: 405.2 kB / 1.386 GB, free: 123.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/5.047, allocations: 9.562 kB / 1.386 GB, free: 123.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/5.047, allocations: 3.938 kB / 1.386 GB, free: 123.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003852/5.047, allocations: 71.09 kB / 1.386 GB, free: 123.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004815/5.048, allocations: 59.67 kB / 1.386 GB, free: 123.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/5.049, allocations: 1.858 MB / 1.388 GB, free: 122 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004246/5.05, allocations: 19.06 kB / 1.388 GB, free: 122 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.405e-05/5.05, allocations: 14.75 kB / 1.388 GB, free: 122 MB / 394.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.0001266/5.05, allocations: 110.6 kB / 1.388 GB, free: 121.9 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.56e-05/5.05, allocations: 23.22 kB / 1.388 GB, free: 121.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/5.052, allocations: 488.8 kB / 1.389 GB, free: 121.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/5.052, allocations: 6.969 kB / 1.389 GB, free: 121.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/5.052, allocations: 0 / 1.389 GB, free: 121.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001123/5.053, allocations: 0.7121 MB / 1.389 GB, free: 121.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/5.055, allocations: 0.8933 MB / 1.39 GB, free: 121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/5.055, allocations: 0 / 1.39 GB, free: 121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/5.055, allocations: 42.33 kB / 1.39 GB, free: 121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000429/5.056, allocations: 100.9 kB / 1.39 GB, free: 121 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/5.056, allocations: 3.938 kB / 1.39 GB, free: 121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007866/5.057, allocations: 0.6914 MB / 1.391 GB, free: 120.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/5.057, allocations: 3.969 kB / 1.391 GB, free: 120.5 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001579/5.058, allocations: 0.7139 MB / 1.392 GB, free: 120.3 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002047/5.06, allocations: 1.295 MB / 1.393 GB, free: 119.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/5.06, allocations: 106.2 kB / 1.393 GB, free: 119.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.835e-05/5.06, allocations: 6.688 kB / 1.393 GB, free: 119.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/5.061, allocations: 12.53 kB / 1.393 GB, free: 119.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/5.061, allocations: 8.344 kB / 1.393 GB, free: 119.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/5.061, allocations: 17.61 kB / 1.393 GB, free: 119.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001819/5.061, allocations: 151.1 kB / 1.393 GB, free: 119.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002094/5.063, allocations: 231.8 kB / 1.393 GB, free: 119.5 MB / 394.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.002093/5.065, allocations: 0.5627 MB / 1.394 GB, free: 119.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001094/5.066, allocations: 415.7 kB / 1.394 GB, free: 119.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/5.066, allocations: 0 / 1.394 GB, free: 119.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000511/5.067, allocations: 211.2 kB / 1.395 GB, free: 119.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/5.068, allocations: 118.1 kB / 1.395 GB, free: 119.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/5.07, allocations: 0.5537 MB / 1.395 GB, free: 119.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004062/5.07, allocations: 0.8206 MB / 1.396 GB, free: 118.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/5.07, allocations: 3.188 kB / 1.396 GB, free: 118.5 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat