Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.768/1.768, allocations: 171.3 MB / 178.8 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.573e-05/2.586e-05, allocations: 4 kB / 219.6 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2626, allocations: 38.76 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.743/2.006, allocations: 0.63 GB / 0.8823 GB, free: 41.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/2.006, allocations: 72.03 kB / 0.8824 GB, free: 41.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6728/2.679, allocations: 148.9 MB / 1.028 GB, free: 50.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.964e-06/2.679, allocations: 0 / 1.028 GB, free: 50.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.88e-05/2.679, allocations: 12 kB / 1.028 GB, free: 50.8 MB / 362.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.001404/2.681, allocations: 0.6592 MB / 1.028 GB, free: 50.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/2.681, allocations: 8.031 kB / 1.028 GB, free: 50.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007355/2.681, allocations: 75.41 kB / 1.029 GB, free: 50.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005231/2.682, allocations: 330.2 kB / 1.029 GB, free: 49.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/2.682, allocations: 12 kB / 1.029 GB, free: 49.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.721e-05/2.682, allocations: 20 kB / 1.029 GB, free: 49.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006184/2.683, allocations: 277.3 kB / 1.029 GB, free: 49.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007365/2.683, allocations: 390.8 kB / 1.03 GB, free: 48.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/2.683, allocations: 4.125 kB / 1.03 GB, free: 48.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.555e-05/2.684, allocations: 4 kB / 1.03 GB, free: 48.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/2.684, allocations: 11.94 kB / 1.03 GB, free: 48.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01615/2.7, allocations: 6.268 MB / 1.036 GB, free: 42.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005474/2.7, allocations: 254.9 kB / 1.036 GB, free: 41.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/2.701, allocations: 143.7 kB / 1.036 GB, free: 41.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01314/2.714, allocations: 3.494 MB / 1.039 GB, free: 37.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/2.714, allocations: 34.56 kB / 1.039 GB, free: 37.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.806e-06/2.714, allocations: 0 / 1.039 GB, free: 37.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.008245/2.722, allocations: 1.609 MB / 1.041 GB, free: 36.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/2.722, allocations: 55.41 kB / 1.041 GB, free: 36.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/2.722, allocations: 226.3 kB / 1.041 GB, free: 35.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/2.723, allocations: 29.7 kB / 1.041 GB, free: 35.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/2.723, allocations: 282.3 kB / 1.042 GB, free: 35.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/2.723, allocations: 161.6 kB / 1.042 GB, free: 35.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/2.723, allocations: 0 / 1.042 GB, free: 35.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.246e-05/2.723, allocations: 334.8 kB / 1.042 GB, free: 35.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/2.723, allocations: 137.1 kB / 1.042 GB, free: 34.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/2.724, allocations: 254.6 kB / 1.042 GB, free: 34.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001901/2.726, allocations: 324.5 kB / 1.043 GB, free: 34.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/2.726, allocations: 4 kB / 1.043 GB, free: 34.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002949/2.729, allocations: 0.6505 MB / 1.043 GB, free: 33.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/2.729, allocations: 4 kB / 1.043 GB, free: 33.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/2.729, allocations: 4 kB / 1.043 GB, free: 33.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005502/2.729, allocations: 119 kB / 1.044 GB, free: 33.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007223/2.73, allocations: 111.8 kB / 1.044 GB, free: 33.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003007/2.733, allocations: 2.525 MB / 1.046 GB, free: 30.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000621/2.734, allocations: 23.83 kB / 1.046 GB, free: 30.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/2.734, allocations: 24 kB / 1.046 GB, free: 30.7 MB / 362.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.00017/2.734, allocations: 124.8 kB / 1.046 GB, free: 30.57 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002428/2.736, allocations: 0.5459 MB / 1.047 GB, free: 30 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.875e-05/2.736, allocations: 35.62 kB / 1.047 GB, free: 29.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/2.739, allocations: 0.8045 MB / 1.048 GB, free: 29.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/2.739, allocations: 7.984 kB / 1.048 GB, free: 29.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/2.739, allocations: 0 / 1.048 GB, free: 29.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00165/2.74, allocations: 0.9183 MB / 1.049 GB, free: 28.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003051/2.743, allocations: 1.387 MB / 1.05 GB, free: 26.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/2.743, allocations: 0 / 1.05 GB, free: 26.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/2.744, allocations: 83.89 kB / 1.05 GB, free: 26.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007351/2.745, allocations: 185.4 kB / 1.05 GB, free: 26.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.03e-05/2.745, allocations: 8 kB / 1.05 GB, free: 26.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/2.746, allocations: 1.351 MB / 1.051 GB, free: 25.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/2.746, allocations: 3.938 kB / 1.051 GB, free: 25.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/2.748, allocations: 1.171 MB / 1.053 GB, free: 23.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/2.749, allocations: 124.5 kB / 1.053 GB, free: 23.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.876e-05/2.749, allocations: 0 / 1.053 GB, free: 23.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004667/2.749, allocations: 15.98 kB / 1.053 GB, free: 23.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.903e-05/2.749, allocations: 31.91 kB / 1.053 GB, free: 23.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.794e-05/2.749, allocations: 19.98 kB / 1.053 GB, free: 23.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002175/2.75, allocations: 174 kB / 1.053 GB, free: 23.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.75, allocations: 0 / 1.053 GB, free: 23.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001255/2.751, allocations: 231.9 kB / 1.053 GB, free: 23.23 MB / 362.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 {2 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004242/2.755, allocations: 2.14 MB / 1.055 GB, free: 21.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001536/2.757, allocations: 0.6381 MB / 1.056 GB, free: 20.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/2.757, allocations: 0 / 1.056 GB, free: 20.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008443/2.758, allocations: 389.3 kB / 1.056 GB, free: 20.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/2.76, allocations: 189.3 kB / 1.056 GB, free: 19.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/2.762, allocations: 1.11 MB / 1.058 GB, free: 18.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/2.763, allocations: 0.8439 MB / 1.058 GB, free: 17.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/2.763, allocations: 167.3 kB / 1.059 GB, free: 17.68 MB / 362.7 MB Notification: Performance of SimCode: time 1.964e-06/2.763, allocations: 0 / 1.059 GB, free: 17.68 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.325/6.089, allocations: 14.98 MB / 1.073 GB, free: 2.68 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat does not exist to compare? outputFormat=mat