Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControls",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.275/2.275, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.625e-05/3.634e-05, allocations: 3.375 kB / 249.8 MB, free: 5.254 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1717, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.16/13.33, allocations: 3.685 GB / 3.972 GB, free: 21.31 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/13.33, allocations: 82.45 kB / 3.972 GB, free: 21.27 MB / 410.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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 6.509/19.84, allocations: 0.89 GB / 4.862 GB, free: 27.15 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.335e-06/19.84, allocations: 2.25 kB / 4.862 GB, free: 27.15 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003813/19.84, allocations: 84.22 kB / 4.862 GB, free: 27.14 MB / 458.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.03244/19.88, allocations: 6.02 MB / 4.868 GB, free: 24.39 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/19.88, allocations: 10.16 kB / 4.868 GB, free: 24.39 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004042/19.88, allocations: 412.5 kB / 4.869 GB, free: 24.21 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0115/19.89, allocations: 2.393 MB / 4.871 GB, free: 23.72 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004457/19.89, allocations: 258.2 kB / 4.871 GB, free: 23.59 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002168/19.89, allocations: 182.2 kB / 4.871 GB, free: 23.59 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0173/19.91, allocations: 5.111 MB / 4.876 GB, free: 23.57 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01946/19.93, allocations: 4.791 MB / 4.881 GB, free: 23.02 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000177/19.93, allocations: 12.06 kB / 4.881 GB, free: 23.02 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001324/19.93, allocations: 6.094 kB / 4.881 GB, free: 23.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005048/19.93, allocations: 263.6 kB / 4.881 GB, free: 23.02 MB / 458.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.06066/19.99, allocations: 20.3 MB / 4.901 GB, free: 13.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01137/20.01, allocations: 3.305 MB / 4.904 GB, free: 13.56 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006113/20.01, allocations: 2.106 MB / 4.906 GB, free: 13.53 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003496/20.02, allocations: 2.712 MB / 4.909 GB, free: 10.71 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007673/20.02, allocations: 2.421 MB / 4.911 GB, free: 10.5 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002746/20.03, allocations: 193.2 kB / 4.912 GB, free: 10.38 MB / 458.7 MB Notification: Performance of pre-optimization done (n=310): time 1.626e-05/20.03, allocations: 1.031 kB / 4.912 GB, free: 10.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=370): time 0.1744/20.2, allocations: 23.76 MB / 4.935 GB, free: 8.16 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000215/20.2, allocations: 462.4 kB / 4.935 GB, free: 7.656 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009896/20.21, allocations: 1.442 MB / 4.937 GB, free: 7.449 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00497/20.22, allocations: 29.27 kB / 4.937 GB, free: 7.418 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002173/20.22, allocations: 1.335 MB / 4.938 GB, free: 6.75 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003069/20.22, allocations: 1.254 MB / 4.939 GB, free: 5.938 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009221/20.22, allocations: 3.719 kB / 4.939 GB, free: 5.938 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004616/20.22, allocations: 483.5 kB / 4.94 GB, free: 5.625 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02008/20.24, allocations: 2.519 MB / 4.942 GB, free: 5.609 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02538/20.27, allocations: 3.497 MB / 4.946 GB, free: 4.543 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03258/20.3, allocations: 4.517 MB / 4.95 GB, free: 4.496 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.147e-05/20.3, allocations: 7.344 kB / 4.95 GB, free: 4.496 MB / 458.7 MB Notification: Performance of matching and sorting (n=544) (initialization): time 0.0456/20.35, allocations: 8.718 MB / 4.958 GB, free: 4.184 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00457/20.35, allocations: 10.92 MB / 4.969 GB, free: 8.988 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001372/20.35, allocations: 29.5 kB / 4.969 GB, free: 8.988 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01282/20.36, allocations: 1.991 MB / 4.971 GB, free: 8.941 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01044/20.37, allocations: 0.9392 MB / 4.972 GB, free: 8.941 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/20.39, allocations: 6.115 MB / 4.978 GB, free: 5.812 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01024/20.4, allocations: 471.3 kB / 4.978 GB, free: 5.785 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001938/20.4, allocations: 252.1 kB / 4.979 GB, free: 5.785 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/20.4, allocations: 6.156 kB / 4.979 GB, free: 5.785 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06302/20.46, allocations: 8.81 MB / 4.987 GB, free: 3.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001742/20.46, allocations: 29.64 kB / 4.987 GB, free: 3.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01192/20.47, allocations: 1.915 MB / 4.989 GB, free: 3.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01035/20.48, allocations: 0.9554 MB / 4.99 GB, free: 3.176 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/20.5, allocations: 5.93 MB / 4.996 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009329/20.51, allocations: 451.3 kB / 4.996 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00172/20.51, allocations: 249.2 kB / 4.997 GB, free: 13.26 MB / 490.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.002063/20.51, allocations: 227.2 kB / 4.997 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03886/20.55, allocations: 7.103 MB / 5.004 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00236/20.55, allocations: 276.8 kB / 5.004 GB, free: 7.066 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03752/20.59, allocations: 7.759 MB / 5.012 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001133/20.59, allocations: 43.14 kB / 5.012 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.887e-05/20.59, allocations: 7.938 kB / 5.012 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4838/21.07, allocations: 6.703 MB / 5.018 GB, free: 54.14 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06026/21.13, allocations: 13.19 MB / 5.031 GB, free: 53.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.183e-05/21.13, allocations: 2.906 kB / 5.031 GB, free: 53.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008489/21.14, allocations: 0.6996 MB / 5.032 GB, free: 53.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01713/21.16, allocations: 2.385 MB / 5.034 GB, free: 53.24 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001576/21.16, allocations: 129.3 kB / 5.034 GB, free: 53.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/21.17, allocations: 5.823 MB / 5.04 GB, free: 50.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/21.17, allocations: 4.156 kB / 5.04 GB, free: 50.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04178/21.21, allocations: 10.58 MB / 5.05 GB, free: 49.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004795/21.22, allocations: 1.012 MB / 5.051 GB, free: 49.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00174/21.22, allocations: 69.55 kB / 5.051 GB, free: 49.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008051/21.23, allocations: 346.9 kB / 5.052 GB, free: 49.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001315/21.23, allocations: 266 kB / 5.052 GB, free: 49.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008348/21.23, allocations: 177.8 kB / 5.052 GB, free: 49.42 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002748/21.23, allocations: 1.069 MB / 5.053 GB, free: 49.31 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.81e-07/21.23, allocations: 2.281 kB / 5.053 GB, free: 49.31 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01814/21.25, allocations: 2.977 MB / 5.056 GB, free: 49.31 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.05819/21.31, allocations: 15.06 MB / 5.071 GB, free: 47.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03316/21.34, allocations: 10.18 MB / 5.081 GB, free: 46.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.635e-05/21.34, allocations: 3.625 kB / 5.081 GB, free: 46.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01047/21.35, allocations: 3.024 MB / 5.084 GB, free: 46.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01311/21.37, allocations: 1.152 MB / 5.085 GB, free: 46.67 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04305/21.41, allocations: 10.03 MB / 5.094 GB, free: 45.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004228/21.41, allocations: 2.473 MB / 5.097 GB, free: 44.62 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01857/21.43, allocations: 2.607 MB / 5.099 GB, free: 44.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005323/21.44, allocations: 1.413 MB / 5.101 GB, free: 44.52 MB / 490.7 MB Notification: Performance of SimCode: time 1.763e-06/21.44, allocations: 3.25 kB / 5.101 GB, free: 44.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9148/22.35, allocations: 141.6 MB / 5.239 GB, free: 47.16 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003277/22.35, allocations: 199.8 kB / 5.239 GB, free: 46.97 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 12.93/35.28, allocations: 0 / 5.239 GB, free: 46.97 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls_res.mat does not exist to compare? outputFormat=mat