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.94/1.94, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.378e-05/4.39e-05, allocations: 8 kB / 273.1 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1229, allocations: 48.69 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.817/8.94, allocations: 2.841 GB / 3.155 GB, free: 36.05 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/8.941, allocations: 90.44 kB / 3.155 GB, free: 36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.216/14.16, allocations: 1.099 GB / 4.254 GB, free: 63.6 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.588e-06/14.16, allocations: 0 / 4.254 GB, free: 63.6 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001345/14.16, allocations: 22.89 kB / 4.254 GB, free: 63.59 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.01153/14.17, allocations: 1.564 MB / 4.256 GB, free: 62.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.452e-05/14.17, allocations: 14.19 kB / 4.256 GB, free: 62.71 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004455/14.17, allocations: 104.7 kB / 4.256 GB, free: 62.67 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009104/14.17, allocations: 89.97 kB / 4.256 GB, free: 62.63 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003146/14.17, allocations: 0.5439 MB / 4.256 GB, free: 62.38 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/14.17, allocations: 102.9 kB / 4.256 GB, free: 62.31 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003151/14.17, allocations: 53.31 kB / 4.256 GB, free: 62.31 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00353/14.18, allocations: 0.7958 MB / 4.257 GB, free: 62.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-05/14.18, allocations: 10.22 kB / 4.257 GB, free: 62.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002014/14.18, allocations: 25.36 kB / 4.257 GB, free: 62.08 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/14.18, allocations: 39.16 kB / 4.257 GB, free: 62.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003296/14.18, allocations: 0.6198 MB / 4.258 GB, free: 62.07 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/14.19, allocations: 3.891 MB / 4.262 GB, free: 59.65 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/14.19, allocations: 383.6 kB / 4.262 GB, free: 59.62 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004733/14.19, allocations: 201.3 kB / 4.262 GB, free: 59.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005486/14.19, allocations: 0.5036 MB / 4.263 GB, free: 59.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/14.19, allocations: 37.95 kB / 4.263 GB, free: 59.01 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 4.178e-06/14.19, allocations: 0 / 4.263 GB, free: 59.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.004573/14.2, allocations: 1.321 MB / 4.264 GB, free: 58.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/14.2, allocations: 132.1 kB / 4.264 GB, free: 58.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009694/14.2, allocations: 496.5 kB / 4.265 GB, free: 58.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001465/14.2, allocations: 32.52 kB / 4.265 GB, free: 58.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/14.2, allocations: 401.3 kB / 4.265 GB, free: 58.03 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000183/14.2, allocations: 166.6 kB / 4.265 GB, free: 57.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.385e-05/14.2, allocations: 17.91 kB / 4.265 GB, free: 57.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.856e-05/14.2, allocations: 339.6 kB / 4.266 GB, free: 57.61 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005751/14.2, allocations: 212.9 kB / 4.266 GB, free: 57.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007097/14.2, allocations: 0.5282 MB / 4.266 GB, free: 57.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000706/14.2, allocations: 313.8 kB / 4.267 GB, free: 57.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/14.2, allocations: 7.875 kB / 4.267 GB, free: 57.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002673/14.21, allocations: 0.9085 MB / 4.268 GB, free: 56.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/14.21, allocations: 11 kB / 4.268 GB, free: 56.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/14.21, allocations: 19.44 kB / 4.268 GB, free: 56.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001638/14.21, allocations: 254.6 kB / 4.268 GB, free: 56.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009018/14.21, allocations: 134.8 kB / 4.268 GB, free: 56.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/14.21, allocations: 0.8404 MB / 4.269 GB, free: 55.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/14.21, allocations: 47.56 kB / 4.269 GB, free: 55.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-05/14.21, allocations: 35.06 kB / 4.269 GB, free: 55.97 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.0002276/14.21, allocations: 162.1 kB / 4.269 GB, free: 55.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/14.21, allocations: 65.44 kB / 4.269 GB, free: 55.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/14.21, allocations: 0.6805 MB / 4.27 GB, free: 55.49 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/14.21, allocations: 9.625 kB / 4.27 GB, free: 55.49 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/14.21, allocations: 3.594 kB / 4.27 GB, free: 55.49 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/14.21, allocations: 0 / 4.27 GB, free: 55.49 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003087/14.22, allocations: 1.365 MB / 4.271 GB, free: 54.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/14.22, allocations: 2.719 kB / 4.271 GB, free: 54.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/14.22, allocations: 196.2 kB / 4.271 GB, free: 54.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004272/14.22, allocations: 61.91 kB / 4.271 GB, free: 54.72 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.412e-05/14.22, allocations: 7.25 kB / 4.271 GB, free: 54.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002464/14.22, allocations: 2.783 MB / 4.274 GB, free: 51.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/14.22, allocations: 3.625 kB / 4.274 GB, free: 51.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/14.22, allocations: 1.025 MB / 4.275 GB, free: 51.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004774/14.22, allocations: 210.2 kB / 4.275 GB, free: 51.17 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/14.22, allocations: 19.45 kB / 4.275 GB, free: 51.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007681/14.23, allocations: 25.45 kB / 4.275 GB, free: 51.15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/14.23, allocations: 46.53 kB / 4.275 GB, free: 51.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.409e-05/14.23, allocations: 18.06 kB / 4.275 GB, free: 51.14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006686/14.23, allocations: 371 kB / 4.276 GB, free: 50.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.31e-07/14.23, allocations: 0 / 4.276 GB, free: 50.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00162/14.23, allocations: 246.7 kB / 4.276 GB, free: 50.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * 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.00338/14.23, allocations: 2.371 MB / 4.278 GB, free: 49.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001978/14.23, allocations: 0.5845 MB / 4.279 GB, free: 49.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/14.23, allocations: 3.188 kB / 4.279 GB, free: 49.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001749/14.24, allocations: 446.6 kB / 4.279 GB, free: 48.85 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/14.24, allocations: 310.3 kB / 4.28 GB, free: 48.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/14.24, allocations: 1.223 MB / 4.281 GB, free: 48.22 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005048/14.24, allocations: 0.9475 MB / 4.282 GB, free: 47.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005575/14.24, allocations: 237 kB / 4.282 GB, free: 47.34 MB / 442.7 MB Notification: Performance of SimCode: time 2.375e-06/14.24, allocations: 0 / 4.282 GB, free: 47.34 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.304/17.55, allocations: 18.52 MB / 4.3 GB, free: 41.99 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