Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",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 2.002/2.002, allocations: 171.2 MB / 178.1 MB, free: 8.277 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1917/2.193, allocations: 41.09 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08954/2.283, allocations: 38.77 MB / 258 MB, free: 4.359 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2774/2.56, allocations: 71.41 MB / 329.4 MB, free: 0.668 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/2.561, allocations: 75.14 kB / 329.5 MB, free: 0.6289 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.08266/2.643, allocations: 16.43 MB / 345.9 MB, free: 2.934 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/2.644, allocations: 8 kB / 345.9 MB, free: 2.926 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006194/2.644, allocations: 102.9 kB / 346 MB, free: 2.824 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/2.647, allocations: 0.5315 MB / 346.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005106/2.647, allocations: 130.4 kB / 346.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00024/2.647, allocations: 32 kB / 346.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00239/2.65, allocations: 469.3 kB / 347.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002472/2.652, allocations: 0.6944 MB / 347.9 MB, free: 1.238 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.209e-05/2.652, allocations: 3.906 kB / 347.9 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/2.653, allocations: 0 / 347.9 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.53e-05/2.653, allocations: 16 kB / 347.9 MB, free: 1.219 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00916/2.662, allocations: 1.947 MB / 349.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/2.664, allocations: 441 kB / 350.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/2.665, allocations: 357.7 kB / 350.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/2.666, allocations: 12.64 kB / 350.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.888e-05/2.666, allocations: 46.72 kB / 350.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=74): time 6.121e-06/2.666, allocations: 0 / 350.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.006026/2.672, allocations: 0.8405 MB / 351.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006323/2.672, allocations: 0.8226 MB / 352.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/2.674, allocations: 475.8 kB / 352.8 MB, free: 13.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002871/2.674, allocations: 29.7 kB / 352.8 MB, free: 13.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/2.675, allocations: 220.8 kB / 353 MB, free: 12.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005276/2.675, allocations: 238 kB / 353.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.891e-05/2.675, allocations: 8 kB / 353.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003549/2.676, allocations: 381.2 kB / 353.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/2.677, allocations: 204.6 kB / 353.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/2.678, allocations: 469.8 kB / 354.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/2.68, allocations: 253.2 kB / 354.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/2.68, allocations: 0 / 354.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.006143/2.686, allocations: 0.8999 MB / 355.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/2.686, allocations: 4 kB / 355.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/2.686, allocations: 4 kB / 355.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/2.688, allocations: 206.3 kB / 355.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002119/2.69, allocations: 151.3 kB / 355.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01836/2.708, allocations: 6.038 MB / 361.9 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/2.71, allocations: 107.5 kB / 362 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/2.71, allocations: 28 kB / 362 MB, free: 4.324 MB / 298.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real pump.h:VARIABLE(unit = "J/kg" protected = true ) "Medium's specific enthalpy" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004702/2.711, allocations: 124.9 kB / 362.1 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003429/2.711, allocations: 83.06 kB / 362.2 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004038/2.712, allocations: 79.34 kB / 362.3 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/2.712, allocations: 8 kB / 362.3 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/2.712, allocations: 0 / 362.3 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01748/2.729, allocations: 1.138 MB / 363.4 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01609/2.745, allocations: 1.722 MB / 365.1 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/2.745, allocations: 0 / 365.1 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00195/2.747, allocations: 159.8 kB / 365.3 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00667/2.754, allocations: 162.5 kB / 365.5 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/2.754, allocations: 3.984 kB / 365.5 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0169/2.771, allocations: 4.615 MB / 370.1 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/2.771, allocations: 128 / 370.1 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006034/2.777, allocations: 1.233 MB / 371.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00776/2.785, allocations: 2.552 MB / 373.9 MB, free: 7.863 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/2.786, allocations: 168 kB / 374 MB, free: 7.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002437/2.786, allocations: 8 kB / 374 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/2.787, allocations: 47.95 kB / 374.1 MB, free: 7.625 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/2.787, allocations: 40.59 kB / 374.1 MB, free: 7.586 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-05/2.787, allocations: 23.98 kB / 374.1 MB, free: 7.562 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0009046/2.788, allocations: 366.9 kB / 374.5 MB, free: 7.207 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002294/2.791, allocations: 247.5 kB / 374.7 MB, free: 6.965 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003482/2.791, allocations: 127.2 kB / 374.9 MB, free: 6.828 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003573/2.795, allocations: 1.117 MB / 376 MB, free: 5.656 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/2.795, allocations: 0 / 376 MB, free: 5.656 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002278/2.797, allocations: 0.6716 MB / 376.6 MB, free: 4.953 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/2.799, allocations: 165.9 kB / 376.8 MB, free: 4.793 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00666/2.805, allocations: 1.299 MB / 378.1 MB, free: 3.465 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001608/2.807, allocations: 1.035 MB / 379.1 MB, free: 2.402 MB / 314.7 MB Notification: Performance of SimCode: time 1.954e-06/2.807, allocations: 3.938 kB / 379.1 MB, free: 2.398 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat does not exist to compare? outputFormat=mat