Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_ReferenceAir_DryAir1",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(Modelica): time 1.771/1.771, allocations: 194.9 MB / 202.6 MB, free: 6.891 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.253/2.024, allocations: 46.82 MB / 249.4 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09147/2.116, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.66/3.776, allocations: 0.6353 GB / 0.9223 GB, free: 90.36 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/3.776, allocations: 75.91 kB / 0.9224 GB, free: 90.36 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.524/5.3, allocations: 462.2 MB / 1.374 GB, free: 1.109 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/5.3, allocations: 12 kB / 1.374 GB, free: 1.098 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007455/5.301, allocations: 55.59 kB / 1.374 GB, free: 1.043 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004898/5.302, allocations: 282.3 kB / 1.374 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/5.302, allocations: 8 kB / 1.374 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/5.302, allocations: 18.95 kB / 1.374 GB, free: 0.707 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005258/5.302, allocations: 177.3 kB / 1.374 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006375/5.303, allocations: 290.3 kB / 1.375 GB, free: 216 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/5.303, allocations: 3.938 kB / 1.375 GB, free: 212 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.088e-05/5.303, allocations: 7.906 kB / 1.375 GB, free: 204 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/5.303, allocations: 4 kB / 1.375 GB, free: 200 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.159/5.462, allocations: 5.483 MB / 1.38 GB, free: 127.4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/5.463, allocations: 114.8 kB / 1.38 GB, free: 127.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/5.463, allocations: 75.61 kB / 1.38 GB, free: 127.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01638/5.479, allocations: 3.524 MB / 1.384 GB, free: 125.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/5.479, allocations: 38.41 kB / 1.384 GB, free: 125.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 4.649e-06/5.479, allocations: 0 / 1.384 GB, free: 125.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.004297/5.484, allocations: 0.8822 MB / 1.384 GB, free: 125.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/5.484, allocations: 51.41 kB / 1.385 GB, free: 125.4 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/5.484, allocations: 200.9 kB / 1.385 GB, free: 125.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/5.484, allocations: 25.7 kB / 1.385 GB, free: 125.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.862e-05/5.484, allocations: 177.5 kB / 1.385 GB, free: 125.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.42e-05/5.484, allocations: 88.14 kB / 1.385 GB, free: 125.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.259e-05/5.484, allocations: 3.031 kB / 1.385 GB, free: 125.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.715e-05/5.484, allocations: 336.2 kB / 1.385 GB, free: 124.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/5.485, allocations: 82.53 kB / 1.385 GB, free: 124.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/5.485, allocations: 172 kB / 1.386 GB, free: 124.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008985/5.486, allocations: 157.7 kB / 1.386 GB, free: 124.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/5.486, allocations: 0 / 1.386 GB, free: 124.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001733/5.488, allocations: 399.5 kB / 1.386 GB, free: 124.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/5.488, allocations: 7.688 kB / 1.386 GB, free: 124.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/5.488, allocations: 0 / 1.386 GB, free: 124.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004387/5.488, allocations: 74.39 kB / 1.386 GB, free: 124.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005678/5.489, allocations: 65.69 kB / 1.386 GB, free: 124.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/5.491, allocations: 1.86 MB / 1.388 GB, free: 122.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000481/5.491, allocations: 16.91 kB / 1.388 GB, free: 122.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/5.491, allocations: 21.16 kB / 1.388 GB, free: 122.9 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.0001377/5.491, allocations: 109.8 kB / 1.388 GB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.841e-05/5.491, allocations: 26.47 kB / 1.388 GB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/5.493, allocations: 484.9 kB / 1.389 GB, free: 122.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/5.493, allocations: 7.266 kB / 1.389 GB, free: 122.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/5.493, allocations: 0 / 1.389 GB, free: 122.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001247/5.494, allocations: 0.7071 MB / 1.389 GB, free: 122.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/5.497, allocations: 0.8865 MB / 1.39 GB, free: 122 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/5.497, allocations: 0 / 1.39 GB, free: 122 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/5.497, allocations: 55.58 kB / 1.39 GB, free: 122 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004782/5.498, allocations: 87.17 kB / 1.39 GB, free: 122 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/5.498, allocations: 7.75 kB / 1.39 GB, free: 122 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008802/5.499, allocations: 0.6926 MB / 1.391 GB, free: 121.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/5.499, allocations: 0 / 1.391 GB, free: 121.4 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001723/5.5, allocations: 0.7178 MB / 1.392 GB, free: 121.2 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002253/5.503, allocations: 1.299 MB / 1.393 GB, free: 120.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/5.503, allocations: 104.5 kB / 1.393 GB, free: 120.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.824e-05/5.503, allocations: 6.031 kB / 1.393 GB, free: 120.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004128/5.503, allocations: 8.016 kB / 1.393 GB, free: 120.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/5.503, allocations: 17.23 kB / 1.393 GB, free: 120.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/5.503, allocations: 14.81 kB / 1.393 GB, free: 120.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001964/5.504, allocations: 153.7 kB / 1.393 GB, free: 120.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002277/5.506, allocations: 224.7 kB / 1.394 GB, free: 120.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.002302/5.508, allocations: 0.5697 MB / 1.394 GB, free: 120.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001183/5.509, allocations: 412.6 kB / 1.394 GB, free: 120.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/5.509, allocations: 0 / 1.394 GB, free: 120.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005718/5.51, allocations: 209.2 kB / 1.395 GB, free: 120.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/5.511, allocations: 120.1 kB / 1.395 GB, free: 120.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/5.513, allocations: 0.5471 MB / 1.395 GB, free: 120.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004153/5.513, allocations: 0.8227 MB / 1.396 GB, free: 119.4 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/5.513, allocations: 0 / 1.396 GB, free: 119.4 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat