Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_2_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.698/1.698, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2223/1.92, allocations: 46.82 MB / 249.3 MB, free: 5.332 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/2.023, allocations: 44.5 MB / 293.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/3.033, allocations: 437.3 MB / 0.714 GB, free: 62.6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/3.034, allocations: 63.03 kB / 0.714 GB, free: 62.57 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.08478/3.119, allocations: 24.69 MB / 0.7381 GB, free: 42.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/3.119, allocations: 8 kB / 0.7381 GB, free: 42.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/3.13, allocations: 0.5369 MB / 0.7387 GB, free: 41.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/3.13, allocations: 167 kB / 0.7388 GB, free: 41.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/3.13, allocations: 0 / 0.7388 GB, free: 41.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/3.13, allocations: 4 kB / 0.7388 GB, free: 41.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007937/3.131, allocations: 229 kB / 0.739 GB, free: 41.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/3.131, allocations: 116.8 kB / 0.7392 GB, free: 41.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/3.131, allocations: 7.906 kB / 0.7392 GB, free: 41.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/3.131, allocations: 0 / 0.7392 GB, free: 41.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/3.131, allocations: 4 kB / 0.7392 GB, free: 41.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/3.133, allocations: 392 kB / 0.7395 GB, free: 40.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/3.134, allocations: 158 kB / 0.7397 GB, free: 40.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/3.134, allocations: 54.2 kB / 0.7397 GB, free: 40.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-05/3.134, allocations: 0 / 0.7397 GB, free: 40.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/3.134, allocations: 34.55 kB / 0.7398 GB, free: 40.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/3.134, allocations: 3.938 kB / 0.7398 GB, free: 40.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001855/3.136, allocations: 294.8 kB / 0.7401 GB, free: 40.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/3.136, allocations: 51.41 kB / 0.7401 GB, free: 40.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.119e-05/3.136, allocations: 92.44 kB / 0.7402 GB, free: 40.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/3.136, allocations: 25.7 kB / 0.7402 GB, free: 40.33 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/3.136, allocations: 99.88 kB / 0.7403 GB, free: 40.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.313e-05/3.137, allocations: 50.14 kB / 0.7404 GB, free: 40.19 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/3.137, allocations: 0 / 0.7404 GB, free: 40.19 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.507e-05/3.137, allocations: 322.2 kB / 0.7407 GB, free: 39.87 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/3.137, allocations: 63.86 kB / 0.7407 GB, free: 39.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/3.137, allocations: 89.53 kB / 0.7408 GB, free: 39.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/3.137, allocations: 60.66 kB / 0.7409 GB, free: 39.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/3.137, allocations: 0 / 0.7409 GB, free: 39.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005532/3.138, allocations: 202.6 kB / 0.7411 GB, free: 39.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/3.138, allocations: 8 kB / 0.7411 GB, free: 39.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/3.138, allocations: 0 / 0.7411 GB, free: 39.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/3.138, allocations: 0 / 0.7411 GB, free: 39.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007129/3.139, allocations: 55.89 kB / 0.7411 GB, free: 39.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/3.139, allocations: 0 / 0.7411 GB, free: 39.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004724/3.139, allocations: 11.98 kB / 0.7411 GB, free: 39.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.406e-05/3.139, allocations: 8.125 kB / 0.7412 GB, free: 39.47 MB / 394.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.0001047/3.14, allocations: 120.6 kB / 0.7413 GB, free: 39.35 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/3.14, allocations: 11.91 kB / 0.7413 GB, free: 39.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/3.141, allocations: 235.2 kB / 0.7415 GB, free: 39.15 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/3.141, allocations: 0 / 0.7415 GB, free: 39.15 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/3.141, allocations: 0 / 0.7415 GB, free: 39.15 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/3.141, allocations: 3.984 kB / 0.7415 GB, free: 39.15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/3.142, allocations: 0.5028 MB / 0.742 GB, free: 38.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/3.142, allocations: 3.938 kB / 0.742 GB, free: 38.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007113/3.143, allocations: 43.91 kB / 0.742 GB, free: 38.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.819e-06/3.143, allocations: 7.984 kB / 0.7421 GB, free: 38.61 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/3.143, allocations: 4.062 kB / 0.7421 GB, free: 38.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/3.143, allocations: 7.938 kB / 0.7421 GB, free: 38.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/3.143, allocations: 0 / 0.7421 GB, free: 38.6 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004925/3.143, allocations: 314.1 kB / 0.7424 GB, free: 38.3 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006003/3.144, allocations: 0.6867 MB / 0.743 GB, free: 37.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.658e-05/3.144, allocations: 88.58 kB / 0.7431 GB, free: 37.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.737e-05/3.144, allocations: 0 / 0.7431 GB, free: 37.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004868/3.145, allocations: 15.98 kB / 0.7431 GB, free: 37.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/3.145, allocations: 7.984 kB / 0.7431 GB, free: 37.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/3.145, allocations: 11.98 kB / 0.7432 GB, free: 37.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.123e-05/3.145, allocations: 86.75 kB / 0.7432 GB, free: 37.42 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001516/3.146, allocations: 104.2 kB / 0.7433 GB, free: 37.38 MB / 394.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.0008484/3.147, allocations: 0.6084 MB / 0.7439 GB, free: 36.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004542/3.148, allocations: 153.5 kB / 0.7441 GB, free: 36.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/3.148, allocations: 3.625 kB / 0.7441 GB, free: 36.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002021/3.148, allocations: 76.48 kB / 0.7442 GB, free: 36.61 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004966/3.148, allocations: 31.97 kB / 0.7442 GB, free: 36.58 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009207/3.149, allocations: 174.9 kB / 0.7444 GB, free: 36.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005177/3.15, allocations: 0.7506 MB / 0.7451 GB, free: 35.62 MB / 394.7 MB Notification: Performance of SimCode: time 1.443e-06/3.15, allocations: 0 / 0.7451 GB, free: 35.62 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat