Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.047/1.047, allocations: 111.2 MB / 123.8 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.14e-05/3.154e-05, allocations: 0 / 151.5 MB, free: 15.55 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2315, allocations: 25.15 MB / 176.6 MB, free: 15.93 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.837/1.069, allocations: 290.7 MB / 467.4 MB, free: 56.78 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/1.069, allocations: 59.66 kB / 467.4 MB, free: 56.75 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08919/1.158, allocations: 25.97 MB / 493.4 MB, free: 34.85 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.803e-06/1.158, allocations: 3.938 kB / 493.4 MB, free: 34.85 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/1.158, allocations: 4 kB / 493.4 MB, free: 34.84 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001034/1.159, allocations: 434.2 kB / 493.8 MB, free: 34.38 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/1.159, allocations: 8.031 kB / 493.8 MB, free: 34.37 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.715e-05/1.159, allocations: 42.55 kB / 493.9 MB, free: 34.32 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/1.159, allocations: 7.906 kB / 493.9 MB, free: 34.31 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.035e-05/1.159, allocations: 170.9 kB / 494.1 MB, free: 34.1 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/1.159, allocations: 4 kB / 494.1 MB, free: 34.1 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/1.159, allocations: 12 kB / 494.1 MB, free: 34.09 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/1.16, allocations: 109.5 kB / 494.2 MB, free: 33.97 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/1.16, allocations: 0 / 494.2 MB, free: 33.97 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/1.16, allocations: 7.938 kB / 494.2 MB, free: 33.96 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/1.16, allocations: 0 / 494.2 MB, free: 33.96 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/1.16, allocations: 135.9 kB / 494.3 MB, free: 33.83 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007119/1.161, allocations: 364.6 kB / 494.7 MB, free: 33.43 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/1.162, allocations: 142.5 kB / 494.8 MB, free: 33.28 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.52e-05/1.162, allocations: 36.86 kB / 494.9 MB, free: 33.24 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/1.163, allocations: 1.031 MB / 495.9 MB, free: 32.04 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/1.163, allocations: 34.56 kB / 495.9 MB, free: 31.99 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.295e-06/1.163, allocations: 0 / 495.9 MB, free: 31.99 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.001549/1.165, allocations: 242.4 kB / 496.2 MB, free: 31.75 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/1.165, allocations: 59.41 kB / 496.2 MB, free: 31.68 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.704e-05/1.165, allocations: 89 kB / 496.3 MB, free: 31.59 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/1.165, allocations: 29.7 kB / 496.3 MB, free: 31.55 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.642e-05/1.165, allocations: 174.9 kB / 496.5 MB, free: 31.38 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/1.165, allocations: 59.11 kB / 496.6 MB, free: 31.32 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/1.165, allocations: 4 kB / 496.6 MB, free: 31.32 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.986e-05/1.165, allocations: 314.8 kB / 496.9 MB, free: 31 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/1.165, allocations: 44.36 kB / 496.9 MB, free: 30.95 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/1.165, allocations: 81.53 kB / 497 MB, free: 30.86 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/1.166, allocations: 46.59 kB / 497 MB, free: 30.82 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.166, allocations: 0 / 497 MB, free: 30.82 MB / 234.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003994/1.166, allocations: 157.5 kB / 497.2 MB, free: 30.66 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.166, allocations: 4 kB / 497.2 MB, free: 30.65 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/1.166, allocations: 4 kB / 497.2 MB, free: 30.65 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/1.166, allocations: 0 / 497.2 MB, free: 30.65 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004224/1.166, allocations: 55.89 kB / 497.3 MB, free: 30.59 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/1.167, allocations: 0 / 497.3 MB, free: 30.59 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/1.167, allocations: 19.98 kB / 497.3 MB, free: 30.57 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/1.167, allocations: 16 kB / 497.3 MB, free: 30.56 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.933e-05/1.167, allocations: 116.9 kB / 497.4 MB, free: 30.44 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/1.167, allocations: 7.906 kB / 497.4 MB, free: 30.43 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006044/1.168, allocations: 187.9 kB / 497.6 MB, free: 30.25 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.168, allocations: 0 / 497.6 MB, free: 30.25 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.168, allocations: 8 kB / 497.6 MB, free: 30.24 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.168, allocations: 3.984 kB / 497.6 MB, free: 30.23 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009892/1.169, allocations: 474.3 kB / 498.1 MB, free: 29.71 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.169, allocations: 0 / 498.1 MB, free: 29.71 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003568/1.169, allocations: 40.03 kB / 498.1 MB, free: 29.67 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/1.169, allocations: 0 / 498.1 MB, free: 29.67 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/1.169, allocations: 8 kB / 498.1 MB, free: 29.66 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/1.169, allocations: 4 kB / 498.1 MB, free: 29.66 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.169, allocations: 0 / 498.1 MB, free: 29.66 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/1.169, allocations: 272.4 kB / 498.4 MB, free: 29.36 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/1.169, allocations: 81.02 kB / 498.5 MB, free: 29.26 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/1.17, allocations: 11.94 kB / 498.5 MB, free: 29.25 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/1.17, allocations: 11.94 kB / 498.5 MB, free: 29.24 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/1.17, allocations: 15.98 kB / 498.5 MB, free: 29.22 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/1.17, allocations: 8.172 kB / 498.5 MB, free: 29.21 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.125e-05/1.17, allocations: 83.27 kB / 498.6 MB, free: 29.13 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.17, allocations: 0 / 498.6 MB, free: 29.13 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0007334/1.171, allocations: 115.9 kB / 498.7 MB, free: 29.02 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.001568/1.172, allocations: 1.432 MB / 0.4884 GB, free: 27.55 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003409/1.173, allocations: 118.1 kB / 0.4885 GB, free: 27.44 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.173, allocations: 0 / 0.4885 GB, free: 27.44 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/1.173, allocations: 57.19 kB / 0.4886 GB, free: 27.39 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004657/1.173, allocations: 40.22 kB / 0.4886 GB, free: 27.35 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000869/1.174, allocations: 238.8 kB / 0.4889 GB, free: 27.07 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/1.174, allocations: 0.705 MB / 0.4895 GB, free: 26.34 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/1.174, allocations: 35.41 kB / 0.4896 GB, free: 26.3 MB / 234.7 MB Notification: Performance of SimCode: time 8.92e-07/1.174, allocations: 0 / 0.4896 GB, free: 26.3 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.458/3.633, allocations: 5.938 MB / 0.4954 GB, free: 20.37 MB / 234.7 MB