Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_ReferenceAir_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.757/1.757, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2125/1.97, allocations: 46.82 MB / 249.4 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09023/2.06, allocations: 44.52 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.72/16.78, allocations: 6.61 GB / 6.898 GB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/16.78, allocations: 71.78 kB / 6.898 GB, free: 10.86 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 1.251/18.03, allocations: 190.8 MB / 7.084 GB, free: 47.12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/18.03, allocations: 10.09 kB / 7.084 GB, free: 47.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002245/18.03, allocations: 22.31 kB / 7.084 GB, free: 47.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/18.03, allocations: 217.4 kB / 7.084 GB, free: 46.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/18.03, allocations: 12.52 kB / 7.084 GB, free: 46.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.131e-05/18.03, allocations: 16.41 kB / 7.084 GB, free: 46.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006367/18.03, allocations: 209.4 kB / 7.084 GB, free: 46.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000547/18.03, allocations: 223.6 kB / 7.085 GB, free: 46.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/18.03, allocations: 7.469 kB / 7.085 GB, free: 46.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.654e-05/18.03, allocations: 2.078 kB / 7.085 GB, free: 46.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/18.03, allocations: 6.438 kB / 7.085 GB, free: 46.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/18.04, allocations: 0.6403 MB / 7.085 GB, free: 46.51 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004979/18.04, allocations: 262 kB / 7.086 GB, free: 46.37 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/18.04, allocations: 115.4 kB / 7.086 GB, free: 46.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01816/18.05, allocations: 10.1 MB / 7.095 GB, free: 36.22 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/18.05, allocations: 39.66 kB / 7.096 GB, free: 36.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 3.707e-06/18.05, allocations: 0 / 7.096 GB, free: 36.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.003375/18.06, allocations: 0.4915 MB / 7.096 GB, free: 36.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/18.06, allocations: 83.14 kB / 7.096 GB, free: 36.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/18.06, allocations: 118.2 kB / 7.096 GB, free: 35.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/18.06, allocations: 25.7 kB / 7.096 GB, free: 35.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.634e-05/18.06, allocations: 107.3 kB / 7.096 GB, free: 35.81 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/18.06, allocations: 122.6 kB / 7.096 GB, free: 35.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/18.06, allocations: 0 / 7.096 GB, free: 35.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.334e-05/18.06, allocations: 328.9 kB / 7.097 GB, free: 35.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/18.06, allocations: 101.7 kB / 7.097 GB, free: 35.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/18.06, allocations: 177.8 kB / 7.097 GB, free: 35.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/18.06, allocations: 141 kB / 7.097 GB, free: 35.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/18.06, allocations: 3.469 kB / 7.097 GB, free: 35.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001317/18.06, allocations: 353.1 kB / 7.097 GB, free: 35.31 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/18.06, allocations: 7.625 kB / 7.098 GB, free: 35.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/18.06, allocations: 3.906 kB / 7.098 GB, free: 35.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/18.06, allocations: 2.594 kB / 7.098 GB, free: 35.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/18.06, allocations: 97.11 kB / 7.098 GB, free: 35.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/18.06, allocations: 6.562 kB / 7.098 GB, free: 35.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006952/18.06, allocations: 23.53 kB / 7.098 GB, free: 35.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.915e-05/18.06, allocations: 16.72 kB / 7.098 GB, free: 35.3 MB / 394.7 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.0001489/18.06, allocations: 115.3 kB / 7.098 GB, free: 35.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/18.06, allocations: 20.39 kB / 7.098 GB, free: 35.19 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009139/18.06, allocations: 205.8 kB / 7.098 GB, free: 35.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/18.06, allocations: 3.719 kB / 7.098 GB, free: 35.14 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/18.06, allocations: 0 / 7.098 GB, free: 35.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/18.06, allocations: 5.297 kB / 7.098 GB, free: 35.14 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/18.07, allocations: 0.8637 MB / 7.099 GB, free: 34.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/18.07, allocations: 11.81 kB / 7.099 GB, free: 34.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000965/18.07, allocations: 85.72 kB / 7.099 GB, free: 34.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/18.07, allocations: 7.125 kB / 7.099 GB, free: 34.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-05/18.07, allocations: 3.938 kB / 7.099 GB, free: 34.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/18.07, allocations: 3.969 kB / 7.099 GB, free: 34.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/18.07, allocations: 3.938 kB / 7.099 GB, free: 34.73 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00164/18.07, allocations: 0.7223 MB / 7.1 GB, free: 34.37 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002326/18.07, allocations: 1.298 MB / 7.101 GB, free: 33.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002363/18.07, allocations: 127 kB / 7.101 GB, free: 33.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.059e-05/18.07, allocations: 5.312 kB / 7.101 GB, free: 33.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007766/18.07, allocations: 18.02 kB / 7.101 GB, free: 33.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/18.07, allocations: 23.92 kB / 7.101 GB, free: 33.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.457e-05/18.07, allocations: 19.12 kB / 7.101 GB, free: 33.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.208e-05/18.07, allocations: 93.44 kB / 7.101 GB, free: 33.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0072/18.08, allocations: 1.222 MB / 7.102 GB, free: 33.33 MB / 394.7 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 (39): * Single equations (assignments): 39 * 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.01183/18.09, allocations: 1.737 MB / 7.104 GB, free: 33.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009144/18.09, allocations: 281.6 kB / 7.104 GB, free: 33.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/18.09, allocations: 3.969 kB / 7.104 GB, free: 33.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003768/18.09, allocations: 153 kB / 7.104 GB, free: 33.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/18.09, allocations: 82.25 kB / 7.105 GB, free: 33.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/18.1, allocations: 440.3 kB / 7.105 GB, free: 32.94 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008096/18.1, allocations: 0.7971 MB / 7.106 GB, free: 48.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.443e-06/18.1, allocations: 0 / 7.106 GB, free: 48.23 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat