Running command: translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadModel(Modelica): time 0.9788/0.9788, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.526e-05/2.546e-05, allocations: 4 kB / 151.4 MB, free: 15.59 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.144, allocations: 25.16 MB / 176.5 MB, free: 15.99 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.007/3.151, allocations: 1.246 GB / 1.418 GB, free: 172 kB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/3.152, allocations: 71.97 kB / 1.418 GB, free: 100 kB / 234.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if boundary4.medium.preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if volume.medium.preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if boundary1.medium.preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 2.202/5.354, allocations: 419.7 MB / 1.828 GB, free: 13.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.824e-06/5.354, allocations: 3.906 kB / 1.828 GB, free: 13.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.574e-05/5.354, allocations: 20.78 kB / 1.828 GB, free: 13.8 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.00834/5.362, allocations: 2.516 MB / 1.831 GB, free: 12.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/5.362, allocations: 10.41 kB / 1.831 GB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005563/5.363, allocations: 109.1 kB / 1.831 GB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/5.365, allocations: 0.6867 MB / 1.832 GB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/5.365, allocations: 143.1 kB / 1.832 GB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002398/5.365, allocations: 78.41 kB / 1.832 GB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002848/5.368, allocations: 1.293 MB / 1.833 GB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.317e-05/5.368, allocations: 12.56 kB / 1.833 GB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/5.368, allocations: 35.27 kB / 1.833 GB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.921e-05/5.368, allocations: 59.81 kB / 1.833 GB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002816/5.371, allocations: 1.256 MB / 1.834 GB, free: 12.03 MB / 266.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.00999/5.381, allocations: 5.678 MB / 1.84 GB, free: 8.984 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/5.383, allocations: 0.7417 MB / 1.841 GB, free: 8.957 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008268/5.384, allocations: 398.6 kB / 1.841 GB, free: 8.949 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/5.385, allocations: 1.374 MB / 1.842 GB, free: 7.449 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/5.385, allocations: 42.66 kB / 1.842 GB, free: 7.41 MB / 266.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007133/5.386, allocations: 98.81 kB / 1.843 GB, free: 7.367 MB / 266.7 MB Notification: Performance of pre-optimization done (n=69): time 4.563e-06/5.386, allocations: 0 / 1.843 GB, free: 7.367 MB / 266.7 MB Notification: Performance of matching and sorting (n=81): time 0.01868/5.405, allocations: 4.017 MB / 1.846 GB, free: 6.906 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/5.405, allocations: 112.9 kB / 1.847 GB, free: 6.781 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/5.406, allocations: 0.6485 MB / 1.847 GB, free: 6.641 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002164/5.406, allocations: 44.48 kB / 1.847 GB, free: 6.609 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/5.406, allocations: 498.8 kB / 1.848 GB, free: 6.285 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/5.407, allocations: 290.9 kB / 1.848 GB, free: 6.109 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/5.407, allocations: 23.28 kB / 1.848 GB, free: 6.109 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.881e-05/5.407, allocations: 359.5 kB / 1.848 GB, free: 5.793 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/5.408, allocations: 497.6 kB / 1.849 GB, free: 5.789 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/5.409, allocations: 0.8378 MB / 1.85 GB, free: 5.371 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/5.411, allocations: 0.6675 MB / 1.85 GB, free: 5.301 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/5.411, allocations: 3.25 kB / 1.85 GB, free: 5.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.007832/5.419, allocations: 2.137 MB / 1.852 GB, free: 5.141 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.667e-05/5.419, allocations: 65.38 kB / 1.852 GB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/5.419, allocations: 11.06 kB / 1.852 GB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002595/5.421, allocations: 465.1 kB / 1.853 GB, free: 5.062 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/5.423, allocations: 256.9 kB / 1.853 GB, free: 5.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/5.425, allocations: 1.431 MB / 1.855 GB, free: 20.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/5.426, allocations: 110.2 kB / 1.855 GB, free: 20.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002674/5.427, allocations: 78.95 kB / 1.855 GB, free: 20.02 MB / 282.7 MB Warning: Assuming fixed start value for the following 1 variables: volume.mC[1]:VARIABLE(min = 0.0 unit = "kg" ) "Masses of trace substances in the fluid" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 2 (traceVolume.ind,traceSource.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 130 * 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: 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 6,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000439/5.427, allocations: 182.4 kB / 1.855 GB, free: 19.9 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/5.427, allocations: 86 kB / 1.855 GB, free: 19.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003515/5.431, allocations: 1.39 MB / 1.856 GB, free: 19.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/5.431, allocations: 7.125 kB / 1.856 GB, free: 19.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.032e-06/5.431, allocations: 12.95 kB / 1.856 GB, free: 19.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/5.431, allocations: 3.188 kB / 1.856 GB, free: 19.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005202/5.436, allocations: 2.439 MB / 1.859 GB, free: 19.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.206e-06/5.436, allocations: 4.875 kB / 1.859 GB, free: 19.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009559/5.437, allocations: 161.4 kB / 1.859 GB, free: 19.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001542/5.439, allocations: 316.4 kB / 1.859 GB, free: 19.35 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000182/5.439, allocations: 33.94 kB / 1.859 GB, free: 19.35 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/5.44, allocations: 0.7798 MB / 1.86 GB, free: 18.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/5.44, allocations: 4.812 kB / 1.86 GB, free: 18.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006613/5.447, allocations: 2.226 MB / 1.862 GB, free: 18.49 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008502/5.448, allocations: 297.1 kB / 1.862 GB, free: 18.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/5.448, allocations: 22.78 kB / 1.862 GB, free: 18.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/5.449, allocations: 79 kB / 1.863 GB, free: 18.35 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/5.449, allocations: 66.95 kB / 1.863 GB, free: 18.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/5.45, allocations: 43.81 kB / 1.863 GB, free: 18.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009014/5.45, allocations: 0.4987 MB / 1.863 GB, free: 18.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.6e-07/5.45, allocations: 5.312 kB / 1.863 GB, free: 18.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.003834/5.454, allocations: 0.8985 MB / 1.864 GB, free: 18.09 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 82 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004841/5.459, allocations: 1.807 MB / 1.866 GB, free: 17.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003067/5.462, allocations: 1.297 MB / 1.867 GB, free: 17.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.714e-06/5.462, allocations: 5.906 kB / 1.867 GB, free: 17.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001276/5.464, allocations: 0.54 MB / 1.868 GB, free: 17.55 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/5.466, allocations: 465.3 kB / 1.868 GB, free: 17.54 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005199/5.472, allocations: 1.89 MB / 1.87 GB, free: 17.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009105/5.473, allocations: 1.104 MB / 1.871 GB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00073/5.473, allocations: 125.1 kB / 1.871 GB, free: 16.36 MB / 282.7 MB Notification: Performance of SimCode: time 1.775e-06/5.473, allocations: 0 / 1.871 GB, free: 16.36 MB / 282.7 MB Notification: Performance of Templates: time 0.05541/5.529, allocations: 33.97 MB / 1.904 GB, free: 7.441 MB / 282.7 MB