Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.341/2.341, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.705e-05/3.716e-05, allocations: 4 kB / 305 MB, free: 5.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4054, allocations: 54.86 MB / 359.9 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.25/1.656, allocations: 414.8 MB / 0.7565 GB, free: 129.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003823/1.656, allocations: 95.11 kB / 0.7566 GB, free: 129.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4455/2.102, allocations: 117.6 MB / 0.8714 GB, free: 28 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/2.102, allocations: 0 / 0.8714 GB, free: 28 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.554e-05/2.102, allocations: 24.11 kB / 0.8714 GB, free: 27.98 MB / 490.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.002722/2.105, allocations: 0.9749 MB / 0.8724 GB, free: 26.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/2.105, allocations: 8.031 kB / 0.8724 GB, free: 26.95 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001807/2.105, allocations: 98.52 kB / 0.8725 GB, free: 26.85 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005064/2.105, allocations: 91.27 kB / 0.8726 GB, free: 26.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/2.107, allocations: 0.5443 MB / 0.8731 GB, free: 26.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/2.107, allocations: 100.4 kB / 0.8732 GB, free: 26.06 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/2.107, allocations: 59.89 kB / 0.8733 GB, free: 26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/2.109, allocations: 0.7891 MB / 0.874 GB, free: 25.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/2.109, allocations: 3.938 kB / 0.874 GB, free: 25.13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/2.109, allocations: 24 kB / 0.8741 GB, free: 25.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.857e-05/2.109, allocations: 36.98 kB / 0.8741 GB, free: 25.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/2.111, allocations: 0.6031 MB / 0.8747 GB, free: 24.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006217/2.117, allocations: 3.903 MB / 0.8785 GB, free: 20.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/2.118, allocations: 385 kB / 0.8789 GB, free: 19.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004168/2.118, allocations: 193.5 kB / 0.879 GB, free: 19.76 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000516/2.119, allocations: 0.499 MB / 0.8795 GB, free: 19.15 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/2.119, allocations: 42.83 kB / 0.8796 GB, free: 19.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 3.707e-06/2.119, allocations: 0 / 0.8796 GB, free: 19.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.004006/2.123, allocations: 1.318 MB / 0.8809 GB, free: 17.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/2.123, allocations: 136.5 kB / 0.881 GB, free: 17.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007985/2.124, allocations: 488.8 kB / 0.8815 GB, free: 17.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.03e-05/2.124, allocations: 37.7 kB / 0.8815 GB, free: 17.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/2.124, allocations: 397.9 kB / 0.8819 GB, free: 16.65 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/2.124, allocations: 165.7 kB / 0.882 GB, free: 16.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/2.125, allocations: 16 kB / 0.882 GB, free: 16.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.103e-05/2.125, allocations: 338.8 kB / 0.8824 GB, free: 16.13 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/2.125, allocations: 209.5 kB / 0.8826 GB, free: 15.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006602/2.126, allocations: 0.5257 MB / 0.8831 GB, free: 15.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006579/2.126, allocations: 313.4 kB / 0.8834 GB, free: 14.94 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/2.126, allocations: 7.938 kB / 0.8834 GB, free: 14.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002527/2.129, allocations: 0.8913 MB / 0.8843 GB, free: 14.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/2.129, allocations: 12 kB / 0.8843 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/2.129, allocations: 11.98 kB / 0.8843 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001584/2.131, allocations: 256.7 kB / 0.8845 GB, free: 13.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008373/2.132, allocations: 135.8 kB / 0.8847 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/2.133, allocations: 0.8424 MB / 0.8855 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009743/2.134, allocations: 52.03 kB / 0.8855 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.087e-05/2.134, allocations: 32 kB / 0.8856 GB, free: 12.68 MB / 490.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.0002096/2.134, allocations: 160.6 kB / 0.8857 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/2.134, allocations: 63.25 kB / 0.8858 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/2.136, allocations: 0.6879 MB / 0.8864 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/2.136, allocations: 8 kB / 0.8865 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/2.136, allocations: 0 / 0.8865 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/2.136, allocations: 11.88 kB / 0.8865 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002774/2.139, allocations: 1.348 MB / 0.8878 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/2.139, allocations: 7.938 kB / 0.8878 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001927/2.141, allocations: 187.8 kB / 0.888 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003559/2.141, allocations: 57.02 kB / 0.888 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-05/2.141, allocations: 23.98 kB / 0.888 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002338/2.144, allocations: 2.774 MB / 0.8908 GB, free: 6.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/2.144, allocations: 0 / 0.8908 GB, free: 6.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/2.146, allocations: 1.035 MB / 0.8918 GB, free: 5.859 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003978/2.146, allocations: 208.2 kB / 0.892 GB, free: 5.637 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/2.146, allocations: 12 kB / 0.892 GB, free: 5.625 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007242/2.147, allocations: 23.98 kB / 0.892 GB, free: 5.602 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/2.147, allocations: 43.95 kB / 0.892 GB, free: 5.559 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.168e-05/2.147, allocations: 23.98 kB / 0.8921 GB, free: 5.535 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006271/2.148, allocations: 369.5 kB / 0.8924 GB, free: 5.176 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.81e-07/2.148, allocations: 0 / 0.8924 GB, free: 5.176 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001197/2.149, allocations: 223.9 kB / 0.8926 GB, free: 4.957 MB / 490.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.002819/2.152, allocations: 2.229 MB / 0.8948 GB, free: 2.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001569/2.154, allocations: 0.573 MB / 0.8954 GB, free: 2.086 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/2.154, allocations: 0 / 0.8954 GB, free: 2.086 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001621/2.155, allocations: 445.5 kB / 0.8958 GB, free: 1.641 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/2.158, allocations: 306.7 kB / 0.8961 GB, free: 1.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003141/2.161, allocations: 1.21 MB / 0.8973 GB, free: 64 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3171/2.478, allocations: 0.9505 MB / 0.8982 GB, free: 117.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006105/2.479, allocations: 236.5 kB / 0.8984 GB, free: 117.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.162e-06/2.479, allocations: 0 / 0.8984 GB, free: 117.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.111/5.59, allocations: 17.63 MB / 0.9156 GB, free: 117.7 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat