Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",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 2.808/2.808, allocations: 194.9 MB / 202.6 MB, free: 6.91 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3065/3.115, allocations: 46.82 MB / 249.4 MB, free: 5.328 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/3.234, allocations: 44.51 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4421/3.676, allocations: 76.43 MB / 370.3 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004167/3.677, allocations: 72.34 kB / 370.4 MB, free: 7.145 MB / 298.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.1364/3.813, allocations: 16.49 MB / 386.9 MB, free: 2.496 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/3.813, allocations: 11.69 kB / 386.9 MB, free: 2.492 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006622/3.814, allocations: 100.2 kB / 387 MB, free: 2.449 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002605/3.817, allocations: 0.5275 MB / 387.5 MB, free: 2.121 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005801/3.817, allocations: 124.6 kB / 387.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003605/3.818, allocations: 42.09 kB / 387.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002997/3.821, allocations: 467.3 kB / 388.2 MB, free: 1.984 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003078/3.824, allocations: 0.689 MB / 388.8 MB, free: 1.586 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.957e-05/3.824, allocations: 3.875 kB / 388.8 MB, free: 1.586 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002319/3.824, allocations: 0 / 388.8 MB, free: 1.586 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/3.824, allocations: 11.38 kB / 388.9 MB, free: 1.586 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/3.835, allocations: 1.964 MB / 390.8 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/3.837, allocations: 433.5 kB / 391.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001897/3.839, allocations: 351.7 kB / 391.6 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/3.84, allocations: 12.41 kB / 391.6 MB, free: 0.543 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.396e-05/3.84, allocations: 53.62 kB / 391.7 MB, free: 0.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=74): time 7.023e-06/3.84, allocations: 0 / 391.7 MB, free: 0.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.007309/3.847, allocations: 0.8495 MB / 392.5 MB, free: 272 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006545/3.848, allocations: 0.8262 MB / 393.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/3.85, allocations: 470.2 kB / 393.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000363/3.85, allocations: 29.69 kB / 393.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003928/3.851, allocations: 222.5 kB / 394 MB, free: 14.92 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006919/3.851, allocations: 244.2 kB / 394.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/3.852, allocations: 3.875 kB / 394.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003947/3.852, allocations: 384 kB / 394.7 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/3.853, allocations: 202.5 kB / 394.8 MB, free: 14.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/3.855, allocations: 460.3 kB / 395.3 MB, free: 14.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/3.857, allocations: 250.2 kB / 395.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.678e-05/3.857, allocations: 0 / 395.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.007978/3.865, allocations: 0.9019 MB / 396.4 MB, free: 13.83 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/3.865, allocations: 5.188 kB / 396.5 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/3.865, allocations: 0 / 396.5 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/3.867, allocations: 205.8 kB / 396.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002701/3.87, allocations: 153.1 kB / 396.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02168/3.892, allocations: 6.058 MB / 402.9 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/3.895, allocations: 103.3 kB / 403 MB, free: 8.449 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000368/3.895, allocations: 19.91 kB / 403 MB, free: 8.449 MB / 314.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 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.0007602/3.896, allocations: 131.8 kB / 403.1 MB, free: 8.328 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005738/3.896, allocations: 85.62 kB / 403.2 MB, free: 8.285 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005451/3.897, allocations: 82.86 kB / 403.3 MB, free: 8.258 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.53e-05/3.897, allocations: 8.25 kB / 403.3 MB, free: 8.258 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/3.897, allocations: 0 / 403.3 MB, free: 8.258 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007494/3.905, allocations: 1.132 MB / 404.4 MB, free: 7.582 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/3.917, allocations: 1.741 MB / 406.2 MB, free: 6.875 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.15e-05/3.917, allocations: 0 / 406.2 MB, free: 6.875 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003229/3.92, allocations: 166.8 kB / 406.3 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/3.922, allocations: 154.2 kB / 406.5 MB, free: 6.785 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002832/3.922, allocations: 10.14 kB / 406.5 MB, free: 6.781 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0143/3.936, allocations: 4.62 MB / 411.1 MB, free: 2.832 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.137e-05/3.936, allocations: 3.984 kB / 411.1 MB, free: 2.828 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006432/3.943, allocations: 1.233 MB / 412.3 MB, free: 2.496 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01059/3.953, allocations: 2.556 MB / 414.9 MB, free: 1.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004852/3.954, allocations: 159.1 kB / 415 MB, free: 1.625 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003744/3.954, allocations: 3.375 kB / 415 MB, free: 1.625 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001637/3.956, allocations: 54.39 kB / 415.1 MB, free: 1.605 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003732/3.956, allocations: 49.5 kB / 415.1 MB, free: 1.582 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/3.957, allocations: 21.08 kB / 415.2 MB, free: 1.578 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.001037/3.958, allocations: 369.2 kB / 415.5 MB, free: 1.469 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003248/3.961, allocations: 250.9 kB / 415.8 MB, free: 1.449 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.0006501/3.962, allocations: 133 kB / 415.9 MB, free: 1.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00477/3.966, allocations: 1.12 MB / 417 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/3.966, allocations: 0 / 417 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003012/3.97, allocations: 0.6811 MB / 417.7 MB, free: 104 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/3.972, allocations: 172.5 kB / 417.9 MB, free: 15.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006625/3.979, allocations: 1.246 MB / 419.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001649/3.98, allocations: 1.04 MB / 420.2 MB, free: 13.76 MB / 330.7 MB Notification: Performance of SimCode: time 2.114e-06/3.98, allocations: 0 / 420.2 MB, free: 13.76 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat does not exist to compare? outputFormat=mat