Running command: "" <> buildModelFMU(Chemical.Examples.WaterElectrolysis,fileNamePrefix="Chemical_Chemical_Examples_WaterElectrolysis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Chemical): time 2.164/2.164, allocations: 215.4 MB / 227.5 MB, free: 360 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.48e-05/3.485e-05, allocations: 0 / 280.5 MB, free: 11.66 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.179, allocations: 50.02 MB / 330.5 MB, free: 9.551 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5051/0.6842, allocations: 90.8 MB / 421.3 MB, free: 6.883 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.6845, allocations: 67.66 kB / 421.4 MB, free: 6.852 MB / 346.7 MB [/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 O2_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.Components.Substance$O2_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 H2_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.Components.Substance$H2_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: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: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 water.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$water. 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. [/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 air.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$air. 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.2897/0.9742, allocations: 57.67 MB / 479.1 MB, free: 3.461 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.9743, allocations: 0 / 479.1 MB, free: 3.461 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001468/0.9744, allocations: 47.98 kB / 479.1 MB, free: 3.414 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 399 * Number of variables: 399 Notification: Performance of Generate backend data structure: time 0.006546/0.981, allocations: 1.94 MB / 481.1 MB, free: 1.422 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.9811, allocations: 12.02 kB / 481.1 MB, free: 1.41 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006259/0.9817, allocations: 224.1 kB / 481.3 MB, free: 1.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006088/0.9823, allocations: 213.5 kB / 481.5 MB, free: 0.9688 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004491/0.9868, allocations: 1.318 MB / 482.8 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/0.9871, allocations: 127.1 kB / 482.9 MB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006737/0.9878, allocations: 171.8 kB / 483.1 MB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006326/0.9941, allocations: 2.128 MB / 485.2 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.294e-05/0.9942, allocations: 7.938 kB / 485.2 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002719/0.9945, allocations: 64 kB / 485.3 MB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001589/0.9947, allocations: 51.98 kB / 485.4 MB, free: 13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008774/1.003, allocations: 3.082 MB / 488.4 MB, free: 9.918 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.0242/1.028, allocations: 7.83 MB / 496.3 MB, free: 1.777 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/1.038, allocations: 2.893 MB / 499.2 MB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003001/1.041, allocations: 0.9928 MB / 0.4884 GB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006622/1.048, allocations: 4.01 MB / 0.4923 GB, free: 9.176 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.423e-05/1.048, allocations: 59.77 kB / 0.4924 GB, free: 9.105 MB / 426.7 MB Notification: Performance of pre-optimization done (n=157): time 4.388e-06/1.048, allocations: 3.938 kB / 0.4924 GB, free: 9.102 MB / 426.7 MB Notification: Performance of matching and sorting (n=190): time 0.0338/1.082, allocations: 7.149 MB / 0.4994 GB, free: 1.883 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/1.082, allocations: 77.34 kB / 0.4995 GB, free: 1.797 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002104/1.084, allocations: 0.8966 MB / 0.5003 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005416/1.084, allocations: 61.7 kB / 0.5004 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008449/1.085, allocations: 0.7734 MB / 0.5012 GB, free: 36 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001144/1.086, allocations: 0.6469 MB / 0.5018 GB, free: 15.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/1.087, allocations: 40 kB / 0.5018 GB, free: 15.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002555/1.087, allocations: 382 kB / 0.5022 GB, free: 14.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003083/1.09, allocations: 0.9883 MB / 0.5032 GB, free: 13.97 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003611/1.094, allocations: 1.446 MB / 0.5046 GB, free: 12.31 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003672/1.097, allocations: 1.158 MB / 0.5057 GB, free: 11.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.508e-05/1.098, allocations: 4 kB / 0.5057 GB, free: 11.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=268) (initialization): time 0.01135/1.109, allocations: 3.085 MB / 0.5087 GB, free: 8.047 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.557e-05/1.109, allocations: 12 kB / 0.5087 GB, free: 8.035 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.452e-05/1.109, allocations: 16.27 kB / 0.5087 GB, free: 8.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00311/1.112, allocations: 0.5073 MB / 0.5092 GB, free: 7.496 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004219/1.117, allocations: 0.4914 MB / 0.5097 GB, free: 7.004 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3191/1.436, allocations: 8.697 MB / 0.5182 GB, free: 111 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003492/1.439, allocations: 96.81 kB / 0.5183 GB, free: 111 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006847/1.44, allocations: 125.6 kB / 0.5184 GB, free: 111 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 242 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 4 {1 9,1 4,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007218/1.441, allocations: 229.7 kB / 0.5186 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00068/1.441, allocations: 168.5 kB / 0.5188 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01543/1.457, allocations: 3.391 MB / 0.5221 GB, free: 110.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.049e-05/1.457, allocations: 21.75 kB / 0.5221 GB, free: 110.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/1.457, allocations: 1.266 kB / 0.5221 GB, free: 110.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.639e-05/1.457, allocations: 14.08 kB / 0.5221 GB, free: 110.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0213/1.478, allocations: 5.182 MB / 0.5272 GB, free: 110.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-05/1.479, allocations: 6.281 kB / 0.5272 GB, free: 110.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004415/1.483, allocations: 363.2 kB / 0.5276 GB, free: 110.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003867/1.487, allocations: 495.6 kB / 0.528 GB, free: 110.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007318/1.488, allocations: 68.17 kB / 0.5281 GB, free: 110.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007145/1.495, allocations: 4.867 MB / 0.5328 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/1.495, allocations: 4.688 kB / 0.5329 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01562/1.511, allocations: 4.404 MB / 0.5372 GB, free: 105.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001878/1.513, allocations: 477.7 kB / 0.5376 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006879/1.513, allocations: 35.97 kB / 0.5376 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002173/1.515, allocations: 56.94 kB / 0.5377 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006766/1.516, allocations: 143.5 kB / 0.5378 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003006/1.517, allocations: 93.94 kB / 0.5379 GB, free: 105.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001774/1.518, allocations: 0.6766 MB / 0.5386 GB, free: 105.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.292e-06/1.518, allocations: 0 / 0.5386 GB, free: 105.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004751/1.523, allocations: 0.9564 MB / 0.5395 GB, free: 105.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 11 (O2_gas.log10n,H2_gas.log10n,anode.T,anode.freeInternalEnergy,cathode.T,cathode.freeInternalEnergy,water.T,water.freeInternalEnergy,air.T,air.freeInternalEnergy,liquidWater.log10n) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 171 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 4 {1 11,1 4,1 2,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01527/1.538, allocations: 6.283 MB / 0.5457 GB, free: 103.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007486/1.546, allocations: 2.666 MB / 0.5483 GB, free: 103.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/1.546, allocations: 0 / 0.5483 GB, free: 103.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004068/1.55, allocations: 1.447 MB / 0.5497 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.004429/1.555, allocations: 0.5135 MB / 0.5502 GB, free: 103.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/1.568, allocations: 3.756 MB / 0.5538 GB, free: 101.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009702/1.569, allocations: 1.346 MB / 0.5552 GB, free: 101.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003537/1.572, allocations: 0.6467 MB / 0.5558 GB, free: 100.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002128/1.574, allocations: 0.8218 MB / 0.5566 GB, free: 100.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.603e-06/1.574, allocations: 0 / 0.5566 GB, free: 100.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1291/1.703, allocations: 51.58 MB / 0.607 GB, free: 72.75 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002749/1.704, allocations: 170.4 kB / 0.6071 GB, free: 72.51 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.775/6.478, allocations: 0 / 0.6071 GB, free: 72.51 MB / 442.7 MB