Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.873/1.873, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.56e-05/3.56e-05, allocations: 7.938 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1033, allocations: 48.7 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.64/8.743, allocations: 2.84 GB / 3.149 GB, free: 76.05 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/8.744, allocations: 91.81 kB / 3.149 GB, free: 76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.215/13.96, allocations: 1.087 GB / 4.236 GB, free: 61.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.814e-06/13.96, allocations: 1.781 kB / 4.236 GB, free: 61.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.191e-05/13.96, allocations: 15.09 kB / 4.236 GB, free: 61.07 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.007136/13.97, allocations: 1.577 MB / 4.238 GB, free: 60.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/13.97, allocations: 10.5 kB / 4.238 GB, free: 60.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007089/13.97, allocations: 89.91 kB / 4.238 GB, free: 60.26 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/13.97, allocations: 0.5393 MB / 4.239 GB, free: 60 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/13.97, allocations: 89.09 kB / 4.239 GB, free: 59.94 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/13.97, allocations: 26.69 kB / 4.239 GB, free: 59.94 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001392/13.97, allocations: 0.547 MB / 4.239 GB, free: 59.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/13.97, allocations: 0.7227 MB / 4.24 GB, free: 59.71 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/13.97, allocations: 6.625 kB / 4.24 GB, free: 59.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/13.97, allocations: 7.891 kB / 4.24 GB, free: 59.71 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.045e-05/13.97, allocations: 35.28 kB / 4.24 GB, free: 59.7 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006715/13.98, allocations: 3.964 MB / 4.244 GB, free: 57.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008853/13.98, allocations: 316.6 kB / 4.244 GB, free: 57.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/13.98, allocations: 158.2 kB / 4.244 GB, free: 57.08 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004464/13.98, allocations: 349.6 kB / 4.245 GB, free: 56.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/13.98, allocations: 36.72 kB / 4.245 GB, free: 56.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.146e-06/13.98, allocations: 0 / 4.245 GB, free: 56.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.004953/13.99, allocations: 1.265 MB / 4.246 GB, free: 56.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/13.99, allocations: 135.5 kB / 4.246 GB, free: 56.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007527/13.99, allocations: 462.1 kB / 4.246 GB, free: 55.99 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/13.99, allocations: 25.7 kB / 4.246 GB, free: 55.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/13.99, allocations: 424.7 kB / 4.247 GB, free: 55.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/13.99, allocations: 135 kB / 4.247 GB, free: 55.58 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/13.99, allocations: 0 / 4.247 GB, free: 55.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.954e-05/13.99, allocations: 347.8 kB / 4.247 GB, free: 55.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/13.99, allocations: 195.3 kB / 4.247 GB, free: 55.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006111/13.99, allocations: 0.5068 MB / 4.248 GB, free: 54.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/13.99, allocations: 334.7 kB / 4.248 GB, free: 54.88 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.208e-06/13.99, allocations: 7.688 kB / 4.248 GB, free: 54.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002936/13.99, allocations: 0.8549 MB / 4.249 GB, free: 54.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/13.99, allocations: 16.55 kB / 4.249 GB, free: 54.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/13.99, allocations: 15.81 kB / 4.249 GB, free: 54.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/13.99, allocations: 224.5 kB / 4.249 GB, free: 54.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009036/13.99, allocations: 128.3 kB / 4.25 GB, free: 54.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/14, allocations: 0.8743 MB / 4.25 GB, free: 54.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/14, allocations: 32.98 kB / 4.25 GB, free: 54.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/14, allocations: 41.91 kB / 4.25 GB, free: 54.26 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002269/14, allocations: 137.6 kB / 4.251 GB, free: 54.14 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001627/14, allocations: 478.7 kB / 4.251 GB, free: 54.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/14, allocations: 62.22 kB / 4.251 GB, free: 54.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/14, allocations: 0.5802 MB / 4.252 GB, free: 53.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/14, allocations: 6.75 kB / 4.252 GB, free: 53.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/14, allocations: 3.125 kB / 4.252 GB, free: 53.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/14, allocations: 3.141 kB / 4.252 GB, free: 53.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003661/14.01, allocations: 1.485 MB / 4.253 GB, free: 53.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/14.01, allocations: 3.688 kB / 4.253 GB, free: 53.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/14.01, allocations: 184.7 kB / 4.253 GB, free: 53.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003782/14.01, allocations: 52.36 kB / 4.253 GB, free: 53.33 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.319e-05/14.01, allocations: 9.453 kB / 4.253 GB, free: 53.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002521/14.01, allocations: 2.685 MB / 4.256 GB, free: 50.88 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/14.01, allocations: 3.875 kB / 4.256 GB, free: 50.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/14.01, allocations: 0.949 MB / 4.257 GB, free: 50.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004963/14.01, allocations: 198.6 kB / 4.257 GB, free: 50.42 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/14.01, allocations: 3.812 kB / 4.257 GB, free: 50.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007214/14.01, allocations: 15.16 kB / 4.257 GB, free: 50.42 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/14.01, allocations: 37.66 kB / 4.257 GB, free: 50.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.598e-05/14.01, allocations: 16.28 kB / 4.257 GB, free: 50.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005697/14.01, allocations: 334.5 kB / 4.257 GB, free: 50.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/14.01, allocations: 0 / 4.257 GB, free: 50.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001704/14.02, allocations: 224.4 kB / 4.258 GB, free: 50.32 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003429/14.02, allocations: 2.213 MB / 4.26 GB, free: 49.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001632/14.02, allocations: 0.5274 MB / 4.26 GB, free: 49.03 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/14.02, allocations: 0 / 4.26 GB, free: 49.03 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001643/14.02, allocations: 413.2 kB / 4.261 GB, free: 48.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/14.03, allocations: 266.4 kB / 4.261 GB, free: 48.92 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003589/14.03, allocations: 1.15 MB / 4.262 GB, free: 48.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/14.03, allocations: 0.9456 MB / 4.263 GB, free: 47.85 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005584/14.03, allocations: 235.8 kB / 4.263 GB, free: 47.84 MB / 442.7 MB Notification: Performance of SimCode: time 1.042e-06/14.03, allocations: 3.938 kB / 4.263 GB, free: 47.84 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.287/17.32, allocations: 18.05 MB / 4.281 GB, free: 47.39 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat