Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_R134a_R134a2",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.884/1.884, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2435/2.127, allocations: 46.82 MB / 249.4 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09606/2.223, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.5/15.73, allocations: 5.72 GB / 6.007 GB, free: 97.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/15.73, allocations: 74.91 kB / 6.007 GB, free: 97.98 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 6.759/22.49, allocations: 1.267 GB / 7.274 GB, free: 73.18 MB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/22.49, allocations: 7.406 kB / 7.274 GB, free: 73.18 MB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/22.49, allocations: 94.03 kB / 7.274 GB, free: 73.16 MB / 0.6046 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/22.49, allocations: 377.5 kB / 7.274 GB, free: 72.95 MB / 0.6046 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/22.49, allocations: 22 kB / 7.274 GB, free: 72.95 MB / 0.6046 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/22.49, allocations: 36.11 kB / 7.274 GB, free: 72.95 MB / 0.6046 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001369/22.49, allocations: 446.8 kB / 7.275 GB, free: 72.95 MB / 0.6046 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/22.49, allocations: 0.5114 MB / 7.275 GB, free: 72.8 MB / 0.6046 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.171e-05/22.49, allocations: 1.875 kB / 7.275 GB, free: 72.8 MB / 0.6046 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/22.49, allocations: 11.16 kB / 7.275 GB, free: 72.8 MB / 0.6046 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/22.49, allocations: 10.75 kB / 7.275 GB, free: 72.8 MB / 0.6046 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0129/22.51, allocations: 6.495 MB / 7.281 GB, free: 69.87 MB / 0.6046 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000803/22.51, allocations: 235.1 kB / 7.282 GB, free: 69.86 MB / 0.6046 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005151/22.51, allocations: 189.2 kB / 7.282 GB, free: 69.84 MB / 0.6046 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004922/22.51, allocations: 2.444 MB / 7.284 GB, free: 67.78 MB / 0.6046 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/22.51, allocations: 38.38 kB / 7.284 GB, free: 67.74 MB / 0.6046 GB Notification: Performance of pre-optimization done (n=44): time 3.507e-06/22.51, allocations: 6.094 kB / 7.284 GB, free: 67.74 MB / 0.6046 GB Notification: Performance of matching and sorting (n=52): time 0.01378/22.53, allocations: 1.66 MB / 7.286 GB, free: 67.38 MB / 0.6046 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/22.53, allocations: 56.66 kB / 7.286 GB, free: 67.31 MB / 0.6046 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000467/22.53, allocations: 248.5 kB / 7.286 GB, free: 67.21 MB / 0.6046 GB Notification: Performance of collectPreVariables (initialization): time 0.0001189/22.53, allocations: 28.02 kB / 7.286 GB, free: 67.18 MB / 0.6046 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/22.53, allocations: 223.1 kB / 7.286 GB, free: 67.04 MB / 0.6046 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/22.53, allocations: 177.9 kB / 7.287 GB, free: 66.94 MB / 0.6046 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/22.53, allocations: 0 / 7.287 GB, free: 66.94 MB / 0.6046 GB Notification: Performance of setup shared object (initialization): time 0.0001019/22.53, allocations: 342.9 kB / 7.287 GB, free: 66.63 MB / 0.6046 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005557/22.53, allocations: 171.4 kB / 7.287 GB, free: 66.63 MB / 0.6046 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006318/22.53, allocations: 317.3 kB / 7.287 GB, free: 66.47 MB / 0.6046 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003273/22.53, allocations: 325.4 kB / 7.288 GB, free: 66.47 MB / 0.6046 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/22.53, allocations: 0 / 7.288 GB, free: 66.47 MB / 0.6046 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.005782/22.54, allocations: 0.7965 MB / 7.288 GB, free: 66.38 MB / 0.6046 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/22.54, allocations: 3.719 kB / 7.288 GB, free: 66.38 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/22.54, allocations: 9.781 kB / 7.289 GB, free: 66.38 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006475/22.54, allocations: 87.27 kB / 7.289 GB, free: 66.36 MB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/22.54, allocations: 147.7 kB / 7.289 GB, free: 66.36 MB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002789/22.54, allocations: 2.974 MB / 7.292 GB, free: 63.54 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009548/22.54, allocations: 35.64 kB / 7.292 GB, free: 63.54 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/22.54, allocations: 29.95 kB / 7.292 GB, free: 63.54 MB / 0.6046 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002348/22.54, allocations: 125.2 kB / 7.292 GB, free: 63.43 MB / 0.6046 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006614/22.55, allocations: 88.69 kB / 7.292 GB, free: 63.41 MB / 0.6046 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005068/22.55, allocations: 1.189 MB / 7.293 GB, free: 63.29 MB / 0.6046 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.596e-05/22.55, allocations: 11.88 kB / 7.293 GB, free: 63.29 MB / 0.6046 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/22.55, allocations: 0 / 7.293 GB, free: 63.29 MB / 0.6046 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003763/22.55, allocations: 1.13 MB / 7.294 GB, free: 62.91 MB / 0.6046 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005547/22.56, allocations: 1.718 MB / 7.296 GB, free: 62.57 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/22.56, allocations: 0 / 7.296 GB, free: 62.57 MB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009211/22.56, allocations: 99.16 kB / 7.296 GB, free: 62.57 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008367/22.56, allocations: 116.8 kB / 7.296 GB, free: 62.55 MB / 0.6046 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.79e-05/22.56, allocations: 15.42 kB / 7.296 GB, free: 62.55 MB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000977/22.56, allocations: 1.185 MB / 7.297 GB, free: 61.51 MB / 0.6046 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/22.56, allocations: 1.938 kB / 7.297 GB, free: 61.51 MB / 0.6046 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004806/22.57, allocations: 1.309 MB / 7.299 GB, free: 61.27 MB / 0.6046 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006324/22.57, allocations: 2.11 MB / 7.301 GB, free: 60.65 MB / 0.6046 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002737/22.57, allocations: 127 kB / 7.301 GB, free: 60.54 MB / 0.6046 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/22.57, allocations: 7.781 kB / 7.301 GB, free: 60.54 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007012/22.58, allocations: 17.83 kB / 7.301 GB, free: 60.54 MB / 0.6046 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.062e-05/22.58, allocations: 39.33 kB / 7.301 GB, free: 60.53 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-05/22.58, allocations: 20.75 kB / 7.301 GB, free: 60.53 MB / 0.6046 GB Notification: Performance of sort global known variables: time 0.0003266/22.58, allocations: 190.2 kB / 7.301 GB, free: 60.45 MB / 0.6046 GB Notification: Performance of remove unused functions: time 0.02294/22.6, allocations: 1.326 MB / 7.302 GB, free: 60.26 MB / 0.6046 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.4308/23.03, allocations: 45.56 MB / 7.347 GB, free: 36.82 MB / 0.6046 GB Notification: Performance of simCode: created initialization part: time 0.002883/23.03, allocations: 0.7577 MB / 7.347 GB, free: 36.71 MB / 0.6046 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/23.03, allocations: 2.062 kB / 7.347 GB, free: 36.71 MB / 0.6046 GB Notification: Performance of simCode: created simulation system equations: time 0.001304/23.03, allocations: 455 kB / 7.348 GB, free: 36.71 MB / 0.6046 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/23.04, allocations: 196.7 kB / 7.348 GB, free: 36.7 MB / 0.6046 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/23.04, allocations: 1.057 MB / 7.349 GB, free: 36.44 MB / 0.6046 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007666/23.04, allocations: 0.9407 MB / 7.35 GB, free: 35.73 MB / 0.6046 GB Notification: Performance of SimCode: time 1.483e-06/23.04, allocations: 0 / 7.35 GB, free: 35.73 MB / 0.6046 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.R134a.R134a2_res.mat does not exist to compare? outputFormat=mat