Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.073/2.073, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.363e-05/3.372e-05, allocations: 4 kB / 292.2 MB, free: 8.746 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1143, allocations: 50.41 MB / 342.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.636/1.751, allocations: 0.5369 GB / 0.8715 GB, free: 4.766 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/1.751, allocations: 70.91 kB / 0.8716 GB, free: 4.73 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8301/2.581, allocations: 147.2 MB / 1.015 GB, free: 52.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.204e-06/2.581, allocations: 0 / 1.015 GB, free: 52.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.105e-05/2.581, allocations: 12 kB / 1.015 GB, free: 52.69 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001567/2.583, allocations: 0.6747 MB / 1.016 GB, free: 51.97 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/2.583, allocations: 8.031 kB / 1.016 GB, free: 51.96 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/2.583, allocations: 74.75 kB / 1.016 GB, free: 51.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000749/2.584, allocations: 75.5 kB / 1.016 GB, free: 51.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005644/2.584, allocations: 342.1 kB / 1.016 GB, free: 51.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/2.584, allocations: 32.77 kB / 1.016 GB, free: 51.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-05/2.584, allocations: 36 kB / 1.016 GB, free: 51.36 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008888/2.585, allocations: 446.8 kB / 1.017 GB, free: 50.88 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/2.585, allocations: 0 / 1.017 GB, free: 50.88 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.678e-05/2.585, allocations: 23.95 kB / 1.017 GB, free: 50.86 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/2.585, allocations: 15.94 kB / 1.017 GB, free: 50.84 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006437/2.586, allocations: 281.4 kB / 1.017 GB, free: 50.57 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01717/2.603, allocations: 6.34 MB / 1.023 GB, free: 43.64 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006156/2.604, allocations: 262.9 kB / 1.024 GB, free: 43.38 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/2.604, allocations: 148.8 kB / 1.024 GB, free: 43.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01354/2.618, allocations: 3.495 MB / 1.027 GB, free: 39.43 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/2.618, allocations: 39.16 kB / 1.027 GB, free: 39.39 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 3.306e-06/2.618, allocations: 0 / 1.027 GB, free: 39.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.01572/2.634, allocations: 2.279 MB / 1.029 GB, free: 37.05 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/2.634, allocations: 55.41 kB / 1.03 GB, free: 36.98 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/2.634, allocations: 263.4 kB / 1.03 GB, free: 36.72 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/2.634, allocations: 29.7 kB / 1.03 GB, free: 36.69 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/2.634, allocations: 286.4 kB / 1.03 GB, free: 36.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/2.634, allocations: 157.7 kB / 1.03 GB, free: 36.25 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/2.634, allocations: 15.94 kB / 1.03 GB, free: 36.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.385e-05/2.635, allocations: 334.8 kB / 1.031 GB, free: 35.89 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/2.635, allocations: 145.1 kB / 1.031 GB, free: 35.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004174/2.635, allocations: 266.6 kB / 1.031 GB, free: 35.44 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/2.636, allocations: 189.6 kB / 1.031 GB, free: 35.26 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/2.636, allocations: 3.953 kB / 1.031 GB, free: 35.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001405/2.637, allocations: 0.549 MB / 1.032 GB, free: 34.69 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/2.637, allocations: 10.66 kB / 1.032 GB, free: 34.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/2.637, allocations: 4 kB / 1.032 GB, free: 34.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01669/2.654, allocations: 0.8691 MB / 1.033 GB, free: 33.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/2.655, allocations: 107.9 kB / 1.033 GB, free: 33.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/2.658, allocations: 2.463 MB / 1.035 GB, free: 31.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009791/2.659, allocations: 47.94 kB / 1.035 GB, free: 31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.636e-05/2.659, allocations: 20 kB / 1.035 GB, free: 30.98 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000227/2.659, allocations: 136.8 kB / 1.035 GB, free: 30.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/2.659, allocations: 39.58 kB / 1.035 GB, free: 30.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002507/2.662, allocations: 0.8356 MB / 1.036 GB, free: 29.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/2.662, allocations: 19.92 kB / 1.036 GB, free: 29.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/2.662, allocations: 0 / 1.036 GB, free: 29.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001924/2.664, allocations: 0.9533 MB / 1.037 GB, free: 28.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003802/2.668, allocations: 1.477 MB / 1.039 GB, free: 27.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/2.668, allocations: 3.984 kB / 1.039 GB, free: 27.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007489/2.669, allocations: 71.91 kB / 1.039 GB, free: 27.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006731/2.675, allocations: 0.5866 MB / 1.039 GB, free: 26.69 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/2.675, allocations: 12 kB / 1.039 GB, free: 26.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/2.677, allocations: 1.273 MB / 1.04 GB, free: 25.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.84e-06/2.677, allocations: 3.938 kB / 1.04 GB, free: 25.35 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002983/2.68, allocations: 1.229 MB / 1.042 GB, free: 24.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/2.68, allocations: 116.6 kB / 1.042 GB, free: 23.96 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/2.68, allocations: 12 kB / 1.042 GB, free: 23.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007315/2.681, allocations: 23.89 kB / 1.042 GB, free: 23.92 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.401e-05/2.681, allocations: 31.95 kB / 1.042 GB, free: 23.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/2.681, allocations: 31.81 kB / 1.042 GB, free: 23.86 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003925/2.682, allocations: 203.1 kB / 1.042 GB, free: 23.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.01e-07/2.682, allocations: 0 / 1.042 GB, free: 23.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001725/2.683, allocations: 243.9 kB / 1.042 GB, free: 23.42 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005149/2.689, allocations: 2.168 MB / 1.044 GB, free: 21.22 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00223/2.691, allocations: 0.6616 MB / 1.045 GB, free: 20.54 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/2.691, allocations: 4 kB / 1.045 GB, free: 20.54 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002136/2.693, allocations: 432.4 kB / 1.045 GB, free: 20.12 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002907/2.696, allocations: 233.2 kB / 1.046 GB, free: 19.89 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004061/2.7, allocations: 1.143 MB / 1.047 GB, free: 18.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/2.701, allocations: 0.8441 MB / 1.048 GB, free: 17.82 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004243/2.701, allocations: 163.4 kB / 1.048 GB, free: 17.66 MB / 458.7 MB Notification: Performance of SimCode: time 1.012e-06/2.701, allocations: 3.938 kB / 1.048 GB, free: 17.66 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.95/5.651, allocations: 15.22 MB / 1.063 GB, free: 2.461 MB / 458.7 MB