Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.959/1.959, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.289e-05/2.299e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2971, allocations: 44.49 MB / 294.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.28/10.58, allocations: 3.665 GB / 3.952 GB, free: 105.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/10.58, allocations: 89.91 kB / 3.952 GB, free: 105.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.901/13.48, allocations: 0.5446 GB / 4.497 GB, free: 44.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.484e-06/13.48, allocations: 2.438 kB / 4.497 GB, free: 44.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.072e-05/13.48, allocations: 19.47 kB / 4.497 GB, free: 44.9 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01177/13.49, allocations: 2.99 MB / 4.5 GB, free: 43.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/13.49, allocations: 10.69 kB / 4.5 GB, free: 43.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007392/13.49, allocations: 125.3 kB / 4.5 GB, free: 43.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/13.49, allocations: 0.7388 MB / 4.501 GB, free: 42.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/13.49, allocations: 99.38 kB / 4.501 GB, free: 42.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002241/13.5, allocations: 51.84 kB / 4.501 GB, free: 42.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002888/13.5, allocations: 1.282 MB / 4.502 GB, free: 42.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002679/13.5, allocations: 1.292 MB / 4.503 GB, free: 42.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.072e-05/13.5, allocations: 3.938 kB / 4.503 GB, free: 42.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/13.5, allocations: 7.172 kB / 4.503 GB, free: 42.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/13.5, allocations: 65.88 kB / 4.504 GB, free: 42.46 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/13.51, allocations: 6.364 MB / 4.51 GB, free: 38.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/13.52, allocations: 0.7869 MB / 4.51 GB, free: 38.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008451/13.52, allocations: 438.9 kB / 4.511 GB, free: 38.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/13.52, allocations: 1.24 MB / 4.512 GB, free: 36.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/13.52, allocations: 41.5 kB / 4.512 GB, free: 36.84 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006853/13.52, allocations: 76.86 kB / 4.512 GB, free: 36.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=76): time 4.508e-06/13.52, allocations: 1.906 kB / 4.512 GB, free: 36.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=88): time 0.02302/13.54, allocations: 4.126 MB / 4.516 GB, free: 35.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/13.54, allocations: 111.4 kB / 4.516 GB, free: 35.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009179/13.54, allocations: 0.5662 MB / 4.517 GB, free: 35.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001267/13.54, allocations: 29.64 kB / 4.517 GB, free: 35.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/13.54, allocations: 0.5185 MB / 4.517 GB, free: 34.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002828/13.54, allocations: 305 kB / 4.518 GB, free: 34.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/13.54, allocations: 2.719 kB / 4.518 GB, free: 34.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/13.54, allocations: 367.3 kB / 4.518 GB, free: 34.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/13.54, allocations: 0.5103 MB / 4.519 GB, free: 33.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/13.55, allocations: 0.9021 MB / 4.519 GB, free: 33.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007954/13.55, allocations: 1.333 MB / 4.521 GB, free: 32.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/13.55, allocations: 3.562 kB / 4.521 GB, free: 32.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.01023/13.56, allocations: 2.239 MB / 4.523 GB, free: 32.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001311/13.57, allocations: 4.76 MB / 4.528 GB, free: 27.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.882e-05/13.57, allocations: 12 kB / 4.528 GB, free: 27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/13.57, allocations: 249.9 kB / 4.528 GB, free: 26.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002243/13.57, allocations: 296.1 kB / 4.528 GB, free: 26.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/13.57, allocations: 0.833 MB / 4.529 GB, free: 25.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/13.57, allocations: 97.66 kB / 4.529 GB, free: 25.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/13.57, allocations: 79.69 kB / 4.529 GB, free: 25.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/13.57, allocations: 4 kB / 4.529 GB, free: 25.6 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009795/13.58, allocations: 2.122 MB / 4.531 GB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/13.58, allocations: 12 kB / 4.531 GB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/13.58, allocations: 244.6 kB / 4.531 GB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001981/13.59, allocations: 283.9 kB / 4.532 GB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/13.59, allocations: 0.8512 MB / 4.533 GB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/13.59, allocations: 78.14 kB / 4.533 GB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000194/13.59, allocations: 83.25 kB / 4.533 GB, free: 22.46 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 6 (traceVolume.ind,traceSource.ind,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 (153): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 2 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004468/13.59, allocations: 141.7 kB / 4.533 GB, free: 22.32 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009454/13.6, allocations: 1.724 MB / 4.535 GB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002676/13.6, allocations: 90.97 kB / 4.535 GB, free: 20.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005731/13.6, allocations: 1.69 MB / 4.536 GB, free: 19.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/13.6, allocations: 12 kB / 4.536 GB, free: 19.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/13.61, allocations: 0 / 4.536 GB, free: 19.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/13.61, allocations: 3.844 kB / 4.536 GB, free: 19.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008186/13.61, allocations: 3.249 MB / 4.539 GB, free: 16.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/13.61, allocations: 4 kB / 4.539 GB, free: 16.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/13.61, allocations: 171.7 kB / 4.54 GB, free: 16.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00212/13.62, allocations: 317.2 kB / 4.54 GB, free: 16.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/13.62, allocations: 34.38 kB / 4.54 GB, free: 16.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/13.62, allocations: 0.8109 MB / 4.541 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/13.62, allocations: 4 kB / 4.541 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005778/13.62, allocations: 2.33 MB / 4.543 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008193/13.62, allocations: 316.2 kB / 4.543 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002902/13.63, allocations: 11.42 kB / 4.543 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/13.63, allocations: 58.67 kB / 4.543 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/13.63, allocations: 81.75 kB / 4.543 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/13.63, allocations: 50.84 kB / 4.544 GB, free: 12.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008151/13.63, allocations: 430.7 kB / 4.544 GB, free: 12.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.01e-07/13.63, allocations: 0 / 4.544 GB, free: 12.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005753/13.63, allocations: 1.259 MB / 4.545 GB, free: 11.21 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 89 * 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: 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0137/13.65, allocations: 5.803 MB / 4.551 GB, free: 6.051 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006026/13.65, allocations: 2.308 MB / 4.553 GB, free: 3.895 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/13.65, allocations: 4 kB / 4.553 GB, free: 3.891 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001611/13.66, allocations: 0.6037 MB / 4.554 GB, free: 3.344 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003334/13.66, allocations: 373.2 kB / 4.554 GB, free: 3.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009851/13.67, allocations: 2.607 MB / 4.557 GB, free: 344 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3167/13.99, allocations: 1.134 MB / 4.558 GB, free: 42.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001465/13.99, allocations: 417.4 kB / 4.558 GB, free: 42.22 MB / 426.7 MB Notification: Performance of SimCode: time 1.542e-06/13.99, allocations: 3.375 kB / 4.558 GB, free: 42.22 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.588/17.57, allocations: 39.89 MB / 4.597 GB, free: 40.47 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_res.mat does not exist to compare? outputFormat=mat