Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",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.868/1.868, allocations: 194.9 MB / 202.5 MB, free: 6.918 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2502/2.118, allocations: 46.82 MB / 249.3 MB, free: 5.336 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09147/2.21, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3004/2.51, allocations: 75.5 MB / 369.3 MB, free: 7.188 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/2.511, allocations: 71.08 kB / 369.4 MB, free: 7.188 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.04111/2.552, allocations: 9.939 MB / 379.4 MB, free: 5.246 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/2.552, allocations: 11.72 kB / 379.4 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002395/2.552, allocations: 62.22 kB / 379.4 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009515/2.553, allocations: 391.8 kB / 379.8 MB, free: 4.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/2.553, allocations: 45.86 kB / 379.9 MB, free: 4.895 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.512e-05/2.553, allocations: 19.38 kB / 379.9 MB, free: 4.895 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007989/2.554, allocations: 258.6 kB / 380.1 MB, free: 4.879 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/2.555, allocations: 388.1 kB / 380.5 MB, free: 4.664 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.579e-05/2.556, allocations: 5.109 kB / 380.5 MB, free: 4.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.637e-05/2.556, allocations: 0 / 380.5 MB, free: 4.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/2.556, allocations: 11.7 kB / 380.5 MB, free: 4.656 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005133/2.561, allocations: 1.198 MB / 381.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008964/2.562, allocations: 219.6 kB / 381.9 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006205/2.562, allocations: 148.1 kB / 382.1 MB, free: 3.953 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/2.563, allocations: 11.81 kB / 382.1 MB, free: 3.949 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/2.563, allocations: 40.84 kB / 382.1 MB, free: 3.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 4.679e-06/2.563, allocations: 3.938 kB / 382.1 MB, free: 3.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.001763/2.564, allocations: 345.5 kB / 382.5 MB, free: 3.809 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002012/2.565, allocations: 449.5 kB / 382.9 MB, free: 19.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000949/2.566, allocations: 342.3 kB / 383.2 MB, free: 19.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001285/2.566, allocations: 25.7 kB / 383.3 MB, free: 19.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/2.566, allocations: 176.3 kB / 383.4 MB, free: 18.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/2.566, allocations: 123.2 kB / 383.6 MB, free: 18.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/2.566, allocations: 0 / 383.6 MB, free: 18.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002976/2.567, allocations: 351.3 kB / 383.9 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004747/2.567, allocations: 100.8 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006445/2.568, allocations: 239.2 kB / 384.2 MB, free: 18.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/2.568, allocations: 125.6 kB / 384.4 MB, free: 18.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/2.568, allocations: 0 / 384.4 MB, free: 18.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001774/2.57, allocations: 383.8 kB / 384.7 MB, free: 18.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/2.57, allocations: 3.875 kB / 384.7 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/2.57, allocations: 0 / 384.7 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005525/2.571, allocations: 62 kB / 384.8 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/2.572, allocations: 92.72 kB / 384.9 MB, free: 18.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004668/2.577, allocations: 2.621 MB / 387.5 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/2.578, allocations: 54.92 kB / 387.6 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-05/2.578, allocations: 11 kB / 387.6 MB, free: 15.7 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: pipe.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 (38): * Single equations (assignments): 35 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003479/2.578, allocations: 116.9 kB / 387.7 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002441/2.579, allocations: 50.59 kB / 387.7 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/2.579, allocations: 47.84 kB / 387.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/2.579, allocations: 3.875 kB / 387.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/2.579, allocations: 0 / 387.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001399/2.58, allocations: 0.648 MB / 388.4 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003492/2.584, allocations: 0.8903 MB / 389.3 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/2.584, allocations: 0 / 389.3 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/2.586, allocations: 105.2 kB / 389.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/2.586, allocations: 0 / 389.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-05/2.586, allocations: 3.969 kB / 389.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/2.586, allocations: 0 / 389.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/2.586, allocations: 4 kB / 389.4 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001679/2.587, allocations: 0.5362 MB / 390 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002483/2.59, allocations: 1.356 MB / 391.3 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00024/2.59, allocations: 139 kB / 391.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/2.59, allocations: 0 / 391.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007431/2.591, allocations: 27.58 kB / 391.5 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/2.591, allocations: 27.55 kB / 391.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/2.591, allocations: 7.125 kB / 391.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0004696/2.592, allocations: 266.2 kB / 391.8 MB, free: 13.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001623/2.593, allocations: 133.9 kB / 391.9 MB, free: 13.45 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003565/2.594, allocations: 122.2 kB / 392 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001566/2.595, allocations: 0.5051 MB / 392.5 MB, free: 13.08 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/2.595, allocations: 3.875 kB / 392.5 MB, free: 13.08 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003491/2.596, allocations: 139.7 kB / 392.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009311/2.597, allocations: 112.1 kB / 392.8 MB, free: 13.03 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/2.599, allocations: 0.6585 MB / 393.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007175/2.6, allocations: 0.8832 MB / 394.3 MB, free: 11.91 MB / 314.7 MB Notification: Performance of SimCode: time 1.472e-06/2.6, allocations: 0 / 394.3 MB, free: 11.91 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat