Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",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.921/1.921, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2864/2.207, allocations: 46.83 MB / 249.3 MB, free: 5.367 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08889/2.296, allocations: 44.5 MB / 293.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3238/2.62, allocations: 77.38 MB / 371.2 MB, free: 7.117 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/2.62, allocations: 71.5 kB / 371.3 MB, free: 7.117 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.06393/2.684, allocations: 14.38 MB / 385.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/2.684, allocations: 7.75 kB / 385.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004286/2.685, allocations: 89.88 kB / 385.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/2.686, allocations: 455.5 kB / 386.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002497/2.686, allocations: 83.52 kB / 386.3 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/2.687, allocations: 30.84 kB / 386.3 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001561/2.688, allocations: 354.5 kB / 386.7 MB, free: 2.691 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/2.69, allocations: 0.5409 MB / 387.2 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/2.69, allocations: 0 / 387.2 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/2.69, allocations: 3.938 kB / 387.2 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/2.69, allocations: 11.47 kB / 387.2 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006997/2.697, allocations: 1.79 MB / 389 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004435/2.702, allocations: 0.6346 MB / 389.7 MB, free: 1.223 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008721/2.703, allocations: 216.8 kB / 389.9 MB, free: 1.207 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/2.703, allocations: 16.02 kB / 389.9 MB, free: 1.203 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.045e-05/2.703, allocations: 42.12 kB / 389.9 MB, free: 1.164 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 5.239e-06/2.703, allocations: 0 / 389.9 MB, free: 1.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=56): time 0.005025/2.708, allocations: 0.6622 MB / 390.6 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003944/2.708, allocations: 0.5753 MB / 391.2 MB, free: 16.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/2.709, allocations: 395.3 kB / 391.5 MB, free: 16.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002046/2.71, allocations: 25.7 kB / 391.6 MB, free: 16.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/2.71, allocations: 205.8 kB / 391.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/2.71, allocations: 187.7 kB / 392 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/2.71, allocations: 0 / 392 MB, free: 15.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002269/2.711, allocations: 363.9 kB / 392.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006382/2.711, allocations: 150.5 kB / 392.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008707/2.712, allocations: 363.8 kB / 392.8 MB, free: 15.24 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007158/2.713, allocations: 184.6 kB / 393 MB, free: 15.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/2.713, allocations: 7.844 kB / 393 MB, free: 15.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00485/2.718, allocations: 0.701 MB / 393.7 MB, free: 15.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/2.718, allocations: 3.875 kB / 393.7 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/2.718, allocations: 4.031 kB / 393.7 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002177/2.72, allocations: 220.2 kB / 393.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002294/2.722, allocations: 142.2 kB / 394.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01355/2.736, allocations: 4.802 MB / 398.9 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/2.737, allocations: 75.42 kB / 398.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/2.738, allocations: 21.08 kB / 399 MB, free: 10.88 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe.flowPort_b.m_flow:VARIABLE(flow=true unit = "kg/s" ) type: Real 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: ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real idealPump.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real pipe.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: 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 (49): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004004/2.738, allocations: 121.9 kB / 399.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00027/2.738, allocations: 64.59 kB / 399.1 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004505/2.743, allocations: 0.7036 MB / 399.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/2.743, allocations: 5.375 kB / 399.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/2.743, allocations: 4 kB / 399.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004011/2.747, allocations: 0.9557 MB / 400.8 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006381/2.753, allocations: 1.365 MB / 402.2 MB, free: 9.246 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/2.753, allocations: 192 / 402.2 MB, free: 9.246 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002347/2.756, allocations: 142 kB / 402.3 MB, free: 9.211 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001667/2.758, allocations: 159.7 kB / 402.5 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/2.758, allocations: 6.734 kB / 402.5 MB, free: 9.152 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01058/2.768, allocations: 3.27 MB / 405.7 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/2.768, allocations: 1.031 kB / 405.7 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005564/2.774, allocations: 0.949 MB / 406.7 MB, free: 6.172 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008793/2.783, allocations: 2.027 MB / 408.7 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007879/2.784, allocations: 201 kB / 408.9 MB, free: 5.336 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002281/2.784, allocations: 6.281 kB / 408.9 MB, free: 5.332 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/2.785, allocations: 35.19 kB / 409 MB, free: 5.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/2.785, allocations: 32.03 kB / 409 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.574e-05/2.785, allocations: 16.5 kB / 409 MB, free: 5.305 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0008764/2.786, allocations: 315.7 kB / 409.3 MB, free: 5.195 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003314/2.79, allocations: 201.7 kB / 409.5 MB, free: 5.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 44 * 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: 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 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004485/2.79, allocations: 121.3 kB / 409.6 MB, free: 5.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00368/2.794, allocations: 0.7989 MB / 410.4 MB, free: 4.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/2.794, allocations: 2.062 kB / 410.4 MB, free: 4.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002114/2.796, allocations: 467.5 kB / 410.9 MB, free: 4.441 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/2.798, allocations: 139 kB / 411 MB, free: 4.402 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004992/2.803, allocations: 0.906 MB / 411.9 MB, free: 3.938 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001322/2.804, allocations: 0.9566 MB / 412.9 MB, free: 3.129 MB / 314.7 MB Notification: Performance of SimCode: time 1.392e-06/2.804, allocations: 4.562 kB / 412.9 MB, free: 3.125 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat does not exist to compare? outputFormat=mat