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 1.911/1.911, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.566e-05/3.608e-05, allocations: 0 / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1181, allocations: 44.5 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.42/11.53, allocations: 3.685 GB / 3.978 GB, free: 104.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/11.53, allocations: 83 kB / 3.978 GB, free: 104.1 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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 5.229/16.76, allocations: 0.8983 GB / 4.877 GB, free: 24.59 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.114e-06/16.76, allocations: 2.188 kB / 4.877 GB, free: 24.59 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003531/16.76, allocations: 86.89 kB / 4.877 GB, free: 24.57 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.02904/16.79, allocations: 6.021 MB / 4.883 GB, free: 21.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/16.79, allocations: 7.5 kB / 4.883 GB, free: 21.61 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002442/16.8, allocations: 451.2 kB / 4.883 GB, free: 21.55 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003337/16.8, allocations: 414.4 kB / 4.884 GB, free: 21.36 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0102/16.81, allocations: 2.391 MB / 4.886 GB, free: 20.87 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005519/16.81, allocations: 362.1 kB / 4.886 GB, free: 20.74 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001981/16.81, allocations: 308.5 kB / 4.886 GB, free: 20.73 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01619/16.83, allocations: 5.175 MB / 4.892 GB, free: 20.19 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001451/16.83, allocations: 11.78 kB / 4.892 GB, free: 20.19 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001074/16.83, allocations: 127 kB / 4.892 GB, free: 20.19 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004321/16.83, allocations: 261.5 kB / 4.892 GB, free: 20.18 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01665/16.85, allocations: 5.443 MB / 4.897 GB, free: 20.16 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.05396/16.9, allocations: 20.46 MB / 4.917 GB, free: 11.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01051/16.91, allocations: 3.457 MB / 4.921 GB, free: 11.05 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005852/16.92, allocations: 2.201 MB / 4.923 GB, free: 11.03 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003404/16.92, allocations: 3.221 MB / 4.926 GB, free: 7.648 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007509/16.93, allocations: 2.509 MB / 4.928 GB, free: 7.473 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002625/16.93, allocations: 275 kB / 4.929 GB, free: 7.324 MB / 458.7 MB Notification: Performance of pre-optimization done (n=316): time 1.22e-05/16.93, allocations: 0 / 4.929 GB, free: 7.324 MB / 458.7 MB Notification: Performance of matching and sorting (n=376): time 0.2156/17.15, allocations: 30.49 MB / 4.958 GB, free: 11.59 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002012/17.15, allocations: 329 kB / 4.959 GB, free: 11.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004955/17.15, allocations: 1.838 MB / 4.96 GB, free: 9.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001499/17.15, allocations: 97.7 kB / 4.961 GB, free: 9.418 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002006/17.15, allocations: 1.306 MB / 4.962 GB, free: 8.234 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002814/17.16, allocations: 1.322 MB / 4.963 GB, free: 7.047 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/17.16, allocations: 88 kB / 4.963 GB, free: 6.961 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005332/17.16, allocations: 490.5 kB / 4.964 GB, free: 6.527 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008392/17.17, allocations: 2.577 MB / 4.966 GB, free: 4.254 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00977/17.18, allocations: 3.549 MB / 4.97 GB, free: 0.668 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4283/17.61, allocations: 3.822 MB / 4.973 GB, free: 38.46 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.252e-05/17.61, allocations: 12.34 kB / 4.973 GB, free: 38.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=544) (initialization): time 0.04122/17.65, allocations: 8.877 MB / 4.982 GB, free: 38.17 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002916/17.65, allocations: 11.12 MB / 4.993 GB, free: 26.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001233/17.65, allocations: 29.28 kB / 4.993 GB, free: 26.51 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01232/17.66, allocations: 2.137 MB / 4.995 GB, free: 26.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008569/17.67, allocations: 0.9443 MB / 4.996 GB, free: 26.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008921/17.68, allocations: 5.924 MB / 5.002 GB, free: 23.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008822/17.69, allocations: 0.5306 MB / 5.002 GB, free: 23.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001605/17.69, allocations: 247.6 kB / 5.003 GB, free: 23.36 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/17.69, allocations: 2.094 kB / 5.003 GB, free: 23.36 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02714/17.72, allocations: 7.844 MB / 5.01 GB, free: 23.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001162/17.72, allocations: 27.91 kB / 5.01 GB, free: 23.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/17.73, allocations: 1.985 MB / 5.012 GB, free: 23.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0087/17.74, allocations: 0.957 MB / 5.013 GB, free: 23.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008444/17.75, allocations: 5.778 MB / 5.019 GB, free: 19.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008442/17.75, allocations: 0.5255 MB / 5.019 GB, free: 19.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001733/17.76, allocations: 243 kB / 5.019 GB, free: 19.95 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.002634/17.76, allocations: 368.2 kB / 5.02 GB, free: 19.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001472/17.76, allocations: 299 kB / 5.02 GB, free: 19.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02452/17.78, allocations: 7.858 MB / 5.028 GB, free: 19.56 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.66e-05/17.78, allocations: 42.28 kB / 5.028 GB, free: 19.56 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/17.78, allocations: 0 / 5.028 GB, free: 19.56 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01747/17.8, allocations: 5.944 MB / 5.034 GB, free: 19.17 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04387/17.85, allocations: 12.72 MB / 5.046 GB, free: 18.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.7e-05/17.85, allocations: 2.438 kB / 5.046 GB, free: 18.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007476/17.85, allocations: 0.7018 MB / 5.047 GB, free: 18.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01672/17.87, allocations: 2.55 MB / 5.049 GB, free: 18.47 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001628/17.87, allocations: 182 kB / 5.049 GB, free: 18.47 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008342/17.88, allocations: 5.609 MB / 5.055 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/17.88, allocations: 1.75 kB / 5.055 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05916/17.94, allocations: 11.04 MB / 5.066 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004756/17.94, allocations: 1.06 MB / 5.067 GB, free: 14.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00216/17.95, allocations: 136 kB / 5.067 GB, free: 14.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009908/17.96, allocations: 418.5 kB / 5.067 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001915/17.96, allocations: 258.2 kB / 5.067 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001454/17.96, allocations: 186.5 kB / 5.068 GB, free: 14.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005037/17.97, allocations: 1.389 MB / 5.069 GB, free: 14.23 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.122e-06/17.97, allocations: 0 / 5.069 GB, free: 14.23 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.02464/17.99, allocations: 3.248 MB / 5.072 GB, free: 14.23 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (373): * Single equations (assignments): 361 * 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.05607/18.05, allocations: 15.16 MB / 5.087 GB, free: 28.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03097/18.08, allocations: 10.44 MB / 5.097 GB, free: 25.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-05/18.08, allocations: 4.844 kB / 5.097 GB, free: 25.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01013/18.09, allocations: 3.141 MB / 5.1 GB, free: 24.49 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01227/18.1, allocations: 1.326 MB / 5.102 GB, free: 24.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03581/18.14, allocations: 10.41 MB / 5.112 GB, free: 21.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003135/18.14, allocations: 2.471 MB / 5.114 GB, free: 19.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01573/18.15, allocations: 2.785 MB / 5.117 GB, free: 17.65 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004299/18.16, allocations: 1.425 MB / 5.118 GB, free: 16.36 MB / 490.7 MB Notification: Performance of SimCode: time 1.082e-06/18.16, allocations: 0 / 5.118 GB, free: 16.36 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8677/19.03, allocations: 164.3 MB / 5.279 GB, free: 55.09 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002697/19.03, allocations: 232.8 kB / 5.279 GB, free: 54.78 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/30.98, allocations: 0 / 5.279 GB, free: 54.78 MB / 0.4948 GB