Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.915/1.915, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.928e-05/3.949e-05, allocations: 4 kB / 273.2 MB, free: 0.625 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 48.7 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.475/1.58, allocations: 408.4 MB / 0.7132 GB, free: 99.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/1.58, allocations: 91.05 kB / 0.7133 GB, free: 99.56 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6745/2.255, allocations: 117.5 MB / 0.828 GB, free: 91.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.744e-06/2.255, allocations: 0 / 0.828 GB, free: 91.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.146e-05/2.255, allocations: 15.8 kB / 0.828 GB, free: 91.57 MB / 426.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.003062/2.258, allocations: 0.9838 MB / 0.829 GB, free: 91.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/2.258, allocations: 13.12 kB / 0.829 GB, free: 91.08 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/2.258, allocations: 94.16 kB / 0.8291 GB, free: 91.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005652/2.259, allocations: 92.86 kB / 0.8292 GB, free: 91.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/2.26, allocations: 0.5485 MB / 0.8297 GB, free: 90.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/2.26, allocations: 100 kB / 0.8298 GB, free: 90.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/2.261, allocations: 52.55 kB / 0.8299 GB, free: 90.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/2.262, allocations: 0.7865 MB / 0.8306 GB, free: 90.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/2.262, allocations: 6.875 kB / 0.8306 GB, free: 90.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/2.263, allocations: 28.27 kB / 0.8307 GB, free: 90.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/2.263, allocations: 38.97 kB / 0.8307 GB, free: 90.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/2.264, allocations: 0.6039 MB / 0.8313 GB, free: 90.49 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006736/2.271, allocations: 3.901 MB / 0.8351 GB, free: 88.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/2.272, allocations: 369.2 kB / 0.8355 GB, free: 88.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004749/2.273, allocations: 194.2 kB / 0.8356 GB, free: 88.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005491/2.273, allocations: 0.4999 MB / 0.8361 GB, free: 87.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/2.274, allocations: 37.3 kB / 0.8362 GB, free: 87.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 3.126e-06/2.274, allocations: 2.875 kB / 0.8362 GB, free: 87.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.004363/2.278, allocations: 1.321 MB / 0.8375 GB, free: 87.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/2.278, allocations: 137.4 kB / 0.8376 GB, free: 86.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009811/2.279, allocations: 486.9 kB / 0.8381 GB, free: 86.76 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.168e-05/2.279, allocations: 35.33 kB / 0.8381 GB, free: 86.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/2.279, allocations: 402.6 kB / 0.8385 GB, free: 86.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/2.28, allocations: 163.5 kB / 0.8386 GB, free: 86.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.185e-05/2.28, allocations: 14.53 kB / 0.8386 GB, free: 86.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.555e-05/2.28, allocations: 341.8 kB / 0.839 GB, free: 86.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005692/2.28, allocations: 214.8 kB / 0.8392 GB, free: 86.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007525/2.281, allocations: 0.5189 MB / 0.8397 GB, free: 85.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007242/2.282, allocations: 316.9 kB / 0.84 GB, free: 85.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/2.282, allocations: 8.641 kB / 0.84 GB, free: 85.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002804/2.285, allocations: 0.895 MB / 0.8409 GB, free: 85.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/2.285, allocations: 8.969 kB / 0.8409 GB, free: 85.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/2.285, allocations: 12.47 kB / 0.8409 GB, free: 85.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00167/2.286, allocations: 250.7 kB / 0.8411 GB, free: 85.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008901/2.287, allocations: 133.6 kB / 0.8413 GB, free: 85.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/2.289, allocations: 0.8445 MB / 0.8421 GB, free: 85.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/2.29, allocations: 57.81 kB / 0.8421 GB, free: 85.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-05/2.29, allocations: 40.56 kB / 0.8422 GB, free: 85.03 MB / 426.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.0002266/2.29, allocations: 150.9 kB / 0.8423 GB, free: 84.92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/2.29, allocations: 61.41 kB / 0.8424 GB, free: 84.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/2.292, allocations: 0.6851 MB / 0.843 GB, free: 84.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/2.292, allocations: 15.09 kB / 0.8431 GB, free: 84.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/2.292, allocations: 3.5 kB / 0.8431 GB, free: 84.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/2.292, allocations: 0 / 0.8431 GB, free: 84.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003065/2.295, allocations: 1.355 MB / 0.8444 GB, free: 84.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/2.295, allocations: 6.812 kB / 0.8444 GB, free: 84.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001967/2.297, allocations: 190.7 kB / 0.8446 GB, free: 84.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003897/2.298, allocations: 53.83 kB / 0.8446 GB, free: 84.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.12e-05/2.298, allocations: 25.56 kB / 0.8447 GB, free: 84.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002475/2.3, allocations: 2.776 MB / 0.8474 GB, free: 81.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/2.3, allocations: 2.844 kB / 0.8474 GB, free: 81.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/2.303, allocations: 1.031 MB / 0.8484 GB, free: 81.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005303/2.303, allocations: 193.9 kB / 0.8486 GB, free: 81.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/2.303, allocations: 14.62 kB / 0.8486 GB, free: 81.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00075/2.304, allocations: 32.17 kB / 0.8486 GB, free: 81.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/2.304, allocations: 45.3 kB / 0.8486 GB, free: 81.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.344e-05/2.304, allocations: 22.3 kB / 0.8487 GB, free: 81.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006436/2.305, allocations: 373.2 kB / 0.849 GB, free: 81.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.305, allocations: 0 / 0.849 GB, free: 81.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001342/2.306, allocations: 225 kB / 0.8492 GB, free: 81.25 MB / 426.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.002942/2.309, allocations: 2.237 MB / 0.8514 GB, free: 79.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001724/2.311, allocations: 0.5627 MB / 0.852 GB, free: 79.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/2.311, allocations: 3.125 kB / 0.852 GB, free: 79.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001753/2.313, allocations: 440.4 kB / 0.8524 GB, free: 79.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002812/2.316, allocations: 308.4 kB / 0.8527 GB, free: 79.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003801/2.32, allocations: 1.213 MB / 0.8539 GB, free: 79.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/2.32, allocations: 0.9522 MB / 0.8548 GB, free: 78.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000566/2.321, allocations: 234.2 kB / 0.855 GB, free: 78.65 MB / 426.7 MB Notification: Performance of SimCode: time 1.323e-06/2.321, allocations: 0 / 0.855 GB, free: 78.65 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.251/5.572, allocations: 17.62 MB / 0.8722 GB, free: 77.8 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat