Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.653/2.653, allocations: 270 MB / 282.6 MB, free: 1.914 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.878e-05/3.897e-05, allocations: 0 / 347.1 MB, free: 3.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.419, allocations: 61.88 MB / 408.9 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.474/1.893, allocations: 430.4 MB / 0.8197 GB, free: 95.55 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003395/1.894, allocations: 95.12 kB / 0.8198 GB, free: 95.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8547/2.748, allocations: 135.9 MB / 0.9524 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.235e-06/2.748, allocations: 2.406 kB / 0.9524 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.861e-05/2.749, allocations: 21.12 kB / 0.9525 GB, free: 150.8 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002992/2.752, allocations: 0.9012 MB / 0.9533 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/2.752, allocations: 11.12 kB / 0.9534 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002534/2.752, allocations: 100.3 kB / 0.9535 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005714/2.752, allocations: 88.75 kB / 0.9535 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/2.754, allocations: 0.5425 MB / 0.9541 GB, free: 150 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/2.754, allocations: 102.5 kB / 0.9542 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/2.754, allocations: 49.2 kB / 0.9542 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/2.756, allocations: 0.7925 MB / 0.955 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/2.756, allocations: 3.938 kB / 0.955 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/2.756, allocations: 25.67 kB / 0.955 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-05/2.757, allocations: 41.73 kB / 0.9551 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/2.758, allocations: 0.6056 MB / 0.9556 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006454/2.765, allocations: 3.661 MB / 0.9592 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/2.766, allocations: 392 kB / 0.9596 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004802/2.766, allocations: 195.1 kB / 0.9598 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006563/2.767, allocations: 0.7323 MB / 0.9605 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/2.767, allocations: 44.42 kB / 0.9605 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 4.017e-06/2.767, allocations: 0 / 0.9605 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.004389/2.771, allocations: 1.372 MB / 0.9619 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/2.771, allocations: 136.4 kB / 0.962 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008815/2.772, allocations: 0.4908 MB / 0.9625 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/2.772, allocations: 42.55 kB / 0.9625 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/2.773, allocations: 387.9 kB / 0.9629 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/2.773, allocations: 159.7 kB / 0.9631 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/2.773, allocations: 14 kB / 0.9631 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.166e-05/2.773, allocations: 343.8 kB / 0.9634 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005153/2.774, allocations: 204.5 kB / 0.9636 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007043/2.774, allocations: 497 kB / 0.9641 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006784/2.775, allocations: 303.9 kB / 0.9644 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/2.775, allocations: 6.562 kB / 0.9644 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002282/2.777, allocations: 0.8222 MB / 0.9652 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/2.777, allocations: 7.656 kB / 0.9652 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/2.777, allocations: 10.75 kB / 0.9652 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002225/2.78, allocations: 280.2 kB / 0.9654 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007756/2.78, allocations: 122.6 kB / 0.9656 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/2.782, allocations: 0.8711 MB / 0.9664 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/2.783, allocations: 47.94 kB / 0.9665 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.273e-05/2.783, allocations: 42.52 kB / 0.9665 GB, free: 144.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002475/2.783, allocations: 154.9 kB / 0.9666 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/2.783, allocations: 65.81 kB / 0.9667 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/2.785, allocations: 0.7592 MB / 0.9675 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/2.785, allocations: 6.25 kB / 0.9675 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/2.785, allocations: 5.719 kB / 0.9675 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/2.785, allocations: 0 / 0.9675 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003013/2.788, allocations: 1.374 MB / 0.9688 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/2.789, allocations: 0 / 0.9688 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002016/2.791, allocations: 205.8 kB / 0.969 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001411/2.791, allocations: 24.83 kB / 0.969 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-05/2.791, allocations: 16.52 kB / 0.969 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/2.793, allocations: 2.68 MB / 0.9717 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/2.793, allocations: 6.844 kB / 0.9717 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/2.795, allocations: 1.048 MB / 0.9727 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005433/2.796, allocations: 213 kB / 0.9729 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/2.796, allocations: 17.92 kB / 0.9729 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008223/2.797, allocations: 30.05 kB / 0.9729 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/2.797, allocations: 42.86 kB / 0.973 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.453e-05/2.797, allocations: 24.22 kB / 0.973 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007157/2.798, allocations: 401.7 kB / 0.9734 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.6e-07/2.798, allocations: 3.281 kB / 0.9734 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001465/2.799, allocations: 240.9 kB / 0.9736 GB, free: 140 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003189/2.802, allocations: 2.268 MB / 0.9758 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00188/2.804, allocations: 0.5598 MB / 0.9764 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/2.804, allocations: 7.234 kB / 0.9764 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001518/2.806, allocations: 419.2 kB / 0.9768 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002806/2.809, allocations: 317.3 kB / 0.9771 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/2.812, allocations: 1.21 MB / 0.9783 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/2.813, allocations: 0.9477 MB / 0.9792 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005529/2.814, allocations: 247.7 kB / 0.9794 GB, free: 137 MB / 0.5261 GB Notification: Performance of SimCode: time 2.585e-06/2.814, allocations: 0 / 0.9794 GB, free: 137 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.452/6.266, allocations: 18.63 MB / 0.9976 GB, free: 130.9 MB / 0.5261 GB