Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControls",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.711/2.711, allocations: 195 MB / 202.9 MB, free: 6.699 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.353e-05/3.368e-05, allocations: 3.312 kB / 249.8 MB, free: 5.316 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1065, allocations: 44.5 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.74/15.84, allocations: 3.685 GB / 3.972 GB, free: 21.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/15.84, allocations: 77.72 kB / 3.972 GB, free: 21.16 MB / 410.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$NumberOfPeople.getDerTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$NumberOfPeople.getTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$NumberOfPeople.getTableTimeTmin. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$NumberOfPeople.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 7.347/23.19, allocations: 0.8924 GB / 4.865 GB, free: 26.56 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.876e-06/23.19, allocations: 0 / 4.865 GB, free: 26.56 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004306/23.19, allocations: 81.59 kB / 4.865 GB, free: 26.55 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.03585/23.23, allocations: 6.02 MB / 4.871 GB, free: 23.84 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/23.23, allocations: 7.75 kB / 4.871 GB, free: 23.84 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00297/23.23, allocations: 338.1 kB / 4.871 GB, free: 23.79 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004688/23.23, allocations: 414.2 kB / 4.871 GB, free: 23.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01482/23.25, allocations: 2.394 MB / 4.874 GB, free: 23.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005956/23.25, allocations: 262.7 kB / 4.874 GB, free: 22.98 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002443/23.25, allocations: 186.5 kB / 4.874 GB, free: 22.97 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02026/23.27, allocations: 5.116 MB / 4.879 GB, free: 22.96 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02383/23.3, allocations: 4.785 MB / 4.884 GB, free: 22.41 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002581/23.3, allocations: 8.844 kB / 4.884 GB, free: 22.41 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002272/23.3, allocations: 6.5 kB / 4.884 GB, free: 22.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000681/23.3, allocations: 262.8 kB / 4.884 GB, free: 22.41 MB / 458.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.06943/23.37, allocations: 20.29 MB / 4.904 GB, free: 13 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01311/23.38, allocations: 3.309 MB / 4.907 GB, free: 12.96 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006854/23.39, allocations: 2.105 MB / 4.909 GB, free: 12.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003864/23.39, allocations: 2.716 MB / 4.912 GB, free: 10.11 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008912/23.4, allocations: 2.414 MB / 4.914 GB, free: 9.902 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003199/23.4, allocations: 190.6 kB / 4.914 GB, free: 9.777 MB / 458.7 MB Notification: Performance of pre-optimization done (n=310): time 3.161e-05/23.4, allocations: 0 / 4.914 GB, free: 9.777 MB / 458.7 MB Notification: Performance of matching and sorting (n=370): time 0.1864/23.59, allocations: 23.77 MB / 4.938 GB, free: 7.555 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001911/23.59, allocations: 466.5 kB / 4.938 GB, free: 7.051 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004409/23.6, allocations: 1.441 MB / 4.939 GB, free: 6.844 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001603/23.6, allocations: 31.44 kB / 4.939 GB, free: 6.812 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002014/23.6, allocations: 1.332 MB / 4.941 GB, free: 6.148 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002915/23.6, allocations: 1.255 MB / 4.942 GB, free: 5.332 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001483/23.6, allocations: 3.094 kB / 4.942 GB, free: 5.332 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005741/23.6, allocations: 480.8 kB / 4.942 GB, free: 5.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00903/23.61, allocations: 2.523 MB / 4.945 GB, free: 5.004 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01058/23.62, allocations: 3.499 MB / 4.948 GB, free: 3.938 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03158/23.66, allocations: 4.514 MB / 4.953 GB, free: 3.891 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.613e-05/23.66, allocations: 10.12 kB / 4.953 GB, free: 3.891 MB / 458.7 MB Notification: Performance of matching and sorting (n=544) (initialization): time 0.05255/23.71, allocations: 8.718 MB / 4.961 GB, free: 3.578 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.004745/23.71, allocations: 10.92 MB / 4.972 GB, free: 8.383 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001675/23.71, allocations: 26.44 kB / 4.972 GB, free: 8.383 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0142/23.73, allocations: 1.992 MB / 4.974 GB, free: 8.336 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01149/23.74, allocations: 0.9443 MB / 4.975 GB, free: 8.336 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/23.75, allocations: 6.113 MB / 4.981 GB, free: 4.699 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01191/23.77, allocations: 471.7 kB / 4.981 GB, free: 4.672 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002398/23.77, allocations: 249.1 kB / 4.981 GB, free: 4.637 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/23.77, allocations: 3.969 kB / 4.981 GB, free: 4.637 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06098/23.83, allocations: 8.812 MB / 4.99 GB, free: 2.438 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001601/23.83, allocations: 25.84 kB / 4.99 GB, free: 2.438 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01495/23.84, allocations: 1.919 MB / 4.992 GB, free: 1.445 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01297/23.86, allocations: 0.9539 MB / 4.993 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01468/23.87, allocations: 5.932 MB / 4.999 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01188/23.88, allocations: 448.4 kB / 4.999 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002311/23.89, allocations: 249.8 kB / 4.999 GB, free: 10.78 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 122 * Number of states: 0 () * Number of discrete variables: 16 (traceVolume.ind,traceDuctIn.ind,traceDuctOut.ind,$whenCondition1,$PRE.NumberOfPeople.nextTimeEvent,volume.regularFlow[1],volume.regularFlow[2],volume.regularFlow[3],volume.regularFlow[4],volume.inFlow[4],volume.inFlow[3],volume.inFlow[2],volume.inFlow[1],NumberOfPeople.nextTimeEvent,$PRE.NumberOfPeople.nextTimeEventScaled,NumberOfPeople.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (499): * Single equations (assignments): 489 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 6,2 6,1 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.003435/23.89, allocations: 220.3 kB / 5 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00197/23.89, allocations: 276 kB / 5 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0448/23.94, allocations: 7.764 MB / 5.007 GB, free: 4.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001102/23.94, allocations: 43.61 kB / 5.007 GB, free: 4.031 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.648e-05/23.94, allocations: 4 kB / 5.007 GB, free: 4.027 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5781/24.52, allocations: 6.278 MB / 5.014 GB, free: 52.99 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08037/24.6, allocations: 13.19 MB / 5.026 GB, free: 52.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.179e-05/24.6, allocations: 2.578 kB / 5.026 GB, free: 52.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01132/24.61, allocations: 0.6919 MB / 5.027 GB, free: 52.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02455/24.63, allocations: 2.387 MB / 5.029 GB, free: 52.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001806/24.63, allocations: 131.7 kB / 5.03 GB, free: 52.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01434/24.65, allocations: 5.823 MB / 5.035 GB, free: 48.99 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.239e-05/24.65, allocations: 3.719 kB / 5.035 GB, free: 48.99 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05892/24.71, allocations: 10.58 MB / 5.046 GB, free: 48.37 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006315/24.71, allocations: 1.015 MB / 5.047 GB, free: 48.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002533/24.72, allocations: 66.62 kB / 5.047 GB, free: 48.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01195/24.73, allocations: 349.5 kB / 5.047 GB, free: 48.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00199/24.73, allocations: 260.1 kB / 5.047 GB, free: 48.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001735/24.73, allocations: 178.5 kB / 5.047 GB, free: 48.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003847/24.74, allocations: 1.067 MB / 5.048 GB, free: 48.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.333e-06/24.74, allocations: 0 / 5.048 GB, free: 48.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.02383/24.76, allocations: 2.984 MB / 5.051 GB, free: 48.16 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 21 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC_scaled[1],ductOut.mCs_scaled[1,1],ductOut.mCs_scaled[2,1],ductOut.mediums[1].p,ductOut.mediums[1].Xi[1],ductOut.mediums[1].T,ductOut.mediums[2].p,ductOut.mediums[2].Xi[1],ductOut.mediums[2].T,PID.I.y,ductIn.mCs_scaled[1,1],ductIn.mCs_scaled[2,1],ductIn.mediums[1].p,ductIn.mediums[1].Xi[1],ductIn.mediums[1].T,ductIn.mediums[2].p,ductIn.mediums[2].Xi[1],ductIn.mediums[2].T) * Number of discrete variables: 3 ($whenCondition1,NumberOfPeople.nextTimeEvent,NumberOfPeople.nextTimeEventScaled) * Number of discrete states: 2 (NumberOfPeople.nextTimeEvent,NumberOfPeople.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (365): * Single equations (assignments): 353 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 6,2 6,2 6,2 6,2 6,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.09671/24.86, allocations: 15.07 MB / 5.066 GB, free: 46.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.05523/24.91, allocations: 10.17 MB / 5.076 GB, free: 45.56 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-05/24.91, allocations: 4.969 kB / 5.076 GB, free: 45.56 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0146/24.93, allocations: 3.03 MB / 5.079 GB, free: 45.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01856/24.94, allocations: 1.149 MB / 5.08 GB, free: 45.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0572/25, allocations: 10.02 MB / 5.09 GB, free: 44.26 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006265/25.01, allocations: 2.476 MB / 5.092 GB, free: 43.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.02566/25.03, allocations: 2.614 MB / 5.095 GB, free: 43.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007618/25.04, allocations: 1.411 MB / 5.096 GB, free: 43.38 MB / 490.7 MB Notification: Performance of SimCode: time 2.254e-06/25.04, allocations: 1.375 kB / 5.096 GB, free: 43.38 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.19/26.23, allocations: 143.6 MB / 5.237 GB, free: 46.7 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003243/26.23, allocations: 188.2 kB / 5.237 GB, free: 46.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 13.66/39.89, allocations: 0 / 5.237 GB, free: 46.52 MB / 490.7 MB