Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.541/2.541, allocations: 270 MB / 282.6 MB, free: 1.832 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.716e-05/3.72e-05, allocations: 0 / 347 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4162, allocations: 61.87 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.17/10.59, allocations: 3.309 GB / 3.708 GB, free: 26.31 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/10.59, allocations: 75.83 kB / 3.708 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5812/11.17, allocations: 52.17 MB / 3.759 GB, free: 186 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.633e-06/11.17, allocations: 0 / 3.759 GB, free: 186 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.121e-06/11.17, allocations: 0 / 3.759 GB, free: 186 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001232/11.17, allocations: 0.4996 MB / 3.759 GB, free: 185.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/11.17, allocations: 10.69 kB / 3.759 GB, free: 185.5 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.053e-05/11.17, allocations: 35.91 kB / 3.759 GB, free: 185.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/11.17, allocations: 3.125 kB / 3.759 GB, free: 185.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.629e-05/11.17, allocations: 165.5 kB / 3.76 GB, free: 185.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/11.17, allocations: 6 kB / 3.76 GB, free: 185.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/11.17, allocations: 3.031 kB / 3.76 GB, free: 185.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/11.17, allocations: 79.73 kB / 3.76 GB, free: 185.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/11.17, allocations: 3.688 kB / 3.76 GB, free: 185.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/11.17, allocations: 1.172 kB / 3.76 GB, free: 185.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/11.17, allocations: 3.812 kB / 3.76 GB, free: 185.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/11.17, allocations: 54.91 kB / 3.76 GB, free: 185.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/11.17, allocations: 307 kB / 3.76 GB, free: 185 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.581e-05/11.17, allocations: 32.64 kB / 3.76 GB, free: 185 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/11.17, allocations: 16.59 kB / 3.76 GB, free: 184.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002473/11.17, allocations: 254.5 kB / 3.76 GB, free: 184.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/11.17, allocations: 33.06 kB / 3.76 GB, free: 184.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/11.17, allocations: 0 / 3.76 GB, free: 184.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001777/11.17, allocations: 56.5 kB / 3.76 GB, free: 184.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/11.17, allocations: 51.41 kB / 3.761 GB, free: 184.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.194e-05/11.17, allocations: 99.5 kB / 3.761 GB, free: 184.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/11.17, allocations: 25.7 kB / 3.761 GB, free: 184.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.694e-05/11.17, allocations: 169.1 kB / 3.761 GB, free: 184.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/11.17, allocations: 12.88 kB / 3.761 GB, free: 184.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/11.17, allocations: 0 / 3.761 GB, free: 184.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.579e-05/11.17, allocations: 318.2 kB / 3.761 GB, free: 183.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.791e-05/11.17, allocations: 3.969 kB / 3.761 GB, free: 183.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.075e-05/11.17, allocations: 40.72 kB / 3.761 GB, free: 183.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/11.17, allocations: 7.719 kB / 3.761 GB, free: 183.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/11.17, allocations: 0 / 3.761 GB, free: 183.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001954/11.17, allocations: 69.84 kB / 3.761 GB, free: 183.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/11.17, allocations: 11.59 kB / 3.761 GB, free: 183.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/11.17, allocations: 3.719 kB / 3.761 GB, free: 183.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/11.17, allocations: 8.047 kB / 3.761 GB, free: 183.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/11.17, allocations: 16.48 kB / 3.761 GB, free: 183.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/11.17, allocations: 0 / 3.761 GB, free: 183.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.543e-05/11.17, allocations: 6.938 kB / 3.761 GB, free: 183.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/11.17, allocations: 4.75 kB / 3.761 GB, free: 183.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.638e-05/11.17, allocations: 107.7 kB / 3.761 GB, free: 183.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/11.17, allocations: 7.531 kB / 3.761 GB, free: 183.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/11.17, allocations: 77.5 kB / 3.761 GB, free: 183.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/11.17, allocations: 0 / 3.761 GB, free: 183.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/11.17, allocations: 3.953 kB / 3.761 GB, free: 183.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/11.17, allocations: 0 / 3.761 GB, free: 183.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/11.17, allocations: 162.7 kB / 3.762 GB, free: 183.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/11.17, allocations: 0 / 3.762 GB, free: 183.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.404e-05/11.17, allocations: 7.438 kB / 3.762 GB, free: 183.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/11.17, allocations: 0 / 3.762 GB, free: 183.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/11.17, allocations: 7.75 kB / 3.762 GB, free: 183.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/11.17, allocations: 2.906 kB / 3.762 GB, free: 183.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/11.17, allocations: 0 / 3.762 GB, free: 183.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/11.17, allocations: 151.9 kB / 3.762 GB, free: 183.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/11.17, allocations: 83.14 kB / 3.762 GB, free: 183.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/11.17, allocations: 0 / 3.762 GB, free: 183.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.739e-05/11.17, allocations: 0 / 3.762 GB, free: 183.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/11.17, allocations: 7.422 kB / 3.762 GB, free: 183.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/11.17, allocations: 10.38 kB / 3.762 GB, free: 183.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.225e-05/11.17, allocations: 84.52 kB / 3.762 GB, free: 183.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.21e-07/11.17, allocations: 0 / 3.762 GB, free: 183.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001009/11.17, allocations: 180.4 kB / 3.762 GB, free: 183.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.001976/11.18, allocations: 1.318 MB / 3.763 GB, free: 182.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000158/11.18, allocations: 25.67 kB / 3.763 GB, free: 182.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/11.18, allocations: 1.281 kB / 3.763 GB, free: 182.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.793e-05/11.18, allocations: 14.31 kB / 3.763 GB, free: 182.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/11.18, allocations: 10.02 kB / 3.763 GB, free: 182.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006692/11.18, allocations: 209.9 kB / 3.764 GB, free: 182.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/11.18, allocations: 0.6844 MB / 3.764 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.203e-05/11.18, allocations: 15.19 kB / 3.764 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.032e-06/11.18, allocations: 3.906 kB / 3.764 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.793/13.97, allocations: 5.934 MB / 3.77 GB, free: 180.5 MB / 0.5261 GB