Running command: "" <> buildModelFMU(Chemical.Examples.AcidBase.Phosphate,fileNamePrefix="Chemical_Chemical_Examples_AcidBase_Phosphate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Chemical): time 2.223/2.223, allocations: 215.4 MB / 227.5 MB, free: 360 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.009e-05/3.008e-05, allocations: 0 / 280.5 MB, free: 11.66 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1084, allocations: 50.02 MB / 330.5 MB, free: 9.547 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4523/0.5607, allocations: 87.85 MB / 418.4 MB, free: 9.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.561, allocations: 70.66 kB / 418.5 MB, free: 9.559 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 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 H3PO4.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$H3PO4. 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 H2PO4.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$H2PO4. 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 HPO4.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$HPO4. 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 PO4.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$PO4. 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 H2O.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$H2O. 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.3091/0.8701, allocations: 70.75 MB / 489.2 MB, free: 9.184 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.8702, allocations: 0 / 489.2 MB, free: 9.184 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001031/0.8703, allocations: 32 kB / 489.2 MB, free: 9.152 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: 366 * Number of variables: 366 Notification: Performance of Generate backend data structure: time 0.006004/0.8763, allocations: 1.997 MB / 491.2 MB, free: 7.102 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.8764, allocations: 12.03 kB / 491.2 MB, free: 7.09 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004655/0.8769, allocations: 207.2 kB / 491.5 MB, free: 6.875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005482/0.8774, allocations: 197.7 kB / 491.6 MB, free: 6.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005102/0.8825, allocations: 1.562 MB / 493.2 MB, free: 5.059 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/0.8827, allocations: 110.9 kB / 493.3 MB, free: 4.949 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006592/0.8834, allocations: 159.9 kB / 493.5 MB, free: 4.793 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006791/0.8902, allocations: 2.208 MB / 495.7 MB, free: 2.547 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.788e-05/0.8903, allocations: 0 / 495.7 MB, free: 2.547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003307/0.8907, allocations: 60 kB / 495.7 MB, free: 2.488 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/0.8908, allocations: 36 kB / 495.8 MB, free: 2.453 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01085/0.9016, allocations: 3.578 MB / 499.4 MB, free: 14.87 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.02403/0.9257, allocations: 7.674 MB / 0.4951 GB, free: 6.918 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0336/0.9594, allocations: 7.238 MB / 0.5022 GB, free: 15.55 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00408/0.9635, allocations: 1.324 MB / 0.5035 GB, free: 14.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01221/0.9757, allocations: 7.681 MB / 0.511 GB, free: 5.223 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.568e-05/0.9759, allocations: 56.52 kB / 0.5111 GB, free: 5.156 MB / 442.7 MB Notification: Performance of pre-optimization done (n=212): time 5.651e-06/0.9759, allocations: 0 / 0.5111 GB, free: 5.156 MB / 442.7 MB Notification: Performance of matching and sorting (n=270): time 0.351/1.327, allocations: 9.637 MB / 0.5205 GB, free: 106.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.068e-05/1.327, allocations: 79.16 kB / 0.5205 GB, free: 106.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002365/1.329, allocations: 0.7264 MB / 0.5213 GB, free: 106 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009192/1.33, allocations: 71.45 kB / 0.5213 GB, free: 106 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007459/1.331, allocations: 0.5575 MB / 0.5219 GB, free: 105.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002028/1.333, allocations: 0.8943 MB / 0.5227 GB, free: 105.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005228/1.334, allocations: 47.12 kB / 0.5228 GB, free: 105.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002674/1.334, allocations: 392.6 kB / 0.5232 GB, free: 105 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00604/1.34, allocations: 1.183 MB / 0.5243 GB, free: 105 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006082/1.346, allocations: 1.435 MB / 0.5257 GB, free: 104.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0394/1.386, allocations: 1.325 MB / 0.527 GB, free: 104.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.469e-05/1.386, allocations: 1 kB / 0.527 GB, free: 104.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.0257/1.412, allocations: 3.367 MB / 0.5303 GB, free: 104.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.394e-05/1.412, allocations: 8.328 kB / 0.5303 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/1.412, allocations: 4.781 kB / 0.5303 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00207/1.414, allocations: 356.2 kB / 0.5307 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005419/1.419, allocations: 0.577 MB / 0.5312 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009755/1.429, allocations: 11.65 MB / 0.5426 GB, free: 93.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002967/1.432, allocations: 93.45 kB / 0.5427 GB, free: 93.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008528/1.433, allocations: 149 kB / 0.5428 GB, free: 93.42 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,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 12,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.00088/1.434, allocations: 231.5 kB / 0.543 GB, free: 93.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007306/1.435, allocations: 172.7 kB / 0.5432 GB, free: 93.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02357/1.458, allocations: 4.337 MB / 0.5474 GB, free: 93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-05/1.458, allocations: 28.05 kB / 0.5475 GB, free: 93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/1.458, allocations: 0 / 0.5475 GB, free: 93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000108/1.458, allocations: 15.14 kB / 0.5475 GB, free: 93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02992/1.488, allocations: 6.577 MB / 0.5539 GB, free: 92.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.193e-05/1.489, allocations: 3.906 kB / 0.5539 GB, free: 92.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007068/1.496, allocations: 0.5193 MB / 0.5544 GB, free: 92.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002927/1.499, allocations: 363.6 kB / 0.5548 GB, free: 92.35 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001156/1.5, allocations: 109.7 kB / 0.5549 GB, free: 92.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006952/1.507, allocations: 4.001 MB / 0.5588 GB, free: 89.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.241e-05/1.507, allocations: 5.938 kB / 0.5588 GB, free: 89.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02337/1.53, allocations: 5.624 MB / 0.5643 GB, free: 86.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00285/1.533, allocations: 0.6168 MB / 0.5649 GB, free: 85.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/1.534, allocations: 67.34 kB / 0.5649 GB, free: 85.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00315/1.537, allocations: 81.34 kB / 0.565 GB, free: 85.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005835/1.538, allocations: 220 kB / 0.5652 GB, free: 85.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004065/1.538, allocations: 147.5 kB / 0.5654 GB, free: 85.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001035/1.54, allocations: 0.5597 MB / 0.5659 GB, free: 85.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.7e-07/1.54, allocations: 0 / 0.5659 GB, free: 85.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005512/1.545, allocations: 1.289 MB / 0.5672 GB, free: 85.24 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 8 (solution.T,solution.freeInternalEnergy,H.log10n,H3PO4.log10n,H2PO4.log10n,HPO4.log10n,PO4.log10n,H2O.log10n) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (262): * Single equations (assignments): 259 * 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 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.01832/1.563, allocations: 8.768 MB / 0.5757 GB, free: 80.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009683/1.573, allocations: 3.178 MB / 0.5788 GB, free: 78.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/1.573, allocations: 4 kB / 0.5788 GB, free: 78.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004491/1.578, allocations: 1.797 MB / 0.5806 GB, free: 78.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004309/1.582, allocations: 0.5008 MB / 0.5811 GB, free: 77.99 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/1.596, allocations: 3.923 MB / 0.5849 GB, free: 76.13 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009711/1.597, allocations: 1.364 MB / 0.5863 GB, free: 75.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004039/1.601, allocations: 0.8421 MB / 0.5871 GB, free: 75.31 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002305/1.603, allocations: 0.8613 MB / 0.5879 GB, free: 74.78 MB / 442.7 MB Notification: Performance of SimCode: time 1.303e-06/1.603, allocations: 0 / 0.5879 GB, free: 74.78 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1352/1.739, allocations: 60.17 MB / 0.6467 GB, free: 30.64 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/1.739, allocations: 163.6 kB / 0.6468 GB, free: 30.42 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.032/6.771, allocations: 0 / 0.6468 GB, free: 30.42 MB / 442.7 MB