Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_IdealGasH2O",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.506/1.506, allocations: 171.2 MB / 178.1 MB, free: 8.281 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.205/1.711, allocations: 41.09 MB / 219.2 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/1.815, allocations: 38.77 MB / 258 MB, free: 4.355 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.187/3.002, allocations: 431.8 MB / 0.6737 GB, free: 95.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/3.002, allocations: 63.62 kB / 0.6737 GB, free: 95.28 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.09653/3.099, allocations: 24.68 MB / 0.6978 GB, free: 91.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/3.099, allocations: 9.281 kB / 0.6978 GB, free: 91.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/3.111, allocations: 0.5356 MB / 0.6984 GB, free: 91.06 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/3.111, allocations: 168.8 kB / 0.6985 GB, free: 90.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/3.111, allocations: 6.531 kB / 0.6985 GB, free: 90.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/3.111, allocations: 4.125 kB / 0.6985 GB, free: 90.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00092/3.112, allocations: 228.3 kB / 0.6987 GB, free: 90.83 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/3.113, allocations: 106.7 kB / 0.6989 GB, free: 90.78 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/3.113, allocations: 1.062 kB / 0.6989 GB, free: 90.78 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/3.113, allocations: 0 / 0.6989 GB, free: 90.78 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/3.113, allocations: 2.062 kB / 0.6989 GB, free: 90.78 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/3.114, allocations: 404.3 kB / 0.6992 GB, free: 90.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/3.116, allocations: 160.8 kB / 0.6994 GB, free: 90.4 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/3.116, allocations: 61.56 kB / 0.6995 GB, free: 90.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.324e-05/3.116, allocations: 5.062 kB / 0.6995 GB, free: 90.38 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/3.116, allocations: 32.72 kB / 0.6995 GB, free: 90.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/3.116, allocations: 0 / 0.6995 GB, free: 90.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.002046/3.118, allocations: 286.6 kB / 0.6998 GB, free: 90.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/3.118, allocations: 60.72 kB / 0.6998 GB, free: 90.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.885e-05/3.118, allocations: 96.33 kB / 0.6999 GB, free: 90.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/3.118, allocations: 26.8 kB / 0.6999 GB, free: 90.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/3.118, allocations: 96.52 kB / 0.7 GB, free: 89.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.207e-05/3.118, allocations: 53.36 kB / 0.7001 GB, free: 89.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/3.118, allocations: 0 / 0.7001 GB, free: 89.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.75e-05/3.118, allocations: 321.2 kB / 0.7004 GB, free: 89.61 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/3.119, allocations: 50.22 kB / 0.7004 GB, free: 89.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/3.119, allocations: 105.2 kB / 0.7005 GB, free: 89.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/3.119, allocations: 65.53 kB / 0.7006 GB, free: 89.53 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/3.119, allocations: 0 / 0.7006 GB, free: 89.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005403/3.12, allocations: 189.1 kB / 0.7008 GB, free: 89.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/3.12, allocations: 10.38 kB / 0.7008 GB, free: 89.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/3.12, allocations: 4 kB / 0.7008 GB, free: 89.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/3.12, allocations: 0 / 0.7008 GB, free: 89.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007192/3.12, allocations: 47.95 kB / 0.7008 GB, free: 89.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/3.12, allocations: 11.92 kB / 0.7008 GB, free: 89.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004855/3.121, allocations: 19.89 kB / 0.7009 GB, free: 89.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.812e-05/3.121, allocations: 11.98 kB / 0.7009 GB, free: 89.28 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001075/3.121, allocations: 112.8 kB / 0.701 GB, free: 89.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/3.121, allocations: 7.906 kB / 0.701 GB, free: 89.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009565/3.122, allocations: 239.2 kB / 0.7012 GB, free: 88.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/3.122, allocations: 4 kB / 0.7012 GB, free: 88.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/3.122, allocations: 0 / 0.7012 GB, free: 88.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/3.122, allocations: 0 / 0.7012 GB, free: 88.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/3.124, allocations: 0.5 MB / 0.7017 GB, free: 88.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/3.124, allocations: 0 / 0.7017 GB, free: 88.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006621/3.124, allocations: 47.86 kB / 0.7018 GB, free: 88.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/3.124, allocations: 0 / 0.7018 GB, free: 88.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/3.124, allocations: 11.92 kB / 0.7018 GB, free: 88.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/3.124, allocations: 0 / 0.7018 GB, free: 88.42 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/3.124, allocations: 8.062 kB / 0.7018 GB, free: 88.41 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005141/3.125, allocations: 295.5 kB / 0.7021 GB, free: 88.14 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006788/3.126, allocations: 0.693 MB / 0.7027 GB, free: 87.47 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/3.126, allocations: 85.02 kB / 0.7028 GB, free: 87.37 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.152e-05/3.126, allocations: 0 / 0.7028 GB, free: 87.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005135/3.126, allocations: 15.98 kB / 0.7028 GB, free: 87.35 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/3.126, allocations: 15.28 kB / 0.7028 GB, free: 87.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/3.126, allocations: 8 kB / 0.7029 GB, free: 87.33 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.459e-05/3.126, allocations: 79.28 kB / 0.7029 GB, free: 87.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001556/3.128, allocations: 108.2 kB / 0.703 GB, free: 87.21 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.000964/3.129, allocations: 0.6085 MB / 0.7036 GB, free: 86.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004696/3.129, allocations: 153.3 kB / 0.7038 GB, free: 86.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/3.129, allocations: 4 kB / 0.7038 GB, free: 86.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000212/3.13, allocations: 82.41 kB / 0.7039 GB, free: 86.44 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/3.13, allocations: 27.72 kB / 0.7039 GB, free: 86.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009461/3.131, allocations: 179.6 kB / 0.7041 GB, free: 86.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005223/3.132, allocations: 0.743 MB / 0.7048 GB, free: 85.46 MB / 346.7 MB Notification: Performance of SimCode: time 6.71e-07/3.132, allocations: 3.938 kB / 0.7048 GB, free: 85.45 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat