Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.844/1.844, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.457e-05/3.461e-05, allocations: 8 kB / 255.5 MB, free: 3.082 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09532/0.09538, allocations: 44.5 MB / 300 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9243/1.02, allocations: 260.9 MB / 0.5477 GB, free: 110 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/1.02, allocations: 89.47 kB / 0.5478 GB, free: 110 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2614/1.282, allocations: 83.96 MB / 0.6298 GB, free: 48.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.674e-06/1.282, allocations: 0 / 0.6298 GB, free: 48.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.293e-05/1.282, allocations: 8 kB / 0.6298 GB, free: 48.55 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007969/1.282, allocations: 0.5264 MB / 0.6303 GB, free: 47.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/1.282, allocations: 8.031 kB / 0.6303 GB, free: 47.97 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.713e-05/1.283, allocations: 62.53 kB / 0.6304 GB, free: 47.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000356/1.283, allocations: 35.72 kB / 0.6304 GB, free: 47.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004438/1.283, allocations: 286.8 kB / 0.6307 GB, free: 47.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/1.283, allocations: 20.56 kB / 0.6307 GB, free: 47.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.399e-05/1.284, allocations: 24 kB / 0.6307 GB, free: 47.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006234/1.284, allocations: 308.3 kB / 0.631 GB, free: 47.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/1.284, allocations: 3.938 kB / 0.631 GB, free: 47.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-05/1.284, allocations: 12 kB / 0.631 GB, free: 47.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/1.284, allocations: 11.94 kB / 0.631 GB, free: 47.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004312/1.285, allocations: 172.7 kB / 0.6312 GB, free: 46.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/1.287, allocations: 1.716 MB / 0.6329 GB, free: 45.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/1.287, allocations: 134.5 kB / 0.633 GB, free: 44.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/1.288, allocations: 60.86 kB / 0.6331 GB, free: 44.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/1.288, allocations: 170.2 kB / 0.6332 GB, free: 44.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/1.288, allocations: 38.56 kB / 0.6333 GB, free: 44.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 3.647e-06/1.288, allocations: 0 / 0.6333 GB, free: 44.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.002322/1.29, allocations: 0.6723 MB / 0.6339 GB, free: 43.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/1.29, allocations: 55.59 kB / 0.634 GB, free: 43.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003708/1.291, allocations: 251 kB / 0.6342 GB, free: 43.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/1.291, allocations: 29.7 kB / 0.6343 GB, free: 43.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/1.291, allocations: 254.1 kB / 0.6345 GB, free: 43.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.797e-05/1.291, allocations: 78.92 kB / 0.6346 GB, free: 43.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/1.291, allocations: 8 kB / 0.6346 GB, free: 43.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.474e-05/1.291, allocations: 322.8 kB / 0.6349 GB, free: 42.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/1.291, allocations: 64 kB / 0.6349 GB, free: 42.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/1.291, allocations: 183.6 kB / 0.6351 GB, free: 42.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/1.292, allocations: 103.1 kB / 0.6352 GB, free: 42.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.292, allocations: 0 / 0.6352 GB, free: 42.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006817/1.292, allocations: 298.4 kB / 0.6355 GB, free: 42.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/1.292, allocations: 10.03 kB / 0.6355 GB, free: 42.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/1.292, allocations: 8.031 kB / 0.6355 GB, free: 42.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001183/1.293, allocations: 16.86 kB / 0.6355 GB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005955/1.293, allocations: 91.83 kB / 0.6356 GB, free: 42.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/1.294, allocations: 1.292 MB / 0.6369 GB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000416/1.295, allocations: 16 kB / 0.6369 GB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/1.295, allocations: 15.98 kB / 0.6369 GB, free: 40.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001331/1.295, allocations: 128.9 kB / 0.637 GB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.797e-05/1.295, allocations: 31.72 kB / 0.6371 GB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005198/1.295, allocations: 215.1 kB / 0.6373 GB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/1.296, allocations: 0 / 0.6373 GB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.296, allocations: 7.953 kB / 0.6373 GB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003758/1.296, allocations: 483.7 kB / 0.6377 GB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/1.297, allocations: 0.7527 MB / 0.6385 GB, free: 38.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/1.297, allocations: 7.938 kB / 0.6385 GB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/1.298, allocations: 47.91 kB / 0.6385 GB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/1.298, allocations: 4.281 kB / 0.6385 GB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/1.298, allocations: 12 kB / 0.6385 GB, free: 38.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/1.298, allocations: 4 kB / 0.6386 GB, free: 38.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.298, allocations: 3.938 kB / 0.6386 GB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006208/1.298, allocations: 494.3 kB / 0.639 GB, free: 38.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/1.299, allocations: 108.8 kB / 0.6391 GB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.709e-05/1.299, allocations: 15.89 kB / 0.6391 GB, free: 38.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/1.299, allocations: 12 kB / 0.6392 GB, free: 38.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/1.299, allocations: 23.97 kB / 0.6392 GB, free: 38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.122e-05/1.299, allocations: 19.98 kB / 0.6392 GB, free: 37.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002908/1.3, allocations: 195.1 kB / 0.6394 GB, free: 37.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.3, allocations: 0 / 0.6394 GB, free: 37.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007833/1.3, allocations: 111.9 kB / 0.6395 GB, free: 37.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001288/1.302, allocations: 1.781 MB / 0.6412 GB, free: 35.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006631/1.302, allocations: 281.4 kB / 0.6415 GB, free: 35.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.302, allocations: 4 kB / 0.6415 GB, free: 35.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/1.303, allocations: 68.86 kB / 0.6416 GB, free: 35.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/1.304, allocations: 153.9 kB / 0.6417 GB, free: 35.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/1.306, allocations: 0.5298 MB / 0.6422 GB, free: 34.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/1.306, allocations: 0.7641 MB / 0.643 GB, free: 33.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/1.306, allocations: 95.41 kB / 0.6431 GB, free: 33.82 MB / 410.7 MB Notification: Performance of SimCode: time 9.91e-07/1.306, allocations: 0 / 0.6431 GB, free: 33.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.811/4.117, allocations: 7.172 MB / 0.6501 GB, free: 26.66 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat