Running command: "" <> buildModelFMU(Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell,fileNamePrefix="Chemical_Chemical_Examples_CheckSubstancesData_StandardElectrochemicalCell",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Chemical): time 2.254/2.254, allocations: 215.4 MB / 227.5 MB, free: 360 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.091e-05/4.091e-05, allocations: 4 kB / 280.5 MB, free: 11.66 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1131, allocations: 50.02 MB / 330.5 MB, free: 9.547 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.452/0.5652, allocations: 88.23 MB / 418.8 MB, free: 9.391 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.5655, allocations: 69.28 kB / 418.8 MB, free: 9.359 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 cathode.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$cathode. 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:3528:7-3528:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System anode.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$anode. 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 Ag.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.PureSubstance$Ag. 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 Cl.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.PureSubstance$Cl. 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 AgCl.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.PureSubstance$AgCl. 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 H2.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$H2. 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 H2.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$H2. 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.Sources.PureSubstance$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 electrone.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.ElectronTransfer. 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 electrone1.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.ElectronTransfer. 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.3304/0.896, allocations: 67.06 MB / 485.9 MB, free: 12.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.896, allocations: 0 / 485.9 MB, free: 12.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001239/0.8962, allocations: 35.98 kB / 485.9 MB, free: 12.52 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.005616/0.9018, allocations: 1.754 MB / 487.7 MB, free: 10.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/0.9019, allocations: 8.031 kB / 487.7 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004982/0.9024, allocations: 152.4 kB / 487.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005248/0.9029, allocations: 181.8 kB / 488 MB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00292/0.9059, allocations: 0.9064 MB / 488.9 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.906, allocations: 74.09 kB / 489 MB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002907/0.9063, allocations: 108 kB / 489.1 MB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004945/0.9113, allocations: 2.098 MB / 491.2 MB, free: 7.086 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/0.9114, allocations: 0 / 491.2 MB, free: 7.086 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/0.9116, allocations: 44 kB / 491.2 MB, free: 7.043 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001772/0.9117, allocations: 63.89 kB / 491.3 MB, free: 6.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008205/0.92, allocations: 3.685 MB / 495 MB, free: 3.293 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.018/0.938, allocations: 6.77 MB / 0.49 GB, free: 12.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/0.9407, allocations: 1.015 MB / 0.491 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008425/0.9415, allocations: 410 kB / 0.4914 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003209/0.9419, allocations: 132.2 kB / 0.4915 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.9419, allocations: 38.94 kB / 0.4915 GB, free: 10.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=47): time 3.446e-06/0.942, allocations: 0 / 0.4915 GB, free: 10.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=47): time 0.002919/0.9449, allocations: 1.113 MB / 0.4926 GB, free: 9.621 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.945, allocations: 59.78 kB / 0.4927 GB, free: 9.551 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00568/0.9507, allocations: 2.924 MB / 0.4955 GB, free: 6.621 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.9508, allocations: 37.7 kB / 0.4956 GB, free: 6.578 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009915/0.9518, allocations: 0.8369 MB / 0.4964 GB, free: 5.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.9521, allocations: 177.6 kB / 0.4966 GB, free: 5.555 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.9522, allocations: 24 kB / 0.4966 GB, free: 5.531 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.9524, allocations: 357.9 kB / 0.4969 GB, free: 5.176 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002279/0.9547, allocations: 1.1 MB / 0.498 GB, free: 4.074 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002804/0.9576, allocations: 1.682 MB / 0.4996 GB, free: 2.105 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/0.9601, allocations: 1.247 MB / 0.5009 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.778e-05/0.9602, allocations: 7.938 kB / 0.5009 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006686/0.9669, allocations: 3.012 MB / 0.5038 GB, free: 13.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/0.967, allocations: 16 kB / 0.5038 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.542e-05/0.967, allocations: 20 kB / 0.5039 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001946/0.969, allocations: 381.1 kB / 0.5042 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003009/0.972, allocations: 427.3 kB / 0.5046 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005176/0.9772, allocations: 4.254 MB / 0.5088 GB, free: 8.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/0.9794, allocations: 174.3 kB / 0.5089 GB, free: 8.238 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000248/0.9796, allocations: 91.97 kB / 0.509 GB, free: 8.148 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003277/0.98, allocations: 192.3 kB / 0.5092 GB, free: 7.953 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002968/0.9803, allocations: 142.2 kB / 0.5093 GB, free: 7.812 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003893/0.9842, allocations: 1.373 MB / 0.5107 GB, free: 6.418 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.9842, allocations: 8 kB / 0.5107 GB, free: 6.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.9842, allocations: 0 / 0.5107 GB, free: 6.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.9843, allocations: 3.984 kB / 0.5107 GB, free: 6.406 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006815/0.9911, allocations: 2.63 MB / 0.5133 GB, free: 3.668 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/0.9911, allocations: 4 kB / 0.5133 GB, free: 3.664 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007965/0.9919, allocations: 100.2 kB / 0.5134 GB, free: 3.566 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002255/0.9942, allocations: 434.8 kB / 0.5138 GB, free: 3.129 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.232e-05/0.9943, allocations: 23.98 kB / 0.5138 GB, free: 3.105 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3993/1.394, allocations: 4.12 MB / 0.5178 GB, free: 106.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/1.394, allocations: 7.125 kB / 0.5178 GB, free: 106.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006714/1.4, allocations: 2.12 MB / 0.5199 GB, free: 105.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/1.402, allocations: 284.8 kB / 0.5202 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005806/1.402, allocations: 15.52 kB / 0.5202 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/1.404, allocations: 12.16 kB / 0.5202 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/1.404, allocations: 57.23 kB / 0.5203 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/1.404, allocations: 27.61 kB / 0.5203 GB, free: 105.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007016/1.411, allocations: 2.303 MB / 0.5225 GB, free: 105.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.744e-06/1.411, allocations: 0 / 0.5225 GB, free: 105.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006175/1.418, allocations: 1.025 MB / 0.5235 GB, free: 105.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (cathode.T,cathode.freeInternalEnergy,anode.T,anode.freeInternalEnergy) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 42 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 1,1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01267/1.43, allocations: 4.719 MB / 0.5281 GB, free: 103.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005148/1.435, allocations: 1.851 MB / 0.53 GB, free: 103.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/1.436, allocations: 0 / 0.53 GB, free: 103.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001434/1.437, allocations: 0.6674 MB / 0.5306 GB, free: 103.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003724/1.441, allocations: 478 kB / 0.5311 GB, free: 103.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007529/1.448, allocations: 2.486 MB / 0.5335 GB, free: 102.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/1.449, allocations: 1.17 MB / 0.5346 GB, free: 101.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00253/1.452, allocations: 0.5466 MB / 0.5352 GB, free: 101.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/1.453, allocations: 0.6047 MB / 0.5358 GB, free: 101.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/1.453, allocations: 0 / 0.5358 GB, free: 101.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1196/1.573, allocations: 47.16 MB / 0.5818 GB, free: 92.78 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002522/1.573, allocations: 187.2 kB / 0.582 GB, free: 92.56 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.663/6.237, allocations: 0 / 0.582 GB, free: 92.56 MB / 442.7 MB