Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControls",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.879/1.879, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.537e-05/3.547e-05, allocations: 4 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2879, allocations: 38.76 MB / 263.9 MB, free: 9.719 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.41/11.7, allocations: 3.68 GB / 3.938 GB, free: 13.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/11.7, allocations: 88.02 kB / 3.938 GB, free: 13.64 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Examples/TraceSubstances.mo:112:17-112:29:writable] Warning: Non-array modification '0.01' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Examples/TraceSubstances.mo:122:23-122:37:writable] Warning: Non-array modification '0.01' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Examples/TraceSubstances.mo:168:23-168:37:writable] Warning: Non-array modification '0.01' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 5.287/16.99, allocations: 0.8924 GB / 4.831 GB, free: 9.473 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.715e-06/16.99, allocations: 4 kB / 4.831 GB, free: 9.469 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003101/16.99, allocations: 79.27 kB / 4.831 GB, free: 9.395 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 820 * Number of variables: 820 Notification: Performance of Generate backend data structure: time 0.02893/17.02, allocations: 5.997 MB / 4.837 GB, free: 3.312 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/17.02, allocations: 12.02 kB / 4.837 GB, free: 3.301 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002474/17.02, allocations: 442.9 kB / 4.837 GB, free: 2.855 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003813/17.02, allocations: 407.7 kB / 4.837 GB, free: 2.453 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01103/17.03, allocations: 2.406 MB / 4.84 GB, free: 0 / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3849/17.42, allocations: 358.3 kB / 4.84 GB, free: 18.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00208/17.42, allocations: 300.4 kB / 4.84 GB, free: 18.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01669/17.44, allocations: 5.18 MB / 4.845 GB, free: 18.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001698/17.44, allocations: 7.531 kB / 4.845 GB, free: 18.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009055/17.44, allocations: 130.9 kB / 4.846 GB, free: 18.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000416/17.44, allocations: 260.2 kB / 4.846 GB, free: 18.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01613/17.45, allocations: 5.437 MB / 4.851 GB, free: 18.31 MB / 410.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.05142/17.51, allocations: 18.76 MB / 4.869 GB, free: 27.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/17.52, allocations: 3.444 MB / 4.873 GB, free: 27.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005734/17.52, allocations: 2.191 MB / 4.875 GB, free: 27.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00402/17.53, allocations: 3.223 MB / 4.878 GB, free: 24.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00688/17.53, allocations: 2.492 MB / 4.881 GB, free: 24.02 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002104/17.54, allocations: 276.8 kB / 4.881 GB, free: 23.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=314): time 8.876e-06/17.54, allocations: 0 / 4.881 GB, free: 23.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=374): time 0.203/17.74, allocations: 30.11 MB / 4.91 GB, free: 22.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002178/17.74, allocations: 354.3 kB / 4.911 GB, free: 22.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004107/17.74, allocations: 1.83 MB / 4.912 GB, free: 21.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001343/17.74, allocations: 99.42 kB / 4.912 GB, free: 21.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001654/17.75, allocations: 1.301 MB / 4.914 GB, free: 21.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002538/17.75, allocations: 1.315 MB / 4.915 GB, free: 20.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006783/17.75, allocations: 87.62 kB / 4.915 GB, free: 20.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004446/17.75, allocations: 482.6 kB / 4.916 GB, free: 20.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007361/17.76, allocations: 2.566 MB / 4.918 GB, free: 20.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008419/17.77, allocations: 3.54 MB / 4.921 GB, free: 19.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008647/17.77, allocations: 3.151 MB / 4.925 GB, free: 19.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-05/17.77, allocations: 12.72 kB / 4.925 GB, free: 19.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.03483/17.81, allocations: 8.212 MB / 4.933 GB, free: 18.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.004787/17.81, allocations: 11.03 MB / 4.943 GB, free: 7.184 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/17.81, allocations: 28.78 kB / 4.943 GB, free: 7.184 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01197/17.83, allocations: 2.14 MB / 4.945 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008754/17.84, allocations: 0.9385 MB / 4.946 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00962/17.84, allocations: 5.913 MB / 4.952 GB, free: 19.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008692/17.85, allocations: 0.5372 MB / 4.953 GB, free: 19.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001574/17.86, allocations: 248.5 kB / 4.953 GB, free: 19.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/17.86, allocations: 5.281 kB / 4.953 GB, free: 19.73 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02569/17.88, allocations: 7.811 MB / 4.961 GB, free: 17.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001092/17.88, allocations: 29.66 kB / 4.961 GB, free: 17.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01006/17.89, allocations: 1.991 MB / 4.963 GB, free: 16.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008572/17.9, allocations: 0.9576 MB / 4.963 GB, free: 16.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008985/17.91, allocations: 5.782 MB / 4.969 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008427/17.92, allocations: 0.5238 MB / 4.97 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00157/17.92, allocations: 241.9 kB / 4.97 GB, free: 12.81 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 14 (traceVolume.ind,traceDuctIn.ind,traceDuctOut.ind,volume.regularFlow[1],volume.regularFlow[2],volume.regularFlow[3],volume.regularFlow[4],volume.inFlow[4],volume.inFlow[3],volume.inFlow[2],volume.inFlow[1],$whenCondition1,$PRE.NumberOfPeople.nextTimeEvent,NumberOfPeople.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (496): * Single equations (assignments): 486 * 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.001877/17.92, allocations: 357.9 kB / 4.97 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/17.92, allocations: 306.8 kB / 4.97 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02271/17.94, allocations: 7.839 MB / 4.978 GB, free: 7.918 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-05/17.94, allocations: 43.89 kB / 4.978 GB, free: 7.879 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/17.94, allocations: 0 / 4.978 GB, free: 7.879 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01703/17.96, allocations: 5.922 MB / 4.984 GB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04909/18.01, allocations: 13.45 MB / 4.997 GB, free: 8.227 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.392e-05/18.01, allocations: 0 / 4.997 GB, free: 8.227 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007445/18.02, allocations: 0.7166 MB / 4.998 GB, free: 7.664 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01673/18.04, allocations: 2.542 MB / 5 GB, free: 5.957 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001444/18.04, allocations: 185.1 kB / 5 GB, free: 5.816 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009581/18.05, allocations: 5.604 MB / 5.006 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/18.05, allocations: 0 / 5.006 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5227/18.57, allocations: 11.1 MB / 5.017 GB, free: 62.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006356/18.58, allocations: 1.049 MB / 5.018 GB, free: 62.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002575/18.58, allocations: 136.8 kB / 5.018 GB, free: 62.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01122/18.59, allocations: 416.2 kB / 5.018 GB, free: 62.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002409/18.59, allocations: 260.9 kB / 5.019 GB, free: 62.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002067/18.59, allocations: 186.6 kB / 5.019 GB, free: 62.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003525/18.6, allocations: 1.378 MB / 5.02 GB, free: 62.44 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.373e-06/18.6, allocations: 0 / 5.02 GB, free: 62.44 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01798/18.62, allocations: 3.234 MB / 5.023 GB, free: 62.44 MB / 458.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: 2 ($whenCondition1,NumberOfPeople.nextTimeEvent) * Number of discrete states: 1 (NumberOfPeople.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (371): * Single equations (assignments): 360 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * 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.048/18.66, allocations: 14.53 MB / 5.037 GB, free: 60.81 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03129/18.7, allocations: 10.37 MB / 5.048 GB, free: 60.23 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.39e-05/18.7, allocations: 4.875 kB / 5.048 GB, free: 60.23 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01168/18.71, allocations: 3.141 MB / 5.051 GB, free: 60.21 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01156/18.72, allocations: 1.316 MB / 5.052 GB, free: 60.17 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03853/18.76, allocations: 10.4 MB / 5.062 GB, free: 58.94 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003084/18.76, allocations: 2.464 MB / 5.064 GB, free: 58.16 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01645/18.78, allocations: 2.781 MB / 5.067 GB, free: 58.06 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004615/18.78, allocations: 1.417 MB / 5.069 GB, free: 58.05 MB / 458.7 MB Notification: Performance of SimCode: time 1.573e-06/18.78, allocations: 0 / 5.069 GB, free: 58.05 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7358/19.52, allocations: 164 MB / 5.229 GB, free: 54.91 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003304/19.52, allocations: 228.5 kB / 5.229 GB, free: 54.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/31.02, allocations: 0 / 5.229 GB, free: 54.6 MB / 458.7 MB