Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,fileNamePrefix="Modelica_3_1_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.19/1.19, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.21e-05/2.215e-05, allocations: 0 / 151.5 MB, free: 15.5 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1778, allocations: 25.15 MB / 176.6 MB, free: 15.99 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.753/3.931, allocations: 1.246 GB / 1.418 GB, free: 53.86 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/3.931, allocations: 74.59 kB / 1.419 GB, free: 53.86 MB / 234.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if boundary4.medium.preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if volume.medium.preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if boundary1.medium.preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 2.278/6.21, allocations: 419.7 MB / 1.828 GB, free: 16.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/6.21, allocations: 0 / 1.828 GB, free: 16.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.972e-05/6.21, allocations: 18.78 kB / 1.828 GB, free: 16.24 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.01001/6.22, allocations: 2.515 MB / 1.831 GB, free: 14.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/6.22, allocations: 9.688 kB / 1.831 GB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004936/6.22, allocations: 137.3 kB / 1.831 GB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004558/6.221, allocations: 116.2 kB / 1.831 GB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002279/6.223, allocations: 0.6853 MB / 1.832 GB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000229/6.223, allocations: 138.7 kB / 1.832 GB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002928/6.224, allocations: 84.33 kB / 1.832 GB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003384/6.227, allocations: 1.295 MB / 1.833 GB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.98e-05/6.227, allocations: 0.75 kB / 1.833 GB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002199/6.227, allocations: 43.88 kB / 1.833 GB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/6.227, allocations: 60.97 kB / 1.833 GB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003399/6.231, allocations: 1.25 MB / 1.835 GB, free: 14.28 MB / 266.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.01238/6.243, allocations: 5.677 MB / 1.84 GB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/6.246, allocations: 0.7359 MB / 1.841 GB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009894/6.247, allocations: 405 kB / 1.841 GB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/6.248, allocations: 1.375 MB / 1.843 GB, free: 9.707 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/6.248, allocations: 44.69 kB / 1.843 GB, free: 9.668 MB / 266.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008882/6.249, allocations: 98.75 kB / 1.843 GB, free: 9.617 MB / 266.7 MB Notification: Performance of pre-optimization done (n=69): time 3.957e-06/6.249, allocations: 0 / 1.843 GB, free: 9.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=81): time 0.02574/6.275, allocations: 4.005 MB / 1.847 GB, free: 9.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/6.275, allocations: 116.5 kB / 1.847 GB, free: 9.031 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/6.276, allocations: 0.6542 MB / 1.847 GB, free: 8.891 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003042/6.277, allocations: 43.11 kB / 1.847 GB, free: 8.859 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/6.277, allocations: 494.2 kB / 1.848 GB, free: 8.535 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003398/6.277, allocations: 292.6 kB / 1.848 GB, free: 8.359 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/6.277, allocations: 22.34 kB / 1.848 GB, free: 8.359 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/6.277, allocations: 357.4 kB / 1.849 GB, free: 8.047 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/6.279, allocations: 498.4 kB / 1.849 GB, free: 8.047 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/6.28, allocations: 0.8415 MB / 1.85 GB, free: 7.621 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/6.282, allocations: 0.6698 MB / 1.85 GB, free: 7.547 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/6.282, allocations: 3.844 kB / 1.851 GB, free: 7.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01132/6.294, allocations: 2.136 MB / 1.853 GB, free: 7.371 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.35e-05/6.294, allocations: 69.34 kB / 1.853 GB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.752e-05/6.294, allocations: 10.22 kB / 1.853 GB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003833/6.298, allocations: 460.5 kB / 1.853 GB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002077/6.3, allocations: 263.7 kB / 1.853 GB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/6.302, allocations: 1.422 MB / 1.855 GB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/6.304, allocations: 117.5 kB / 1.855 GB, free: 6.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002929/6.304, allocations: 74.09 kB / 1.855 GB, free: 6.219 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: volume.mC[1]:VARIABLE(min = 0.0 unit = "kg" ) "Masses of trace substances in the fluid" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 2 (traceVolume.ind,traceSource.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004744/6.305, allocations: 189.7 kB / 1.855 GB, free: 6.086 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/6.305, allocations: 89.28 kB / 1.855 GB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004149/6.309, allocations: 1.396 MB / 1.857 GB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/6.309, allocations: 7.188 kB / 1.857 GB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/6.309, allocations: 0 / 1.857 GB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/6.309, allocations: 9.172 kB / 1.857 GB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006393/6.316, allocations: 2.439 MB / 1.859 GB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/6.316, allocations: 8.953 kB / 1.859 GB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/6.317, allocations: 154.5 kB / 1.859 GB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00237/6.32, allocations: 316.2 kB / 1.859 GB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002816/6.32, allocations: 45.64 kB / 1.859 GB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/6.321, allocations: 0.7785 MB / 1.86 GB, free: 4.957 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/6.321, allocations: 0 / 1.86 GB, free: 4.957 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008678/6.33, allocations: 2.225 MB / 1.862 GB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009883/6.331, allocations: 293.9 kB / 1.863 GB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002804/6.331, allocations: 29.09 kB / 1.863 GB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/6.333, allocations: 78.77 kB / 1.863 GB, free: 4.434 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/6.333, allocations: 56.94 kB / 1.863 GB, free: 4.434 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001751/6.333, allocations: 51.56 kB / 1.863 GB, free: 4.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000975/6.334, allocations: 0.5026 MB / 1.863 GB, free: 4.332 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.21e-07/6.334, allocations: 0 / 1.863 GB, free: 4.332 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00445/6.339, allocations: 0.8971 MB / 1.864 GB, free: 4.184 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0146/6.353, allocations: 4.816 MB / 1.869 GB, free: 18.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003743/6.357, allocations: 1.302 MB / 1.87 GB, free: 17.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/6.357, allocations: 0 / 1.87 GB, free: 17.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001578/6.359, allocations: 0.5475 MB / 1.871 GB, free: 17.44 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004151/6.363, allocations: 467.4 kB / 1.871 GB, free: 17.33 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009521/6.373, allocations: 2.397 MB / 1.874 GB, free: 16.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000921/6.374, allocations: 1.107 MB / 1.875 GB, free: 15.47 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/6.375, allocations: 388.3 kB / 1.875 GB, free: 15.13 MB / 282.7 MB Notification: Performance of SimCode: time 1.263e-06/6.375, allocations: 3.938 kB / 1.875 GB, free: 15.13 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.887/10.26, allocations: 38.3 MB / 1.912 GB, free: 27.38 MB / 282.7 MB