Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControls",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.952/1.952, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.335e-05/2.351e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3261, allocations: 44.49 MB / 294.2 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.38/10.71, allocations: 3.685 GB / 3.972 GB, free: 96.13 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/10.71, allocations: 86.95 kB / 3.972 GB, free: 96.13 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.039/15.75, allocations: 0.89 GB / 4.862 GB, free: 21.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.395e-06/15.75, allocations: 4 kB / 4.862 GB, free: 21.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000334/15.75, allocations: 83.34 kB / 4.862 GB, free: 21.16 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.02753/15.78, allocations: 6.016 MB / 4.868 GB, free: 15.08 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/15.78, allocations: 12.03 kB / 4.868 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003617/15.78, allocations: 413.4 kB / 4.868 GB, free: 14.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01045/15.79, allocations: 2.395 MB / 4.871 GB, free: 12.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006343/15.79, allocations: 260.5 kB / 4.871 GB, free: 11.97 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002138/15.79, allocations: 183.9 kB / 4.871 GB, free: 11.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01399/15.81, allocations: 5.111 MB / 4.876 GB, free: 6.672 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/15.82, allocations: 4.786 MB / 4.881 GB, free: 1.688 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/15.82, allocations: 11.94 kB / 4.881 GB, free: 1.676 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007671/15.82, allocations: 8 kB / 4.881 GB, free: 1.668 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003819/15.82, allocations: 253.9 kB / 4.881 GB, free: 1.418 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.4237/16.25, allocations: 20.3 MB / 4.901 GB, free: 34.54 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/16.26, allocations: 3.303 MB / 4.904 GB, free: 34.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005499/16.26, allocations: 2.102 MB / 4.906 GB, free: 34.47 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002886/16.26, allocations: 2.713 MB / 4.909 GB, free: 31.66 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006212/16.27, allocations: 2.424 MB / 4.911 GB, free: 31.45 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001959/16.27, allocations: 186.8 kB / 4.911 GB, free: 31.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=310): time 1.013e-05/16.27, allocations: 0 / 4.911 GB, free: 31.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=370): time 0.1341/16.41, allocations: 23.76 MB / 4.935 GB, free: 29.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001621/16.41, allocations: 463.8 kB / 4.935 GB, free: 28.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003091/16.41, allocations: 1.441 MB / 4.937 GB, free: 28.71 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001326/16.41, allocations: 37.14 kB / 4.937 GB, free: 28.68 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001357/16.41, allocations: 1.293 MB / 4.938 GB, free: 28.11 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002226/16.41, allocations: 1.249 MB / 4.939 GB, free: 27.46 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005793/16.42, allocations: 3.562 kB / 4.939 GB, free: 27.46 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003171/16.42, allocations: 488.3 kB / 4.94 GB, free: 27.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006365/16.42, allocations: 2.523 MB / 4.942 GB, free: 27.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007424/16.43, allocations: 3.507 MB / 4.945 GB, free: 26.06 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02232/16.45, allocations: 4.512 MB / 4.95 GB, free: 26.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.989e-05/16.45, allocations: 7.312 kB / 4.95 GB, free: 26.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=544) (initialization): time 0.03499/16.49, allocations: 8.615 MB / 4.958 GB, free: 25.76 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002424/16.49, allocations: 10.75 MB / 4.969 GB, free: 14.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001255/16.49, allocations: 28 kB / 4.969 GB, free: 14.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00977/16.5, allocations: 1.998 MB / 4.971 GB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008197/16.51, allocations: 0.9338 MB / 4.972 GB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009329/16.52, allocations: 6.117 MB / 4.978 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008395/16.53, allocations: 468.5 kB / 4.978 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001596/16.53, allocations: 248.4 kB / 4.978 GB, free: 11.37 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/16.53, allocations: 3.375 kB / 4.978 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03975/16.57, allocations: 8.812 MB / 4.987 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001464/16.57, allocations: 27.12 kB / 4.987 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009423/16.58, allocations: 1.923 MB / 4.989 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008398/16.59, allocations: 0.9623 MB / 4.99 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008828/16.59, allocations: 5.926 MB / 4.996 GB, free: 24.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007407/16.6, allocations: 446.5 kB / 4.996 GB, free: 24.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001577/16.6, allocations: 249.1 kB / 4.996 GB, free: 24.04 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.001994/16.61, allocations: 223.6 kB / 4.996 GB, free: 23.93 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02827/16.63, allocations: 7.105 MB / 5.003 GB, free: 23.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001999/16.64, allocations: 272.6 kB / 5.004 GB, free: 23.48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02671/16.66, allocations: 7.764 MB / 5.011 GB, free: 23.16 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.52e-05/16.66, allocations: 44.28 kB / 5.011 GB, free: 23.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/16.66, allocations: 6.234 kB / 5.011 GB, free: 23.16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02016/16.68, allocations: 6.101 MB / 5.017 GB, free: 22.76 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04705/16.73, allocations: 13.19 MB / 5.03 GB, free: 18.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.563e-05/16.73, allocations: 3.844 kB / 5.03 GB, free: 18.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006786/16.74, allocations: 0.6964 MB / 5.031 GB, free: 18.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01351/16.75, allocations: 2.387 MB / 5.033 GB, free: 18.49 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001304/16.75, allocations: 134.4 kB / 5.033 GB, free: 18.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008859/16.76, allocations: 5.83 MB / 5.039 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/16.76, allocations: 0 / 5.039 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03721/16.8, allocations: 10.58 MB / 5.049 GB, free: 4.039 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004522/16.8, allocations: 1.007 MB / 5.05 GB, free: 3.18 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001703/16.8, allocations: 75.83 kB / 5.05 GB, free: 3.125 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006863/16.81, allocations: 347.3 kB / 5.051 GB, free: 2.922 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001275/16.81, allocations: 261.6 kB / 5.051 GB, free: 2.766 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007773/16.81, allocations: 174.4 kB / 5.051 GB, free: 2.625 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002543/16.82, allocations: 1.069 MB / 5.052 GB, free: 1.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.71e-07/16.82, allocations: 1.906 kB / 5.052 GB, free: 1.68 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01822/16.83, allocations: 3.042 MB / 5.055 GB, free: 15.25 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.05181/16.89, allocations: 15.04 MB / 5.07 GB, free: 3.109 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.4345/17.32, allocations: 10.7 MB / 5.08 GB, free: 66.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.312e-05/17.32, allocations: 6 kB / 5.08 GB, free: 66.87 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01301/17.33, allocations: 3.02 MB / 5.083 GB, free: 66.86 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01475/17.35, allocations: 1.157 MB / 5.084 GB, free: 66.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05274/17.4, allocations: 10.18 MB / 5.094 GB, free: 65.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005925/17.41, allocations: 2.453 MB / 5.097 GB, free: 64.81 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007816/17.41, allocations: 1.482 MB / 5.098 GB, free: 64.81 MB / 490.7 MB Notification: Performance of SimCode: time 2.955e-06/17.41, allocations: 0 / 5.098 GB, free: 64.81 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.16/23.57, allocations: 167.3 MB / 5.261 GB, free: 81.08 MB / 0.4949 GB