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.787/1.787, allocations: 171.2 MB / 183.3 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.49e-05/3.51e-05, allocations: 4 kB / 225.1 MB, free: 2.215 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2745, allocations: 38.77 MB / 263.9 MB, free: 9.797 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.83/11.11, allocations: 3.68 GB / 3.938 GB, free: 15.6 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/11.11, allocations: 87.45 kB / 3.938 GB, free: 15.56 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.127/16.23, allocations: 0.8924 GB / 4.831 GB, free: 11.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.334e-06/16.23, allocations: 0 / 4.831 GB, free: 11.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003153/16.23, allocations: 83.16 kB / 4.831 GB, free: 10.94 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.02738/16.26, allocations: 5.997 MB / 4.837 GB, free: 4.863 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/16.26, allocations: 12.03 kB / 4.837 GB, free: 4.852 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002289/16.26, allocations: 446.9 kB / 4.837 GB, free: 4.402 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003507/16.27, allocations: 410.2 kB / 4.837 GB, free: 4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01127/16.28, allocations: 2.401 MB / 4.84 GB, free: 1.551 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005792/16.28, allocations: 361.2 kB / 4.84 GB, free: 1.172 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001978/16.28, allocations: 303.9 kB / 4.84 GB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01827/16.3, allocations: 5.209 MB / 4.845 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001483/16.3, allocations: 15.92 kB / 4.845 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001148/16.3, allocations: 128 kB / 4.846 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004915/16.3, allocations: 261.8 kB / 4.846 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01838/16.32, allocations: 5.485 MB / 4.851 GB, free: 5.566 MB / 426.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.408/16.73, allocations: 18.77 MB / 4.869 GB, free: 25.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0111/16.74, allocations: 3.461 MB / 4.873 GB, free: 25.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006796/16.74, allocations: 2.193 MB / 4.875 GB, free: 25.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003516/16.75, allocations: 3.22 MB / 4.878 GB, free: 22.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007577/16.76, allocations: 2.508 MB / 4.881 GB, free: 21.96 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002516/16.76, allocations: 278.6 kB / 4.881 GB, free: 21.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=314): time 1.596e-05/16.76, allocations: 2.219 kB / 4.881 GB, free: 21.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=374): time 0.2058/16.96, allocations: 30.11 MB / 4.91 GB, free: 20.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/16.96, allocations: 352 kB / 4.911 GB, free: 20.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004271/16.97, allocations: 1.832 MB / 4.912 GB, free: 19.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001341/16.97, allocations: 98.48 kB / 4.913 GB, free: 19.85 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001563/16.97, allocations: 1.305 MB / 4.914 GB, free: 19.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002409/16.97, allocations: 1.315 MB / 4.915 GB, free: 18.74 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007221/16.98, allocations: 86.78 kB / 4.915 GB, free: 18.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003576/16.98, allocations: 481.9 kB / 4.916 GB, free: 18.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007797/16.98, allocations: 2.565 MB / 4.918 GB, free: 18.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008907/16.99, allocations: 3.57 MB / 4.922 GB, free: 17.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00857/17, allocations: 3.15 MB / 4.925 GB, free: 17.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.877e-05/17, allocations: 9.688 kB / 4.925 GB, free: 17.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.0303/17.03, allocations: 8.293 MB / 4.933 GB, free: 16.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003846/17.04, allocations: 11.02 MB / 4.944 GB, free: 21.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001135/17.04, allocations: 30.88 kB / 4.944 GB, free: 21.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01187/17.05, allocations: 2.147 MB / 4.946 GB, free: 21.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008201/17.06, allocations: 0.9384 MB / 4.947 GB, free: 21.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009451/17.06, allocations: 5.912 MB / 4.952 GB, free: 17.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008631/17.07, allocations: 0.5368 MB / 4.953 GB, free: 17.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001692/17.08, allocations: 246.5 kB / 4.953 GB, free: 17.94 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/17.08, allocations: 4.406 kB / 4.953 GB, free: 17.94 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02913/17.1, allocations: 7.886 MB / 4.961 GB, free: 17.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001086/17.1, allocations: 28.38 kB / 4.961 GB, free: 17.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01032/17.12, allocations: 1.991 MB / 4.963 GB, free: 17.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008496/17.12, allocations: 0.9572 MB / 4.964 GB, free: 17.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00919/17.13, allocations: 5.776 MB / 4.969 GB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008413/17.14, allocations: 0.5284 MB / 4.97 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001677/17.14, allocations: 247.3 kB / 4.97 GB, free: 14.5 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.002672/17.15, allocations: 362 kB / 4.97 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001481/17.15, allocations: 299.8 kB / 4.971 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02533/17.17, allocations: 7.842 MB / 4.978 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.618e-05/17.17, allocations: 38.94 kB / 4.978 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/17.17, allocations: 0 / 4.978 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01851/17.19, allocations: 5.925 MB / 4.984 GB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04934/17.24, allocations: 13.46 MB / 4.997 GB, free: 5.543 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.357e-05/17.24, allocations: 4 kB / 4.997 GB, free: 5.539 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007484/17.25, allocations: 0.7067 MB / 4.998 GB, free: 4.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01665/17.27, allocations: 2.548 MB / 5.001 GB, free: 3.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001501/17.27, allocations: 178.8 kB / 5.001 GB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009751/17.28, allocations: 5.646 MB / 5.006 GB, free: 14.02 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/17.28, allocations: 4.031 kB / 5.006 GB, free: 14.01 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03767/17.31, allocations: 10.46 MB / 5.016 GB, free: 5.023 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004752/17.32, allocations: 1.054 MB / 5.017 GB, free: 4.129 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001897/17.32, allocations: 136.3 kB / 5.018 GB, free: 4.016 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0076/17.33, allocations: 417.8 kB / 5.018 GB, free: 3.742 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001308/17.33, allocations: 258 kB / 5.018 GB, free: 3.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008081/17.33, allocations: 187.7 kB / 5.018 GB, free: 3.438 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003475/17.33, allocations: 1.376 MB / 5.02 GB, free: 2.18 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.42e-07/17.33, allocations: 0 / 5.02 GB, free: 2.18 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.02173/17.36, allocations: 3.534 MB / 5.023 GB, free: 0 / 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.4311/17.79, allocations: 14.49 MB / 5.037 GB, free: 61.04 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03196/17.82, allocations: 10.49 MB / 5.048 GB, free: 60.44 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.631e-05/17.82, allocations: 4.469 kB / 5.048 GB, free: 60.44 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01023/17.83, allocations: 3.154 MB / 5.051 GB, free: 60.42 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01178/17.84, allocations: 1.323 MB / 5.052 GB, free: 60.38 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03893/17.88, allocations: 10.41 MB / 5.062 GB, free: 59.17 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004435/17.88, allocations: 2.466 MB / 5.065 GB, free: 58.39 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01703/17.9, allocations: 2.788 MB / 5.067 GB, free: 58.28 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004338/17.91, allocations: 1.417 MB / 5.069 GB, free: 58.28 MB / 458.7 MB Notification: Performance of SimCode: time 1.322e-06/17.91, allocations: 0 / 5.069 GB, free: 58.28 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7461/18.65, allocations: 164.2 MB / 5.229 GB, free: 60.98 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002553/18.65, allocations: 229.9 kB / 5.229 GB, free: 60.67 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/29.65, allocations: 1.781 kB / 5.229 GB, free: 60.67 MB / 458.7 MB