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 2.039/2.039, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.182e-05/3.185e-05, allocations: 4 kB / 273.1 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.436/1.546, allocations: 408.4 MB / 0.7131 GB, free: 99.11 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003558/1.546, allocations: 92.42 kB / 0.7132 GB, free: 99.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7079/2.254, allocations: 117.5 MB / 0.828 GB, free: 94.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.993e-06/2.254, allocations: 0 / 0.828 GB, free: 94.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.992e-05/2.254, allocations: 22.41 kB / 0.828 GB, free: 94.77 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.00339/2.258, allocations: 0.9715 MB / 0.829 GB, free: 94.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/2.258, allocations: 11.94 kB / 0.829 GB, free: 94.28 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002569/2.258, allocations: 98.66 kB / 0.8291 GB, free: 94.24 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005894/2.259, allocations: 85.5 kB / 0.8292 GB, free: 94.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/2.26, allocations: 0.5425 MB / 0.8297 GB, free: 93.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/2.26, allocations: 108.5 kB / 0.8298 GB, free: 93.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/2.261, allocations: 48.22 kB / 0.8298 GB, free: 93.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/2.263, allocations: 0.7975 MB / 0.8306 GB, free: 93.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.704e-05/2.263, allocations: 4.891 kB / 0.8306 GB, free: 93.69 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/2.263, allocations: 24.34 kB / 0.8306 GB, free: 93.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.594e-05/2.263, allocations: 41.27 kB / 0.8307 GB, free: 93.69 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/2.265, allocations: 0.6158 MB / 0.8313 GB, free: 93.69 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007372/2.272, allocations: 3.898 MB / 0.8351 GB, free: 91.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/2.273, allocations: 383.3 kB / 0.8355 GB, free: 91.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005032/2.274, allocations: 197.8 kB / 0.8356 GB, free: 91.24 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005537/2.274, allocations: 0.4967 MB / 0.8361 GB, free: 90.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/2.274, allocations: 42.5 kB / 0.8362 GB, free: 90.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 3.647e-06/2.275, allocations: 1.094 kB / 0.8362 GB, free: 90.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.004727/2.279, allocations: 1.314 MB / 0.8375 GB, free: 90.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/2.279, allocations: 145.3 kB / 0.8376 GB, free: 90.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009784/2.28, allocations: 490.3 kB / 0.8381 GB, free: 89.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000123/2.281, allocations: 38.14 kB / 0.8381 GB, free: 89.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/2.281, allocations: 398.7 kB / 0.8385 GB, free: 89.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/2.281, allocations: 162.7 kB / 0.8386 GB, free: 89.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/2.281, allocations: 14.75 kB / 0.8386 GB, free: 89.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.339e-05/2.281, allocations: 342 kB / 0.839 GB, free: 89.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005816/2.282, allocations: 210 kB / 0.8392 GB, free: 89.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007688/2.283, allocations: 0.5279 MB / 0.8397 GB, free: 88.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007623/2.283, allocations: 319.5 kB / 0.84 GB, free: 88.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/2.283, allocations: 2.656 kB / 0.84 GB, free: 88.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002918/2.286, allocations: 0.9207 MB / 0.8409 GB, free: 88.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/2.286, allocations: 12.31 kB / 0.8409 GB, free: 88.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/2.286, allocations: 11 kB / 0.8409 GB, free: 88.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001665/2.288, allocations: 250.7 kB / 0.8412 GB, free: 88.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009204/2.289, allocations: 139.4 kB / 0.8413 GB, free: 88.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/2.29, allocations: 0.8449 MB / 0.8421 GB, free: 88.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/2.291, allocations: 53.58 kB / 0.8422 GB, free: 88.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.967e-05/2.292, allocations: 38.56 kB / 0.8422 GB, free: 88.22 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.0002432/2.292, allocations: 154.4 kB / 0.8424 GB, free: 88.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/2.292, allocations: 65.94 kB / 0.8424 GB, free: 88.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/2.294, allocations: 0.6856 MB / 0.8431 GB, free: 87.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/2.294, allocations: 3.781 kB / 0.8431 GB, free: 87.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/2.294, allocations: 3.875 kB / 0.8431 GB, free: 87.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/2.294, allocations: 0 / 0.8431 GB, free: 87.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/2.297, allocations: 1.371 MB / 0.8444 GB, free: 87.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/2.297, allocations: 3.938 kB / 0.8444 GB, free: 87.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001886/2.299, allocations: 193.9 kB / 0.8446 GB, free: 87.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003794/2.3, allocations: 55.98 kB / 0.8447 GB, free: 87.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.778e-05/2.3, allocations: 15.06 kB / 0.8447 GB, free: 87.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/2.302, allocations: 2.781 MB / 0.8474 GB, free: 85.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/2.302, allocations: 3.938 kB / 0.8474 GB, free: 85.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/2.305, allocations: 1.028 MB / 0.8484 GB, free: 84.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005926/2.305, allocations: 204.3 kB / 0.8486 GB, free: 84.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/2.305, allocations: 13.47 kB / 0.8486 GB, free: 84.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007725/2.306, allocations: 24.36 kB / 0.8486 GB, free: 84.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/2.306, allocations: 44.62 kB / 0.8487 GB, free: 84.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.516e-05/2.306, allocations: 25.55 kB / 0.8487 GB, free: 84.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006882/2.307, allocations: 374.4 kB / 0.8491 GB, free: 84.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/2.307, allocations: 2.953 kB / 0.8491 GB, free: 84.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001383/2.309, allocations: 224.4 kB / 0.8493 GB, free: 84.44 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.003141/2.312, allocations: 2.233 MB / 0.8515 GB, free: 83.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001749/2.314, allocations: 0.5817 MB / 0.852 GB, free: 83.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/2.314, allocations: 0 / 0.852 GB, free: 83.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0017/2.315, allocations: 453.9 kB / 0.8525 GB, free: 82.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/2.318, allocations: 315 kB / 0.8528 GB, free: 82.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/2.322, allocations: 1.214 MB / 0.8539 GB, free: 82.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/2.322, allocations: 0.9472 MB / 0.8549 GB, free: 81.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005724/2.323, allocations: 237.4 kB / 0.8551 GB, free: 81.84 MB / 426.7 MB Notification: Performance of SimCode: time 1.503e-06/2.323, allocations: 0 / 0.8551 GB, free: 81.84 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.274/5.597, allocations: 17.64 MB / 0.8723 GB, free: 81.07 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