Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.024/2.024, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.773e-05/3.783e-05, allocations: 8 kB / 292.2 MB, free: 8.762 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1117, allocations: 50.41 MB / 342.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.624/1.736, allocations: 0.537 GB / 0.8716 GB, free: 4.883 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/1.736, allocations: 72.95 kB / 0.8716 GB, free: 4.844 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.027/3.763, allocations: 471.5 MB / 1.332 GB, free: 105.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.412e-06/3.763, allocations: 0 / 1.332 GB, free: 105.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.27e-05/3.763, allocations: 8 kB / 1.332 GB, free: 105.6 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001661/3.765, allocations: 0.7214 MB / 1.333 GB, free: 105 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/3.765, allocations: 16.03 kB / 1.333 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.968e-05/3.765, allocations: 62.25 kB / 1.333 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005677/3.766, allocations: 51.42 kB / 1.333 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004238/3.766, allocations: 286.6 kB / 1.333 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/3.766, allocations: 20.56 kB / 1.333 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.876e-05/3.766, allocations: 27.91 kB / 1.333 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006156/3.767, allocations: 323.6 kB / 1.334 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/3.767, allocations: 7.891 kB / 1.334 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.945e-05/3.767, allocations: 15.95 kB / 1.334 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/3.767, allocations: 8 kB / 1.334 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004384/3.767, allocations: 190.2 kB / 1.334 GB, free: 104 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01636/3.784, allocations: 5.523 MB / 1.339 GB, free: 98.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/3.784, allocations: 170.7 kB / 1.339 GB, free: 98.64 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/3.784, allocations: 85.23 kB / 1.339 GB, free: 98.55 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01623/3.801, allocations: 3.493 MB / 1.343 GB, free: 94.95 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/3.801, allocations: 40.34 kB / 1.343 GB, free: 94.9 MB / 458.7 MB Notification: Performance of pre-optimization done (n=21): time 3.387e-06/3.801, allocations: 0 / 1.343 GB, free: 94.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=26): time 0.008446/3.809, allocations: 1.268 MB / 1.344 GB, free: 93.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/3.809, allocations: 51.41 kB / 1.344 GB, free: 93.53 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/3.81, allocations: 232 kB / 1.344 GB, free: 93.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/3.81, allocations: 33.7 kB / 1.344 GB, free: 93.26 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/3.81, allocations: 238.3 kB / 1.345 GB, free: 93.03 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.573e-05/3.81, allocations: 98.58 kB / 1.345 GB, free: 92.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/3.81, allocations: 8 kB / 1.345 GB, free: 92.92 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.176e-05/3.81, allocations: 330.8 kB / 1.345 GB, free: 92.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/3.81, allocations: 87.06 kB / 1.345 GB, free: 92.51 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/3.81, allocations: 179.2 kB / 1.345 GB, free: 92.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/3.811, allocations: 115.6 kB / 1.345 GB, free: 92.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/3.811, allocations: 0 / 1.345 GB, free: 92.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009439/3.812, allocations: 376.2 kB / 1.346 GB, free: 91.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/3.812, allocations: 4 kB / 1.346 GB, free: 91.81 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/3.812, allocations: 4 kB / 1.346 GB, free: 91.81 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007775/3.819, allocations: 454.6 kB / 1.346 GB, free: 91.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/3.82, allocations: 70.34 kB / 1.346 GB, free: 91.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/3.822, allocations: 1.868 MB / 1.348 GB, free: 89.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004727/3.822, allocations: 27.84 kB / 1.348 GB, free: 89.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/3.822, allocations: 19.56 kB / 1.348 GB, free: 89.24 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001301/3.822, allocations: 123.8 kB / 1.348 GB, free: 89.12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.613e-05/3.823, allocations: 26.34 kB / 1.348 GB, free: 89.09 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/3.824, allocations: 488.9 kB / 1.349 GB, free: 88.61 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/3.824, allocations: 4 kB / 1.349 GB, free: 88.61 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/3.824, allocations: 0 / 1.349 GB, free: 88.61 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007382/3.824, allocations: 0.7139 MB / 1.349 GB, free: 87.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/3.826, allocations: 0.9457 MB / 1.35 GB, free: 86.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/3.826, allocations: 3.984 kB / 1.35 GB, free: 86.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/3.826, allocations: 44.48 kB / 1.35 GB, free: 86.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002655/3.829, allocations: 296.4 kB / 1.351 GB, free: 86.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.716e-05/3.829, allocations: 7.953 kB / 1.351 GB, free: 86.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005716/3.83, allocations: 0.646 MB / 1.351 GB, free: 85.78 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/3.83, allocations: 0 / 1.351 GB, free: 85.78 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/3.831, allocations: 0.7257 MB / 1.352 GB, free: 85.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/3.831, allocations: 104.9 kB / 1.352 GB, free: 84.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.032e-05/3.831, allocations: 11.89 kB / 1.352 GB, free: 84.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/3.832, allocations: 11.98 kB / 1.352 GB, free: 84.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/3.832, allocations: 15.97 kB / 1.352 GB, free: 84.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/3.832, allocations: 12 kB / 1.352 GB, free: 84.86 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002411/3.832, allocations: 179.1 kB / 1.352 GB, free: 84.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.41e-07/3.832, allocations: 4 kB / 1.352 GB, free: 84.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00143/3.833, allocations: 215.8 kB / 1.353 GB, free: 84.47 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00344/3.837, allocations: 1.721 MB / 1.354 GB, free: 82.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001153/3.838, allocations: 422.2 kB / 1.355 GB, free: 82.31 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/3.838, allocations: 4.188 kB / 1.355 GB, free: 82.31 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008782/3.839, allocations: 235.6 kB / 1.355 GB, free: 82.08 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/3.841, allocations: 164.4 kB / 1.355 GB, free: 81.91 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/3.843, allocations: 0.7053 MB / 1.356 GB, free: 81.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/3.843, allocations: 0.7879 MB / 1.357 GB, free: 80.37 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/3.844, allocations: 107.4 kB / 1.357 GB, free: 80.26 MB / 458.7 MB Notification: Performance of SimCode: time 1.523e-06/3.844, allocations: 0 / 1.357 GB, free: 80.26 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.959/6.803, allocations: 10.62 MB / 1.367 GB, free: 69.82 MB / 458.7 MB