Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControls",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.043/2.043, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.587e-05/2.608e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3147, allocations: 44.49 MB / 294.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.46/11.78, allocations: 3.685 GB / 3.972 GB, free: 96.09 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/11.78, allocations: 82.7 kB / 3.972 GB, free: 96.09 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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 5.335/17.11, allocations: 0.89 GB / 4.862 GB, free: 21.02 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.735e-06/17.11, allocations: 4 kB / 4.862 GB, free: 21.01 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003482/17.11, allocations: 84.66 kB / 4.862 GB, free: 20.94 MB / 442.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.02862/17.14, allocations: 6.004 MB / 4.868 GB, free: 14.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/17.14, allocations: 16.03 kB / 4.868 GB, free: 14.85 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003686/17.15, allocations: 407.7 kB / 4.869 GB, free: 14.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01045/17.16, allocations: 2.403 MB / 4.871 GB, free: 12.03 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004881/17.16, allocations: 252.5 kB / 4.871 GB, free: 11.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002216/17.16, allocations: 183.9 kB / 4.871 GB, free: 11.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0149/17.18, allocations: 5.111 MB / 4.876 GB, free: 6.457 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01825/17.19, allocations: 4.786 MB / 4.881 GB, free: 1.473 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001779/17.19, allocations: 15.92 kB / 4.881 GB, free: 1.457 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001244/17.2, allocations: 8 kB / 4.881 GB, free: 1.449 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004048/17.2, allocations: 253.9 kB / 4.881 GB, free: 1.199 MB / 442.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.4704/17.67, allocations: 20.3 MB / 4.901 GB, free: 34.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01663/17.68, allocations: 3.302 MB / 4.904 GB, free: 34.16 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008787/17.69, allocations: 2.101 MB / 4.906 GB, free: 34.13 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004667/17.7, allocations: 2.72 MB / 4.909 GB, free: 31.32 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01024/17.71, allocations: 2.413 MB / 4.911 GB, free: 31.11 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003429/17.71, allocations: 193.3 kB / 4.912 GB, free: 31.11 MB / 458.7 MB Notification: Performance of pre-optimization done (n=310): time 3.446e-05/17.71, allocations: 2.781 kB / 4.912 GB, free: 31.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=370): time 0.1406/17.85, allocations: 23.76 MB / 4.935 GB, free: 29.06 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001811/17.85, allocations: 450.9 kB / 4.935 GB, free: 28.55 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003405/17.85, allocations: 1.447 MB / 4.937 GB, free: 28.37 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001498/17.86, allocations: 32.08 kB / 4.937 GB, free: 28.34 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001816/17.86, allocations: 1.33 MB / 4.938 GB, free: 27.83 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002769/17.86, allocations: 1.257 MB / 4.939 GB, free: 27.18 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001336/17.86, allocations: 5.656 kB / 4.939 GB, free: 27.18 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004889/17.86, allocations: 489 kB / 4.94 GB, free: 26.87 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00713/17.87, allocations: 2.519 MB / 4.942 GB, free: 26.85 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008117/17.88, allocations: 3.506 MB / 4.945 GB, free: 25.79 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02334/17.9, allocations: 4.517 MB / 4.95 GB, free: 25.74 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.297e-05/17.9, allocations: 8.25 kB / 4.95 GB, free: 25.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=544) (initialization): time 0.03845/17.94, allocations: 8.709 MB / 4.958 GB, free: 25.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002731/17.94, allocations: 10.92 MB / 4.969 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001654/17.94, allocations: 25.25 kB / 4.969 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01012/17.95, allocations: 1.986 MB / 4.971 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008538/17.96, allocations: 0.9418 MB / 4.972 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00986/17.97, allocations: 6.112 MB / 4.978 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00898/17.98, allocations: 475.4 kB / 4.978 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001977/17.98, allocations: 247.5 kB / 4.979 GB, free: 11.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/17.98, allocations: 5.188 kB / 4.979 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04324/18.03, allocations: 8.812 MB / 4.987 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001645/18.03, allocations: 26.41 kB / 4.987 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00966/18.04, allocations: 1.918 MB / 4.989 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00864/18.04, allocations: 0.9603 MB / 4.99 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009824/18.05, allocations: 5.933 MB / 4.996 GB, free: 23.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008377/18.06, allocations: 458.5 kB / 4.996 GB, free: 23.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001871/18.06, allocations: 245.3 kB / 4.997 GB, free: 23.72 MB / 474.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.002602/18.07, allocations: 215.4 kB / 4.997 GB, free: 23.61 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03015/18.1, allocations: 7.113 MB / 5.004 GB, free: 23.29 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002213/18.1, allocations: 271.5 kB / 5.004 GB, free: 23.15 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02605/18.13, allocations: 7.767 MB / 5.012 GB, free: 22.83 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.475e-05/18.13, allocations: 43.22 kB / 5.012 GB, free: 22.83 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/18.13, allocations: 2.625 kB / 5.012 GB, free: 22.83 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02035/18.15, allocations: 6.097 MB / 5.018 GB, free: 22.44 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05172/18.2, allocations: 13.19 MB / 5.03 GB, free: 18.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.908e-05/18.2, allocations: 6.953 kB / 5.03 GB, free: 18.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007104/18.21, allocations: 0.6863 MB / 5.031 GB, free: 18.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01398/18.22, allocations: 2.395 MB / 5.033 GB, free: 18.14 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001451/18.22, allocations: 125.8 kB / 5.034 GB, free: 18.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009785/18.23, allocations: 5.828 MB / 5.039 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/18.23, allocations: 6.281 kB / 5.039 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03971/18.27, allocations: 10.58 MB / 5.05 GB, free: 3.699 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004691/18.28, allocations: 1.01 MB / 5.051 GB, free: 2.836 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001786/18.28, allocations: 67.5 kB / 5.051 GB, free: 2.789 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007397/18.28, allocations: 353.3 kB / 5.051 GB, free: 2.582 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00157/18.29, allocations: 257.8 kB / 5.051 GB, free: 2.426 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001085/18.29, allocations: 176.3 kB / 5.051 GB, free: 2.285 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002996/18.29, allocations: 1.07 MB / 5.052 GB, free: 1.34 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.244e-06/18.29, allocations: 0 / 5.052 GB, free: 1.34 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.03005/18.32, allocations: 3.58 MB / 5.056 GB, free: 0 / 474.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.05547/18.38, allocations: 15.05 MB / 5.071 GB, free: 3.852 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.4397/18.82, allocations: 10.46 MB / 5.081 GB, free: 66.08 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.076e-05/18.82, allocations: 3.375 kB / 5.081 GB, free: 66.08 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009739/18.83, allocations: 3.029 MB / 5.084 GB, free: 66.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01108/18.84, allocations: 1.154 MB / 5.085 GB, free: 66.05 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0472/18.88, allocations: 10.02 MB / 5.095 GB, free: 64.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005758/18.89, allocations: 2.474 MB / 5.097 GB, free: 64.05 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.02343/18.91, allocations: 2.612 MB / 5.1 GB, free: 63.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00486/18.92, allocations: 1.408 MB / 5.101 GB, free: 63.99 MB / 490.7 MB Notification: Performance of SimCode: time 1.623e-06/18.92, allocations: 3.906 kB / 5.101 GB, free: 63.99 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3361/19.25, allocations: 141.6 MB / 5.239 GB, free: 5.793 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000281/19.25, allocations: 184.4 kB / 5.24 GB, free: 5.598 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/29.49, allocations: 0.9375 kB / 5.24 GB, free: 5.598 MB / 490.7 MB