Running command: translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls") Notification: Performance of loadModel(Modelica): time 0.9729/0.9729, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.577e-05/2.59e-05, allocations: 0 / 151.4 MB, free: 15.62 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1426, allocations: 25.15 MB / 176.5 MB, free: 20 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.089/3.232, allocations: 1.248 GB / 1.421 GB, free: 51.58 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/3.232, allocations: 66.64 kB / 1.421 GB, free: 51.58 MB / 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 freshAir.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 peopleSource.medium.preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 2.191/5.424, allocations: 457.6 MB / 1.868 GB, free: 13.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.773e-06/5.424, allocations: 0 / 1.868 GB, free: 13.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001157/5.424, allocations: 35.39 kB / 1.868 GB, free: 13.16 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: 308 * Number of variables: 308 Notification: Performance of Generate backend data structure: time 0.009834/5.434, allocations: 2.97 MB / 1.871 GB, free: 11.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/5.434, allocations: 8.906 kB / 1.871 GB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008306/5.435, allocations: 174.2 kB / 1.871 GB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002813/5.437, allocations: 0.9315 MB / 1.872 GB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002683/5.438, allocations: 205.2 kB / 1.872 GB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004552/5.438, allocations: 123.6 kB / 1.872 GB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004223/5.442, allocations: 1.79 MB / 1.874 GB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.851e-05/5.442, allocations: 3.406 kB / 1.874 GB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000273/5.443, allocations: 50.28 kB / 1.874 GB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/5.443, allocations: 82.7 kB / 1.874 GB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004176/5.447, allocations: 1.694 MB / 1.876 GB, free: 10.61 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.0139/5.461, allocations: 7.424 MB / 1.883 GB, free: 6.816 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002652/5.464, allocations: 1.081 MB / 1.884 GB, free: 6.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/5.465, allocations: 0.5709 MB / 1.884 GB, free: 6.215 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001367/5.466, allocations: 1.726 MB / 1.886 GB, free: 4.297 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/5.466, allocations: 55.06 kB / 1.886 GB, free: 4.246 MB / 266.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009672/5.467, allocations: 122.9 kB / 1.886 GB, free: 4.164 MB / 266.7 MB Notification: Performance of pre-optimization done (n=100): time 5.093e-06/5.467, allocations: 0 / 1.886 GB, free: 4.164 MB / 266.7 MB Notification: Performance of matching and sorting (n=112): time 0.02076/5.488, allocations: 4.853 MB / 1.891 GB, free: 2.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/5.488, allocations: 171.2 kB / 1.891 GB, free: 2.133 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Blocks/Continuous.mo:858:5-861:73:writable] Warning: Parameter PID.Td has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/5.49, allocations: 0.9071 MB / 1.892 GB, free: 1.297 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003319/5.49, allocations: 53.64 kB / 1.892 GB, free: 1.238 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003652/5.491, allocations: 0.6394 MB / 1.893 GB, free: 0.6367 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003683/5.491, allocations: 398.8 kB / 1.893 GB, free: 292 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/5.491, allocations: 32 kB / 1.893 GB, free: 260 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/5.491, allocations: 375.7 kB / 1.894 GB, free: 15.9 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/5.493, allocations: 0.6307 MB / 1.894 GB, free: 15.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002164/5.495, allocations: 1.105 MB / 1.895 GB, free: 14.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/5.497, allocations: 0.8515 MB / 1.896 GB, free: 13.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.536e-05/5.497, allocations: 4 kB / 1.896 GB, free: 13.33 MB / 282.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.006719/5.504, allocations: 2.199 MB / 1.898 GB, free: 11.38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.986e-05/5.504, allocations: 67.61 kB / 1.898 GB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.129e-05/5.504, allocations: 12 kB / 1.898 GB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002551/5.507, allocations: 472.9 kB / 1.899 GB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002101/5.509, allocations: 344.7 kB / 1.899 GB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/5.511, allocations: 1.436 MB / 1.901 GB, free: 9.215 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/5.513, allocations: 145 kB / 1.901 GB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003564/5.514, allocations: 98.7 kB / 1.901 GB, free: 9.016 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: 63 * Number of states: 0 () * Number of discrete variables: 3 (traceVolume.ind,traceSource.ind,NumberOfPeople.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 176 * 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.0005441/5.514, allocations: 200.3 kB / 1.901 GB, free: 8.816 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003755/5.515, allocations: 130.4 kB / 1.901 GB, free: 8.688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005074/5.52, allocations: 1.874 MB / 1.903 GB, free: 7.102 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/5.52, allocations: 19.95 kB / 1.903 GB, free: 7.082 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/5.52, allocations: 4 kB / 1.903 GB, free: 7.078 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.906e-05/5.52, allocations: 4.594 kB / 1.903 GB, free: 7.078 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008311/5.528, allocations: 3.295 MB / 1.906 GB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/5.528, allocations: 4 kB / 1.906 GB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/5.53, allocations: 225.2 kB / 1.906 GB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001643/5.531, allocations: 310.3 kB / 1.907 GB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002962/5.532, allocations: 39.12 kB / 1.907 GB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/5.533, allocations: 0.7889 MB / 1.907 GB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.238e-05/5.533, allocations: 12.91 kB / 1.907 GB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006028/5.539, allocations: 2.522 MB / 1.91 GB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/5.54, allocations: 382.5 kB / 1.91 GB, free: 428 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004324/5.541, allocations: 31.89 kB / 1.91 GB, free: 400 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/5.542, allocations: 98.83 kB / 1.91 GB, free: 320 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/5.543, allocations: 79.47 kB / 1.911 GB, free: 272 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002296/5.543, allocations: 70.86 kB / 1.911 GB, free: 216 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.2001/5.743, allocations: 0.7688 MB / 1.911 GB, free: 27.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.167e-06/5.743, allocations: 0.5625 kB / 1.911 GB, free: 27.5 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.004779/5.748, allocations: 1.048 MB / 1.912 GB, free: 27.5 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 5 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC[1],PID.I.y) * Number of discrete variables: 1 (NumberOfPeople.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.00554/5.753, allocations: 1.99 MB / 1.914 GB, free: 27.29 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003937/5.757, allocations: 1.64 MB / 1.916 GB, free: 27.16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.719e-06/5.757, allocations: 0 / 1.916 GB, free: 27.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001724/5.759, allocations: 0.7169 MB / 1.917 GB, free: 27.16 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003938/5.763, allocations: 0.5753 MB / 1.917 GB, free: 27.14 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005661/5.769, allocations: 2.427 MB / 1.92 GB, free: 26.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009737/5.77, allocations: 1.304 MB / 1.921 GB, free: 25.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009793/5.771, allocations: 153.7 kB / 1.921 GB, free: 25.94 MB / 282.7 MB Notification: Performance of SimCode: time 2.459e-06/5.771, allocations: 0.625 kB / 1.921 GB, free: 25.94 MB / 282.7 MB Notification: Performance of Templates: time 0.06566/5.837, allocations: 42.57 MB / 1.963 GB, free: 22.81 MB / 282.7 MB