Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControls",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.77/1.77, allocations: 171.2 MB / 178.8 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.225e-05/2.247e-05, allocations: 4 kB / 219.6 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2581, allocations: 38.76 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.12/10.38, allocations: 3.68 GB / 3.932 GB, free: 83.47 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/10.38, allocations: 86.16 kB / 3.932 GB, free: 83.46 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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 4.94/15.32, allocations: 0.8842 GB / 4.816 GB, free: 23.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.657e-06/15.32, allocations: 3.281 kB / 4.816 GB, free: 23.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004429/15.32, allocations: 78.25 kB / 4.816 GB, free: 23.32 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.02729/15.34, allocations: 5.993 MB / 4.822 GB, free: 20.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/15.34, allocations: 9.656 kB / 4.822 GB, free: 20.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003038/15.35, allocations: 407.3 kB / 4.823 GB, free: 20.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009495/15.36, allocations: 2.404 MB / 4.825 GB, free: 19.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003449/15.36, allocations: 253.5 kB / 4.825 GB, free: 19.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/15.36, allocations: 187.5 kB / 4.825 GB, free: 19.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0131/15.37, allocations: 5.111 MB / 4.83 GB, free: 19.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01296/15.38, allocations: 4.788 MB / 4.835 GB, free: 19.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001164/15.38, allocations: 10.56 kB / 4.835 GB, free: 19.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006618/15.38, allocations: 6.469 kB / 4.835 GB, free: 19.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004111/15.39, allocations: 262.2 kB / 4.835 GB, free: 19.15 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.04434/15.43, allocations: 18.61 MB / 4.853 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008704/15.44, allocations: 3.29 MB / 4.857 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004524/15.44, allocations: 2.095 MB / 4.859 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002784/15.45, allocations: 2.716 MB / 4.861 GB, free: 8.887 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00549/15.45, allocations: 2.406 MB / 4.864 GB, free: 8.68 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001676/15.45, allocations: 196.6 kB / 4.864 GB, free: 8.555 MB / 410.7 MB Notification: Performance of pre-optimization done (n=308): time 6.733e-06/15.45, allocations: 1.219 kB / 4.864 GB, free: 8.555 MB / 410.7 MB Notification: Performance of matching and sorting (n=368): time 0.1268/15.58, allocations: 23.73 MB / 4.887 GB, free: 6.332 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/15.58, allocations: 479.5 kB / 4.888 GB, free: 5.797 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002856/15.58, allocations: 1.441 MB / 4.889 GB, free: 5.586 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001189/15.58, allocations: 33.02 kB / 4.889 GB, free: 5.555 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001165/15.59, allocations: 1.295 MB / 4.89 GB, free: 4.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001835/15.59, allocations: 1.243 MB / 4.891 GB, free: 4.008 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004915/15.59, allocations: 6.094 kB / 4.891 GB, free: 4.008 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000481/15.59, allocations: 493.4 kB / 4.892 GB, free: 19.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005556/15.59, allocations: 2.511 MB / 4.894 GB, free: 19.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006396/15.6, allocations: 3.483 MB / 4.898 GB, free: 17.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02135/15.62, allocations: 4.507 MB / 4.902 GB, free: 16.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.031e-05/15.62, allocations: 9.812 kB / 4.902 GB, free: 16.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.04056/15.66, allocations: 9.259 MB / 4.911 GB, free: 11.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.004889/15.67, allocations: 10.66 MB / 4.922 GB, free: 404 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001302/15.67, allocations: 28 kB / 4.922 GB, free: 376 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0119/15.68, allocations: 2.074 MB / 4.924 GB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008435/15.69, allocations: 0.9425 MB / 4.925 GB, free: 14.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/15.7, allocations: 6.118 MB / 4.931 GB, free: 8.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008128/15.71, allocations: 468.7 kB / 4.931 GB, free: 8.547 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009257/15.71, allocations: 246.5 kB / 4.931 GB, free: 8.336 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/15.71, allocations: 4 kB / 4.931 GB, free: 8.332 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04556/15.75, allocations: 9.394 MB / 4.94 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001068/15.75, allocations: 28 kB / 4.941 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3452/16.1, allocations: 2.019 MB / 4.942 GB, free: 51.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00883/16.11, allocations: 0.9592 MB / 4.943 GB, free: 51.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008694/16.12, allocations: 5.923 MB / 4.949 GB, free: 48.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007256/16.12, allocations: 451.5 kB / 4.95 GB, free: 48.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007764/16.12, allocations: 241.6 kB / 4.95 GB, free: 48.71 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.001548/16.13, allocations: 217 kB / 4.95 GB, free: 48.61 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02101/16.15, allocations: 6.447 MB / 4.956 GB, free: 48.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001441/16.15, allocations: 275 kB / 4.957 GB, free: 48.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02431/16.17, allocations: 7.741 MB / 4.964 GB, free: 48.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.394e-05/16.17, allocations: 49.7 kB / 4.964 GB, free: 48.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/16.17, allocations: 0 / 4.964 GB, free: 48.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01817/16.19, allocations: 6.077 MB / 4.97 GB, free: 47.78 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03916/16.23, allocations: 12.57 MB / 4.982 GB, free: 46.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-05/16.23, allocations: 2.875 kB / 4.982 GB, free: 46.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006523/16.24, allocations: 0.6967 MB / 4.983 GB, free: 46.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01351/16.25, allocations: 2.388 MB / 4.985 GB, free: 46.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001023/16.25, allocations: 133.7 kB / 4.986 GB, free: 46.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008299/16.26, allocations: 5.818 MB / 4.991 GB, free: 43.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.739e-06/16.26, allocations: 7.188 kB / 4.991 GB, free: 43.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03122/16.29, allocations: 10.45 MB / 5.001 GB, free: 43.01 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003713/16.29, allocations: 1.012 MB / 5.002 GB, free: 42.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001178/16.3, allocations: 71.14 kB / 5.003 GB, free: 42.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005914/16.3, allocations: 348.3 kB / 5.003 GB, free: 42.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000783/16.3, allocations: 259.3 kB / 5.003 GB, free: 42.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006002/16.3, allocations: 184.5 kB / 5.003 GB, free: 42.76 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002099/16.3, allocations: 1.06 MB / 5.004 GB, free: 42.65 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.172e-06/16.3, allocations: 0 / 5.004 GB, free: 42.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01434/16.32, allocations: 2.976 MB / 5.007 GB, free: 42.64 MB / 442.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: 2 ($whenCondition1,NumberOfPeople.nextTimeEvent) * Number of discrete states: 1 (NumberOfPeople.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (363): * Single equations (assignments): 352 * 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.04238/16.36, allocations: 14.87 MB / 5.022 GB, free: 40.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02509/16.39, allocations: 10.05 MB / 5.032 GB, free: 39.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/16.39, allocations: 2.188 kB / 5.032 GB, free: 39.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007893/16.39, allocations: 3.013 MB / 5.035 GB, free: 39.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01008/16.4, allocations: 1.138 MB / 5.036 GB, free: 39.92 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03191/16.44, allocations: 10.17 MB / 5.046 GB, free: 38.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002704/16.44, allocations: 2.453 MB / 5.048 GB, free: 37.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00459/16.44, allocations: 1.462 MB / 5.049 GB, free: 36.81 MB / 442.7 MB Notification: Performance of SimCode: time 2.274e-06/16.44, allocations: 0 / 5.049 GB, free: 36.81 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.9/22.34, allocations: 166.9 MB / 5.212 GB, free: 23.67 MB / 442.7 MB