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.766/1.766, allocations: 171.3 MB / 178.4 MB, free: 156 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.691e-05/2.706e-05, allocations: 8 kB / 219.6 MB, free: 6.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2755, allocations: 38.76 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.69/10.97, allocations: 3.68 GB / 3.932 GB, free: 83.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/10.97, allocations: 85.22 kB / 3.932 GB, free: 83.26 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 5.188/16.15, allocations: 0.8842 GB / 4.816 GB, free: 23.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.085e-06/16.15, allocations: 0 / 4.816 GB, free: 23.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005132/16.16, allocations: 78.84 kB / 4.816 GB, free: 23.23 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.03937/16.19, allocations: 6.001 MB / 4.822 GB, free: 20.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.794e-05/16.19, allocations: 9.125 kB / 4.822 GB, free: 20.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005276/16.2, allocations: 409.3 kB / 4.823 GB, free: 20.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01561/16.22, allocations: 2.403 MB / 4.825 GB, free: 19.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007805/16.22, allocations: 259 kB / 4.825 GB, free: 19.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002713/16.22, allocations: 181.8 kB / 4.825 GB, free: 19.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02242/16.24, allocations: 5.105 MB / 4.83 GB, free: 19.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02364/16.27, allocations: 4.784 MB / 4.835 GB, free: 19.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002594/16.27, allocations: 11.25 kB / 4.835 GB, free: 19.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002076/16.27, allocations: 6.625 kB / 4.835 GB, free: 19.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006222/16.27, allocations: 271.9 kB / 4.835 GB, free: 19.05 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.07048/16.34, allocations: 18.62 MB / 4.854 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0136/16.35, allocations: 3.286 MB / 4.857 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007157/16.36, allocations: 2.091 MB / 4.859 GB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002985/16.36, allocations: 2.722 MB / 4.861 GB, free: 8.793 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00725/16.37, allocations: 2.401 MB / 4.864 GB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0025/16.37, allocations: 194.5 kB / 4.864 GB, free: 8.461 MB / 410.7 MB Notification: Performance of pre-optimization done (n=308): time 1.773e-05/16.37, allocations: 0 / 4.864 GB, free: 8.461 MB / 410.7 MB Notification: Performance of matching and sorting (n=368): time 0.139/16.51, allocations: 23.73 MB / 4.887 GB, free: 6.238 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003753/16.51, allocations: 480.4 kB / 4.888 GB, free: 21.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003184/16.52, allocations: 1.441 MB / 4.889 GB, free: 21.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001304/16.52, allocations: 29.58 kB / 4.889 GB, free: 21.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001511/16.52, allocations: 1.33 MB / 4.89 GB, free: 20.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002211/16.52, allocations: 1.25 MB / 4.892 GB, free: 19.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007228/16.52, allocations: 3.312 kB / 4.892 GB, free: 19.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004323/16.52, allocations: 481.2 kB / 4.892 GB, free: 19.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006321/16.53, allocations: 2.514 MB / 4.894 GB, free: 19.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007366/16.54, allocations: 3.49 MB / 4.898 GB, free: 17.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02233/16.56, allocations: 4.506 MB / 4.902 GB, free: 16.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.506e-05/16.56, allocations: 8.312 kB / 4.902 GB, free: 16.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.04451/16.6, allocations: 9.351 MB / 4.911 GB, free: 11.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.005551/16.61, allocations: 10.83 MB / 4.922 GB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001372/16.61, allocations: 27.94 kB / 4.922 GB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01061/16.62, allocations: 1.986 MB / 4.924 GB, free: 14.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008865/16.63, allocations: 0.9327 MB / 4.925 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/16.64, allocations: 6.123 MB / 4.931 GB, free: 8.098 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008873/16.65, allocations: 472.9 kB / 4.931 GB, free: 7.801 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001913/16.65, allocations: 248.8 kB / 4.932 GB, free: 7.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/16.65, allocations: 9.75 kB / 4.932 GB, free: 7.586 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04924/16.7, allocations: 9.394 MB / 4.941 GB, free: 216 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001363/16.7, allocations: 28 kB / 4.941 GB, free: 188 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.4057/17.11, allocations: 1.964 MB / 4.943 GB, free: 51.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008598/17.11, allocations: 0.9575 MB / 4.944 GB, free: 51.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008633/17.12, allocations: 5.924 MB / 4.949 GB, free: 48.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007827/17.13, allocations: 454.6 kB / 4.95 GB, free: 48.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001433/17.13, allocations: 240.4 kB / 4.95 GB, free: 48.66 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.001937/17.13, allocations: 216.9 kB / 4.95 GB, free: 48.55 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02337/17.16, allocations: 6.442 MB / 4.957 GB, free: 48.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001864/17.16, allocations: 277.6 kB / 4.957 GB, free: 48.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02937/17.19, allocations: 7.742 MB / 4.964 GB, free: 48.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.898e-05/17.19, allocations: 47.09 kB / 4.964 GB, free: 48.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-05/17.19, allocations: 0 / 4.964 GB, free: 48.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02185/17.21, allocations: 6.084 MB / 4.97 GB, free: 47.72 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04588/17.26, allocations: 12.57 MB / 4.983 GB, free: 46.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.757e-05/17.26, allocations: 3.344 kB / 4.983 GB, free: 46.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006796/17.26, allocations: 0.6938 MB / 4.983 GB, free: 46.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01375/17.28, allocations: 2.382 MB / 4.986 GB, free: 46.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001345/17.28, allocations: 132 kB / 4.986 GB, free: 46.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009003/17.29, allocations: 5.824 MB / 4.991 GB, free: 43.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/17.29, allocations: 3.281 kB / 4.991 GB, free: 43.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03562/17.32, allocations: 10.45 MB / 5.002 GB, free: 42.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004208/17.33, allocations: 1.013 MB / 5.003 GB, free: 42.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001922/17.33, allocations: 71.36 kB / 5.003 GB, free: 42.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007043/17.34, allocations: 348.8 kB / 5.003 GB, free: 42.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001342/17.34, allocations: 253.3 kB / 5.003 GB, free: 42.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001095/17.34, allocations: 184.2 kB / 5.003 GB, free: 42.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002483/17.34, allocations: 1.06 MB / 5.004 GB, free: 42.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.21e-07/17.34, allocations: 0 / 5.004 GB, free: 42.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01689/17.36, allocations: 2.974 MB / 5.007 GB, free: 42.59 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.04867/17.41, allocations: 14.87 MB / 5.022 GB, free: 40.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02869/17.44, allocations: 10.1 MB / 5.032 GB, free: 39.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-05/17.44, allocations: 4.688 kB / 5.032 GB, free: 39.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00964/17.45, allocations: 3.011 MB / 5.035 GB, free: 39.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01109/17.46, allocations: 1.142 MB / 5.036 GB, free: 39.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03721/17.49, allocations: 10 MB / 5.046 GB, free: 38.59 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003967/17.5, allocations: 2.468 MB / 5.048 GB, free: 37.65 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01644/17.52, allocations: 2.619 MB / 5.051 GB, free: 37.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004933/17.52, allocations: 1.383 MB / 5.052 GB, free: 36.54 MB / 442.7 MB Notification: Performance of SimCode: time 1.282e-06/17.52, allocations: 2.906 kB / 5.052 GB, free: 36.54 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6959/18.22, allocations: 141.3 MB / 5.19 GB, free: 44.71 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/18.22, allocations: 187.8 kB / 5.19 GB, free: 44.51 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.284/27.5, allocations: 0 / 5.19 GB, free: 44.51 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls_res.mat does not exist to compare? outputFormat=mat