Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_MoistAir",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.808/1.808, allocations: 194.9 MB / 202.6 MB, free: 14.25 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2406/2.049, allocations: 46.82 MB / 249.4 MB, free: 14.2 MB / 210.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09596/2.145, allocations: 44.5 MB / 293.9 MB, free: 1.609 MB / 242.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.114/10.26, allocations: 3.698 GB / 3.985 GB, free: 71.41 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/10.26, allocations: 67.66 kB / 3.985 GB, free: 71.38 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.2058/10.46, allocations: 48.76 MB / 4.033 GB, free: 27.31 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/10.46, allocations: 8 kB / 4.033 GB, free: 27.3 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/10.46, allocations: 27.78 kB / 4.033 GB, free: 27.27 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/10.47, allocations: 202.9 kB / 4.033 GB, free: 27.04 MB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/10.47, allocations: 4 kB / 4.033 GB, free: 27.03 MB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.215e-05/10.47, allocations: 19.94 kB / 4.033 GB, free: 27.01 MB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006417/10.47, allocations: 212.5 kB / 4.033 GB, free: 26.8 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005517/10.47, allocations: 221.2 kB / 4.034 GB, free: 26.58 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/10.47, allocations: 4 kB / 4.034 GB, free: 26.57 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/10.47, allocations: 0 / 4.034 GB, free: 26.57 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/10.47, allocations: 4 kB / 4.034 GB, free: 26.57 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/10.47, allocations: 0.6441 MB / 4.034 GB, free: 25.87 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005991/10.47, allocations: 189.2 kB / 4.034 GB, free: 25.67 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/10.47, allocations: 109.7 kB / 4.035 GB, free: 25.55 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003995/10.47, allocations: 356.4 kB / 4.035 GB, free: 25.13 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/10.47, allocations: 38.56 kB / 4.035 GB, free: 25.09 MB / 402.8 MB Notification: Performance of pre-optimization done (n=29): time 2.224e-06/10.47, allocations: 0 / 4.035 GB, free: 25.09 MB / 402.8 MB Notification: Performance of matching and sorting (n=36): time 0.002979/10.47, allocations: 0.4923 MB / 4.035 GB, free: 24.59 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/10.47, allocations: 81.3 kB / 4.036 GB, free: 24.49 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.947e-05/10.47, allocations: 117.1 kB / 4.036 GB, free: 24.37 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/10.47, allocations: 29.64 kB / 4.036 GB, free: 24.33 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/10.47, allocations: 104.6 kB / 4.036 GB, free: 24.23 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/10.47, allocations: 118.2 kB / 4.036 GB, free: 24.11 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/10.47, allocations: 0 / 4.036 GB, free: 24.11 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 6.367e-05/10.47, allocations: 334.8 kB / 4.036 GB, free: 23.77 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003255/10.47, allocations: 107.9 kB / 4.036 GB, free: 23.67 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/10.47, allocations: 175.8 kB / 4.036 GB, free: 23.47 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005374/10.48, allocations: 140.8 kB / 4.037 GB, free: 23.33 MB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/10.48, allocations: 0 / 4.037 GB, free: 23.33 MB / 402.8 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001142/10.48, allocations: 352.4 kB / 4.037 GB, free: 22.98 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/10.48, allocations: 4 kB / 4.037 GB, free: 22.98 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/10.48, allocations: 4.219 kB / 4.037 GB, free: 22.98 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/10.48, allocations: 4 kB / 4.037 GB, free: 22.97 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/10.48, allocations: 95.81 kB / 4.037 GB, free: 22.88 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/10.48, allocations: 15.89 kB / 4.037 GB, free: 22.86 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006881/10.48, allocations: 15.98 kB / 4.037 GB, free: 22.85 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.327e-05/10.48, allocations: 15.98 kB / 4.037 GB, free: 22.83 MB / 402.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001278/10.48, allocations: 124.5 kB / 4.037 GB, free: 22.7 MB / 402.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.444e-05/10.48, allocations: 15.81 kB / 4.037 GB, free: 22.69 MB / 402.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008611/10.48, allocations: 186.7 kB / 4.037 GB, free: 22.5 MB / 402.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/10.48, allocations: 4 kB / 4.037 GB, free: 22.49 MB / 402.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/10.48, allocations: 0 / 4.037 GB, free: 22.49 MB / 402.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/10.48, allocations: 3.984 kB / 4.037 GB, free: 22.49 MB / 402.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/10.48, allocations: 0.6434 MB / 4.038 GB, free: 21.79 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/10.48, allocations: 11.89 kB / 4.038 GB, free: 21.77 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009757/10.48, allocations: 71.89 kB / 4.038 GB, free: 21.7 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/10.48, allocations: 4 kB / 4.038 GB, free: 21.7 MB / 402.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.162e-05/10.48, allocations: 11.98 kB / 4.038 GB, free: 21.69 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/10.48, allocations: 4 kB / 4.038 GB, free: 21.68 MB / 402.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/10.48, allocations: 4.156 kB / 4.038 GB, free: 21.68 MB / 402.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001424/10.48, allocations: 0.7122 MB / 4.039 GB, free: 20.9 MB / 402.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001977/10.49, allocations: 1.255 MB / 4.04 GB, free: 19.57 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/10.49, allocations: 116.9 kB / 4.04 GB, free: 19.44 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.091e-05/10.49, allocations: 4 kB / 4.04 GB, free: 19.44 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007693/10.49, allocations: 15.97 kB / 4.04 GB, free: 19.42 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/10.49, allocations: 15.89 kB / 4.04 GB, free: 19.41 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-05/10.49, allocations: 24.05 kB / 4.04 GB, free: 19.38 MB / 402.8 MB Notification: Performance of sort global known variables: time 6.618e-05/10.49, allocations: 95.58 kB / 4.04 GB, free: 19.29 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.002281/10.49, allocations: 223.9 kB / 4.041 GB, free: 19.07 MB / 402.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001535/10.49, allocations: 0.7516 MB / 4.041 GB, free: 18.3 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.0008447/10.49, allocations: 271.8 kB / 4.042 GB, free: 18.04 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/10.49, allocations: 448 / 4.042 GB, free: 18.04 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003879/10.49, allocations: 151.8 kB / 4.042 GB, free: 17.89 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/10.49, allocations: 85.03 kB / 4.042 GB, free: 17.81 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/10.5, allocations: 459 kB / 4.042 GB, free: 17.32 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005536/10.5, allocations: 0.7912 MB / 4.043 GB, free: 16.5 MB / 402.8 MB Notification: Performance of SimCode: time 8.82e-07/10.5, allocations: 4 kB / 4.043 GB, free: 16.5 MB / 402.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.MoistAir_res.mat does not exist to compare? outputFormat=mat