Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_1_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.89/1.89, allocations: 171.2 MB / 178.1 MB, free: 8.277 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2386/2.129, allocations: 41.09 MB / 219.2 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/2.252, allocations: 38.78 MB / 258 MB, free: 4.352 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3471/2.599, allocations: 70.47 MB / 328.5 MB, free: 1.598 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003559/2.6, allocations: 68.39 kB / 328.6 MB, free: 1.562 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.06175/2.661, allocations: 9.913 MB / 338.5 MB, free: 9.316 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/2.661, allocations: 8 kB / 338.5 MB, free: 9.309 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002914/2.662, allocations: 70.7 kB / 338.5 MB, free: 9.242 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/2.663, allocations: 391.7 kB / 338.9 MB, free: 8.867 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/2.663, allocations: 50.3 kB / 339 MB, free: 8.812 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/2.663, allocations: 20 kB / 339 MB, free: 8.793 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001198/2.665, allocations: 251.4 kB / 339.2 MB, free: 8.641 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/2.666, allocations: 390.1 kB / 339.6 MB, free: 8.293 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.225e-05/2.666, allocations: 7.938 kB / 339.6 MB, free: 8.285 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.303e-05/2.666, allocations: 0 / 339.6 MB, free: 8.285 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/2.666, allocations: 8 kB / 339.6 MB, free: 8.277 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003804/2.67, allocations: 1.189 MB / 340.8 MB, free: 7.293 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006401/2.671, allocations: 222.2 kB / 341 MB, free: 7.152 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004908/2.671, allocations: 151.5 kB / 341.2 MB, free: 7.051 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.403e-05/2.671, allocations: 19.64 kB / 341.2 MB, free: 7.035 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/2.671, allocations: 38.12 kB / 341.2 MB, free: 6.992 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 3.447e-06/2.671, allocations: 0 / 341.2 MB, free: 6.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001264/2.673, allocations: 349.9 kB / 341.6 MB, free: 6.723 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002454/2.673, allocations: 452.9 kB / 342 MB, free: 6.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006628/2.674, allocations: 338.2 kB / 342.4 MB, free: 5.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.389e-05/2.674, allocations: 25.7 kB / 342.4 MB, free: 5.879 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/2.674, allocations: 173.2 kB / 342.6 MB, free: 5.723 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/2.674, allocations: 124 kB / 342.7 MB, free: 5.613 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/2.674, allocations: 0 / 342.7 MB, free: 5.613 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001981/2.674, allocations: 354.8 kB / 343 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/2.675, allocations: 101.9 kB / 343.1 MB, free: 5.219 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004959/2.675, allocations: 237.2 kB / 343.4 MB, free: 4.996 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/2.675, allocations: 119.7 kB / 343.5 MB, free: 4.926 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/2.675, allocations: 4 kB / 343.5 MB, free: 4.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001376/2.677, allocations: 378.8 kB / 343.8 MB, free: 4.633 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/2.677, allocations: 4 kB / 343.8 MB, free: 4.629 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/2.677, allocations: 0 / 343.8 MB, free: 4.629 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006304/2.678, allocations: 56.97 kB / 343.9 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/2.679, allocations: 95.69 kB / 344 MB, free: 4.488 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005453/2.684, allocations: 2.616 MB / 346.6 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/2.686, allocations: 59.45 kB / 346.7 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.777e-05/2.686, allocations: 12 kB / 346.7 MB, free: 1.711 MB / 282.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 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 (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.0003258/2.686, allocations: 120.8 kB / 346.8 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/2.686, allocations: 43.77 kB / 346.8 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/2.687, allocations: 53.75 kB / 346.9 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/2.687, allocations: 7.984 kB / 346.9 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/2.687, allocations: 0 / 346.9 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001641/2.688, allocations: 0.6422 MB / 347.5 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003262/2.692, allocations: 0.8888 MB / 348.4 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-05/2.692, allocations: 4 kB / 348.4 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001517/2.693, allocations: 99.23 kB / 348.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.657e-05/2.693, allocations: 7.906 kB / 348.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-05/2.693, allocations: 7.875 kB / 348.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/2.693, allocations: 0 / 348.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/2.693, allocations: 0 / 348.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002046/2.696, allocations: 0.5363 MB / 349.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003983/2.7, allocations: 1.352 MB / 350.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/2.7, allocations: 128.1 kB / 350.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/2.7, allocations: 4 kB / 350.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009542/2.701, allocations: 39.94 kB / 350.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/2.701, allocations: 23.91 kB / 350.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.279e-05/2.701, allocations: 11 kB / 350.6 MB, free: 14.35 MB / 298.7 MB Notification: Performance of sort global known variables: time 0.0007496/2.702, allocations: 263.2 kB / 350.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002671/2.705, allocations: 127.2 kB / 351 MB, free: 14.04 MB / 298.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.0004763/2.705, allocations: 119.4 kB / 351.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002114/2.708, allocations: 0.5095 MB / 351.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/2.708, allocations: 0 / 351.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006372/2.708, allocations: 138 kB / 351.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/2.71, allocations: 103.4 kB / 351.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003672/2.714, allocations: 0.6491 MB / 352.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/2.715, allocations: 0.8843 MB / 353.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of SimCode: time 1.694e-06/2.715, allocations: 0 / 353.4 MB, free: 11.79 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat