Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.668/1.668, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.148e-05/3.172e-05, allocations: 4 kB / 225.1 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.258, allocations: 38.76 MB / 263.8 MB, free: 9.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.04/10.3, allocations: 3.66 GB / 3.918 GB, free: 61.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/10.3, allocations: 77.03 kB / 3.918 GB, free: 61.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.098/13.4, allocations: 0.5462 GB / 4.464 GB, free: 28.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.364e-06/13.4, allocations: 0 / 4.464 GB, free: 28.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001015/13.4, allocations: 25.22 kB / 4.464 GB, free: 28.64 MB / 378.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.01254/13.41, allocations: 2.992 MB / 4.467 GB, free: 27.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/13.41, allocations: 13.69 kB / 4.467 GB, free: 27.01 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004613/13.41, allocations: 146.4 kB / 4.467 GB, free: 26.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007074/13.42, allocations: 120.6 kB / 4.467 GB, free: 26.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002249/13.42, allocations: 0.7299 MB / 4.468 GB, free: 26.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/13.42, allocations: 132.8 kB / 4.468 GB, free: 26.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002566/13.42, allocations: 96.86 kB / 4.468 GB, free: 26.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003193/13.42, allocations: 1.416 MB / 4.469 GB, free: 26.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.76e-05/13.42, allocations: 14.67 kB / 4.469 GB, free: 26.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/13.42, allocations: 40.19 kB / 4.469 GB, free: 26.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001168/13.42, allocations: 63 kB / 4.469 GB, free: 26.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003543/13.43, allocations: 1.416 MB / 4.471 GB, free: 26.3 MB / 378.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.01318/13.44, allocations: 5.777 MB / 4.477 GB, free: 23.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/13.44, allocations: 0.8845 MB / 4.477 GB, free: 23.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/13.44, allocations: 487.8 kB / 4.478 GB, free: 23.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001668/13.44, allocations: 1.753 MB / 4.48 GB, free: 21.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.826e-05/13.44, allocations: 50.67 kB / 4.48 GB, free: 21.59 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000904/13.45, allocations: 107.1 kB / 4.48 GB, free: 21.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 5.02e-06/13.45, allocations: 3.609 kB / 4.48 GB, free: 21.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.02555/13.47, allocations: 4.298 MB / 4.484 GB, free: 21.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/13.47, allocations: 118.4 kB / 4.484 GB, free: 20.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/13.47, allocations: 0.6519 MB / 4.485 GB, free: 20.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000229/13.47, allocations: 48.73 kB / 4.485 GB, free: 20.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/13.47, allocations: 491.7 kB / 4.485 GB, free: 20.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003506/13.47, allocations: 334.6 kB / 4.485 GB, free: 20.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/13.47, allocations: 28.95 kB / 4.486 GB, free: 20.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/13.47, allocations: 361.8 kB / 4.486 GB, free: 19.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/13.47, allocations: 0.5379 MB / 4.486 GB, free: 19.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/13.48, allocations: 0.93 MB / 4.487 GB, free: 19.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/13.48, allocations: 0.731 MB / 4.488 GB, free: 19.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/13.48, allocations: 6.594 kB / 4.488 GB, free: 19.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004673/13.48, allocations: 1.737 MB / 4.49 GB, free: 19.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001139/13.48, allocations: 4.757 MB / 4.494 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.705e-05/13.48, allocations: 14.22 kB / 4.494 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001713/13.49, allocations: 243.5 kB / 4.495 GB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002353/13.49, allocations: 283.9 kB / 4.495 GB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/13.49, allocations: 0.8201 MB / 4.496 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/13.49, allocations: 116.9 kB / 4.496 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002301/13.49, allocations: 82.05 kB / 4.496 GB, free: 13.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/13.49, allocations: 8.516 kB / 4.496 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004192/13.5, allocations: 1.665 MB / 4.497 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/13.5, allocations: 11.03 kB / 4.498 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001571/13.5, allocations: 247.3 kB / 4.498 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002251/13.5, allocations: 281.9 kB / 4.498 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/13.5, allocations: 0.8203 MB / 4.499 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/13.5, allocations: 111.1 kB / 4.499 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002509/13.5, allocations: 78.11 kB / 4.499 GB, free: 12.88 MB / 378.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.0005176/13.5, allocations: 196.3 kB / 4.499 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003321/13.5, allocations: 98.11 kB / 4.499 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004703/13.51, allocations: 1.737 MB / 4.501 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/13.51, allocations: 10.75 kB / 4.501 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/13.51, allocations: 3.516 kB / 4.501 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/13.51, allocations: 3.703 kB / 4.501 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006729/13.52, allocations: 2.777 MB / 4.504 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/13.52, allocations: 0 / 4.504 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/13.52, allocations: 183.3 kB / 4.504 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002247/13.52, allocations: 307.9 kB / 4.504 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001952/13.52, allocations: 40.61 kB / 4.504 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/13.52, allocations: 0.7904 MB / 4.505 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/13.52, allocations: 2.031 kB / 4.505 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004965/13.53, allocations: 2.175 MB / 4.507 GB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009778/13.53, allocations: 326.9 kB / 4.507 GB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002608/13.53, allocations: 23.34 kB / 4.507 GB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/13.53, allocations: 91.97 kB / 4.508 GB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/13.53, allocations: 73.28 kB / 4.508 GB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001677/13.53, allocations: 54.11 kB / 4.508 GB, free: 9.512 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009684/13.53, allocations: 0.5099 MB / 4.508 GB, free: 9.289 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/13.53, allocations: 0 / 4.508 GB, free: 9.289 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006944/13.54, allocations: 1.334 MB / 4.509 GB, free: 8.922 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (97): * Single equations (assignments): 94 * 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.01515/13.55, allocations: 5.083 MB / 4.514 GB, free: 6.477 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008144/13.56, allocations: 2.434 MB / 4.517 GB, free: 5.457 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/13.56, allocations: 3.406 kB / 4.517 GB, free: 5.457 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002452/13.56, allocations: 0.6463 MB / 4.517 GB, free: 5.023 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005009/13.57, allocations: 451.2 kB / 4.518 GB, free: 4.699 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/13.58, allocations: 2.703 MB / 4.52 GB, free: 2.324 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/13.58, allocations: 1.137 MB / 4.522 GB, free: 17.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00162/13.58, allocations: 431.6 kB / 4.522 GB, free: 16.94 MB / 394.7 MB Notification: Performance of SimCode: time 1.292e-06/13.58, allocations: 0 / 4.522 GB, free: 16.94 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.04/17.62, allocations: 40.73 MB / 4.562 GB, free: 39.65 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_res.mat does not exist to compare? outputFormat=mat