Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.88/1.88, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.428e-05/4.473e-05, allocations: 1.406 kB / 255.4 MB, free: 3.125 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1124, allocations: 44.51 MB / 300 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4213/0.5338, allocations: 76.23 MB / 376.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.5341, allocations: 71.08 kB / 376.3 MB, free: 12.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03965/0.5738, allocations: 9.456 MB / 385.7 MB, free: 11.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5738, allocations: 0 / 385.7 MB, free: 11.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.479e-05/0.5739, allocations: 9.594 kB / 385.7 MB, free: 11.42 MB / 314.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.002041/0.5759, allocations: 0.7153 MB / 386.4 MB, free: 10.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.576, allocations: 13.95 kB / 386.5 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002229/0.5762, allocations: 83.56 kB / 386.5 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002349/0.5765, allocations: 60.19 kB / 386.6 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008394/0.5773, allocations: 384.2 kB / 387 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.5775, allocations: 60.08 kB / 387 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-05/0.5776, allocations: 35.95 kB / 387.1 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009414/0.5786, allocations: 449.3 kB / 387.5 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.5786, allocations: 0 / 387.5 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.872e-05/0.5787, allocations: 18.16 kB / 387.5 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.5787, allocations: 7.75 kB / 387.5 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007051/0.5794, allocations: 267.9 kB / 387.8 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003239/0.5827, allocations: 1.277 MB / 389.1 MB, free: 9.879 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007167/0.5834, allocations: 375.7 kB / 389.4 MB, free: 9.746 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/0.5838, allocations: 149.3 kB / 389.6 MB, free: 9.738 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.201e-05/0.5839, allocations: 10.09 kB / 389.6 MB, free: 9.738 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.5839, allocations: 41.78 kB / 389.6 MB, free: 9.695 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.417e-06/0.5839, allocations: 0 / 389.6 MB, free: 9.695 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001003/0.5849, allocations: 354.7 kB / 390 MB, free: 9.621 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.5851, allocations: 455.9 kB / 390.4 MB, free: 9.078 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006505/0.5857, allocations: 383 kB / 390.8 MB, free: 8.969 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.523e-05/0.5858, allocations: 43.45 kB / 390.8 MB, free: 8.934 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.586, allocations: 270.9 kB / 391.1 MB, free: 8.754 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.5861, allocations: 122.3 kB / 391.2 MB, free: 8.676 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.5862, allocations: 6.75 kB / 391.2 MB, free: 8.676 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.605e-05/0.5862, allocations: 323.9 kB / 391.5 MB, free: 8.363 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.5865, allocations: 106.2 kB / 391.6 MB, free: 8.363 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004079/0.587, allocations: 243.4 kB / 391.9 MB, free: 8.223 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.5873, allocations: 158.3 kB / 392 MB, free: 8.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.5873, allocations: 0 / 392 MB, free: 8.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009552/0.5883, allocations: 390.3 kB / 392.4 MB, free: 8.082 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.5884, allocations: 32.23 kB / 392.5 MB, free: 8.051 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.5884, allocations: 3.625 kB / 392.5 MB, free: 8.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002233/0.5886, allocations: 53.2 kB / 392.5 MB, free: 8.027 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007684/0.5894, allocations: 90.67 kB / 392.6 MB, free: 8.023 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/0.5921, allocations: 2.735 MB / 395.3 MB, free: 21.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008253/0.5929, allocations: 64.23 kB / 395.4 MB, free: 21.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/0.593, allocations: 11.72 kB / 395.4 MB, free: 21.46 MB / 330.7 MB 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.0001833/0.5932, allocations: 138.9 kB / 395.5 MB, free: 21.35 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.5933, allocations: 50.47 kB / 395.6 MB, free: 21.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.5935, allocations: 53.44 kB / 395.6 MB, free: 21.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.5935, allocations: 3.969 kB / 395.6 MB, free: 21.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.5935, allocations: 3.953 kB / 395.7 MB, free: 21.31 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008872/0.5944, allocations: 0.6699 MB / 396.3 MB, free: 20.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.5964, allocations: 0.9509 MB / 397.3 MB, free: 20.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.5964, allocations: 0 / 397.3 MB, free: 20.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008243/0.5973, allocations: 96.52 kB / 397.4 MB, free: 20.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.5973, allocations: 3.953 kB / 397.4 MB, free: 20.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.65e-05/0.5974, allocations: 10.72 kB / 397.4 MB, free: 20.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.5974, allocations: 0 / 397.4 MB, free: 20.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5974, allocations: 0 / 397.4 MB, free: 20.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.5985, allocations: 0.5593 MB / 397.9 MB, free: 20.24 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/0.5988, allocations: 130.1 kB / 398.1 MB, free: 20.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.5989, allocations: 15.52 kB / 398.1 MB, free: 20.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005702/0.5995, allocations: 33.62 kB / 398.1 MB, free: 20.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.099e-05/0.5996, allocations: 32.86 kB / 398.1 MB, free: 20.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.5997, allocations: 13.39 kB / 398.2 MB, free: 20.1 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005424/0.6002, allocations: 306.4 kB / 398.5 MB, free: 20.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6002, allocations: 3.938 kB / 398.5 MB, free: 20.01 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007267/0.601, allocations: 138.4 kB / 398.6 MB, free: 20 MB / 330.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.001596/0.6026, allocations: 1.122 MB / 399.7 MB, free: 19.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.6039, allocations: 0.5595 MB / 400.3 MB, free: 19.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.6039, allocations: 0 / 400.3 MB, free: 19.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003388/0.6042, allocations: 148.5 kB / 400.4 MB, free: 19.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.6053, allocations: 128.1 kB / 400.5 MB, free: 18.99 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.6078, allocations: 0.7664 MB / 401.3 MB, free: 18.63 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.6084, allocations: 0.8328 MB / 402.1 MB, free: 17.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004279/0.6088, allocations: 167.5 kB / 402.3 MB, free: 17.92 MB / 330.7 MB Notification: Performance of SimCode: time 2.515e-06/0.6088, allocations: 0 / 402.3 MB, free: 17.92 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.793/3.401, allocations: 10.33 MB / 412.6 MB, free: 14.98 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat