Running command: "" <> buildModelFMU(Chemical.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Chemical_Chemical_Examples_AcidBase_CarbonDioxideInWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Chemical): time 2.151/2.151, allocations: 215.4 MB / 227.5 MB, free: 360 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.676e-05/3.681e-05, allocations: 3.984 kB / 280.5 MB, free: 11.66 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1111, allocations: 50.01 MB / 330.5 MB, free: 9.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4835/0.5946, allocations: 89.74 MB / 420.3 MB, free: 7.996 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/0.595, allocations: 70.47 kB / 420.3 MB, free: 7.965 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:3528:7-3528:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System solution.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Solution. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:2614:7-2614:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System HCO3.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$HCO3. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:2614:7-2614:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System CO2_gas.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Sources.ExternalIdealGasSubstance$CO2_gas. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:1740:7-1740:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System CO2_gas.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Sources.ExternalIdealGasSubstance$CO2_gas. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:2614:7-2614:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System H.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$H. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:2614:7-2614:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System CO2_liquid.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$CO2_liquid. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:2614:7-2614:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System CO3.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$CO3. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:2614:7-2614:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System liquidWater.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$liquidWater. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.3314/0.9264, allocations: 70.06 MB / 490.4 MB, free: 7.996 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.9265, allocations: 0 / 490.4 MB, free: 7.996 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001956/0.9267, allocations: 40.14 kB / 490.4 MB, free: 7.957 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.009574/0.9363, allocations: 1.914 MB / 492.4 MB, free: 5.992 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.601e-05/0.9364, allocations: 8.031 kB / 492.4 MB, free: 5.984 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008197/0.9372, allocations: 198.3 kB / 492.6 MB, free: 5.781 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000867/0.9381, allocations: 185.8 kB / 492.7 MB, free: 5.598 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007252/0.9454, allocations: 1.418 MB / 494.2 MB, free: 4.121 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002699/0.9457, allocations: 106.6 kB / 494.3 MB, free: 4.016 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001229/0.947, allocations: 135.9 kB / 494.4 MB, free: 3.883 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01094/0.9579, allocations: 2.09 MB / 496.5 MB, free: 1.754 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.997e-05/0.9581, allocations: 3.984 kB / 496.5 MB, free: 1.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005329/0.9586, allocations: 52 kB / 496.5 MB, free: 1.699 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001663/0.9588, allocations: 39.98 kB / 496.6 MB, free: 1.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01649/0.9753, allocations: 3.468 MB / 0.4883 GB, free: 14.19 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.03237/1.008, allocations: 7.441 MB / 0.4956 GB, free: 6.504 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02416/1.032, allocations: 5.431 MB / 0.5009 GB, free: 0.957 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003467/1.036, allocations: 1.14 MB / 0.502 GB, free: 15.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009604/1.045, allocations: 6.406 MB / 0.5083 GB, free: 8.305 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.518e-05/1.045, allocations: 52.52 kB / 0.5083 GB, free: 8.242 MB / 442.7 MB Notification: Performance of pre-optimization done (n=182): time 6.723e-06/1.045, allocations: 0 / 0.5083 GB, free: 8.242 MB / 442.7 MB Notification: Performance of matching and sorting (n=232): time 0.33/1.375, allocations: 8.318 MB / 0.5164 GB, free: 106.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/1.375, allocations: 79.06 kB / 0.5165 GB, free: 106.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002429/1.378, allocations: 1.079 MB / 0.5176 GB, free: 106.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007267/1.379, allocations: 62.8 kB / 0.5176 GB, free: 106.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007699/1.379, allocations: 0.5642 MB / 0.5182 GB, free: 106.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001447/1.381, allocations: 0.7683 MB / 0.5189 GB, free: 105.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003393/1.381, allocations: 41.59 kB / 0.519 GB, free: 105.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002391/1.382, allocations: 386.2 kB / 0.5193 GB, free: 105.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003754/1.385, allocations: 1.127 MB / 0.5204 GB, free: 105.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004179/1.39, allocations: 1.378 MB / 0.5218 GB, free: 105.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004216/1.394, allocations: 1.266 MB / 0.523 GB, free: 105.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.211e-05/1.394, allocations: 5.25 kB / 0.523 GB, free: 105.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.01109/1.405, allocations: 3.184 MB / 0.5261 GB, free: 105.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/1.405, allocations: 6.562 kB / 0.5261 GB, free: 105.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/1.405, allocations: 9.359 kB / 0.5261 GB, free: 105.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001928/1.407, allocations: 324.6 kB / 0.5265 GB, free: 105.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00482/1.412, allocations: 0.5136 MB / 0.527 GB, free: 105.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008404/1.42, allocations: 10.31 MB / 0.537 GB, free: 95.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/1.423, allocations: 76.34 kB / 0.5371 GB, free: 95.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008208/1.424, allocations: 135 kB / 0.5372 GB, free: 95.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (253): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 2 {1 10,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0006764/1.425, allocations: 223.8 kB / 0.5374 GB, free: 95.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006056/1.425, allocations: 164.4 kB / 0.5376 GB, free: 95.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01446/1.44, allocations: 3.731 MB / 0.5412 GB, free: 94.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.463e-05/1.44, allocations: 23.75 kB / 0.5413 GB, free: 94.94 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/1.44, allocations: 4.297 kB / 0.5413 GB, free: 94.94 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.391e-05/1.44, allocations: 12.09 kB / 0.5413 GB, free: 94.94 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01794/1.458, allocations: 5.726 MB / 0.5469 GB, free: 94.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/1.458, allocations: 3.312 kB / 0.5469 GB, free: 94.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003839/1.462, allocations: 456.9 kB / 0.5473 GB, free: 94.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001681/1.464, allocations: 326.7 kB / 0.5476 GB, free: 94.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006406/1.464, allocations: 87.91 kB / 0.5477 GB, free: 94.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004286/1.469, allocations: 3.924 MB / 0.5515 GB, free: 91.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/1.469, allocations: 11.08 kB / 0.5516 GB, free: 91.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01247/1.481, allocations: 4.806 MB / 0.5562 GB, free: 90.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001882/1.483, allocations: 0.5642 MB / 0.5568 GB, free: 90.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007202/1.484, allocations: 46.42 kB / 0.5568 GB, free: 90.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002164/1.486, allocations: 73.27 kB / 0.5569 GB, free: 90.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006756/1.487, allocations: 188.3 kB / 0.5571 GB, free: 90.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004307/1.487, allocations: 125.1 kB / 0.5572 GB, free: 90.14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001503/1.489, allocations: 0.849 MB / 0.558 GB, free: 89.74 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.489, allocations: 0 / 0.558 GB, free: 89.74 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005512/1.494, allocations: 1.229 MB / 0.5592 GB, free: 89.64 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (solution.T,solution.freeInternalEnergy,HCO3.log10n,H.log10n,CO2_liquid.log10n,CO3.log10n,liquidWater.log10n) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 222 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 2 {1 3,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01749/1.512, allocations: 7.619 MB / 0.5667 GB, free: 85.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008862/1.521, allocations: 2.892 MB / 0.5695 GB, free: 84.39 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.521, allocations: 3.094 kB / 0.5695 GB, free: 84.39 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004075/1.525, allocations: 1.574 MB / 0.571 GB, free: 83.67 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00405/1.529, allocations: 495.6 kB / 0.5715 GB, free: 83.53 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/1.541, allocations: 3.551 MB / 0.575 GB, free: 81.93 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009043/1.542, allocations: 1.307 MB / 0.5763 GB, free: 81.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003914/1.546, allocations: 0.7731 MB / 0.577 GB, free: 81.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002303/1.549, allocations: 0.7907 MB / 0.5778 GB, free: 80.62 MB / 442.7 MB Notification: Performance of SimCode: time 1.203e-06/1.549, allocations: 0 / 0.5778 GB, free: 80.62 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1549/1.704, allocations: 56.84 MB / 0.6333 GB, free: 45.47 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/1.704, allocations: 179.3 kB / 0.6335 GB, free: 45.24 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.031/6.735, allocations: 4 kB / 0.6335 GB, free: 45.23 MB / 442.7 MB