Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",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.716/1.716, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2449/1.961, allocations: 46.83 MB / 249.3 MB, free: 5.324 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09203/2.054, allocations: 44.5 MB / 293.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3183/2.372, allocations: 75.92 MB / 369.8 MB, free: 7.094 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/2.372, allocations: 67 kB / 369.8 MB, free: 7.094 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: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.09026/2.463, allocations: 16.27 MB / 386.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/2.463, allocations: 7.688 kB / 386.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004928/2.463, allocations: 105 kB / 386.2 MB, free: 2.621 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/2.465, allocations: 0.5071 MB / 386.7 MB, free: 2.297 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004338/2.466, allocations: 137 kB / 386.8 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002938/2.466, allocations: 34.12 kB / 386.9 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002191/2.468, allocations: 467.4 kB / 387.3 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/2.47, allocations: 0.7004 MB / 388 MB, free: 1.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.133e-05/2.471, allocations: 0 / 388 MB, free: 1.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/2.471, allocations: 4 kB / 388 MB, free: 1.766 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/2.471, allocations: 15.12 kB / 388 MB, free: 1.766 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007502/2.478, allocations: 1.945 MB / 390 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003172/2.481, allocations: 0.841 MB / 390.8 MB, free: 16.45 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/2.483, allocations: 311.9 kB / 391.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/2.483, allocations: 23.5 kB / 391.2 MB, free: 16.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.706e-05/2.483, allocations: 42.56 kB / 391.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 5.701e-06/2.483, allocations: 0 / 391.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.005201/2.488, allocations: 0.8334 MB / 392 MB, free: 16.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005723/2.489, allocations: 0.8222 MB / 392.9 MB, free: 15.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/2.49, allocations: 458.5 kB / 393.3 MB, free: 15 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002773/2.491, allocations: 29.58 kB / 393.3 MB, free: 14.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000229/2.491, allocations: 216.2 kB / 393.5 MB, free: 14.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000382/2.491, allocations: 254.5 kB / 393.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.517e-05/2.491, allocations: 0 / 393.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003063/2.492, allocations: 384.4 kB / 394.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009238/2.493, allocations: 197.1 kB / 394.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/2.494, allocations: 459.9 kB / 394.8 MB, free: 14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009533/2.495, allocations: 246.7 kB / 395.1 MB, free: 13.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/2.495, allocations: 0 / 395.1 MB, free: 13.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.005199/2.5, allocations: 0.8901 MB / 395.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/2.5, allocations: 5.344 kB / 395.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/2.5, allocations: 5.25 kB / 396 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001539/2.502, allocations: 214.3 kB / 396.2 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/2.504, allocations: 136 kB / 396.3 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01547/2.519, allocations: 5.969 MB / 402.3 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/2.521, allocations: 84.27 kB / 402.3 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/2.521, allocations: 23.16 kB / 402.4 MB, free: 8.387 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 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 (70): * Single equations (assignments): 63 * 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 {1 5,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005177/2.522, allocations: 134.5 kB / 402.5 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003675/2.522, allocations: 76.53 kB / 402.6 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004105/2.523, allocations: 80.14 kB / 402.7 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/2.523, allocations: 7.844 kB / 402.7 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/2.523, allocations: 0 / 402.7 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005337/2.528, allocations: 1.126 MB / 403.8 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008447/2.537, allocations: 1.724 MB / 405.5 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/2.537, allocations: 0 / 405.5 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002049/2.539, allocations: 133.4 kB / 405.6 MB, free: 6.777 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001209/2.54, allocations: 166.2 kB / 405.8 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001639/2.54, allocations: 12.12 kB / 405.8 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.014/2.554, allocations: 4.631 MB / 410.4 MB, free: 2.762 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/2.554, allocations: 5.516 kB / 410.5 MB, free: 2.758 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006721/2.561, allocations: 1.245 MB / 411.7 MB, free: 2.363 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01039/2.571, allocations: 2.511 MB / 414.2 MB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000538/2.572, allocations: 162.1 kB / 414.4 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003385/2.572, allocations: 7.281 kB / 414.4 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/2.574, allocations: 34.03 kB / 414.4 MB, free: 1.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002605/2.574, allocations: 37.53 kB / 414.4 MB, free: 1.414 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/2.574, allocations: 20.28 kB / 414.5 MB, free: 1.414 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.001072/2.576, allocations: 350.8 kB / 414.8 MB, free: 1.305 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003987/2.58, allocations: 267.1 kB / 415.1 MB, free: 1.273 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0005614/2.58, allocations: 113.3 kB / 415.2 MB, free: 1.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004044/2.584, allocations: 1.058 MB / 416.2 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.747e-05/2.584, allocations: 7.469 kB / 416.2 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002952/2.587, allocations: 0.6483 MB / 416.9 MB, free: 272 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/2.59, allocations: 167.1 kB / 417.1 MB, free: 220 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006679/2.596, allocations: 1.236 MB / 418.3 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001613/2.598, allocations: 1.033 MB / 419.3 MB, free: 14.23 MB / 330.7 MB Notification: Performance of SimCode: time 1.754e-06/2.598, allocations: 0 / 419.3 MB, free: 14.23 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat does not exist to compare? outputFormat=mat