Running command: "" <> buildModelFMU(Chemical.Examples.AcidBase.AcidBaseBufferTest,fileNamePrefix="Chemical_Chemical_Examples_AcidBase_AcidBaseBufferTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Chemical): time 2.059/2.059, allocations: 215.4 MB / 227.5 MB, free: 348 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.219e-05/4.255e-05, allocations: 4 kB / 280.5 MB, free: 11.66 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1083, allocations: 50.03 MB / 330.5 MB, free: 9.535 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.446/0.5544, allocations: 88.66 MB / 419.2 MB, free: 8.699 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.5547, allocations: 65.84 kB / 419.3 MB, free: 8.668 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 buffer.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.Buffer$buffer. 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 simpleSolution.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 externalMoleFraction.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.ExternalMoleFraction$externalMoleFraction. 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:1999:8-1999:67:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System externalMoleFraction.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.ExternalMoleFraction$externalMoleFraction. 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.1522/0.707, allocations: 33.57 MB / 452.8 MB, free: 12.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.707, allocations: 0 / 452.8 MB, free: 12.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.022e-05/0.7071, allocations: 12 kB / 452.9 MB, free: 12.61 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.003197/0.7103, allocations: 1.061 MB / 453.9 MB, free: 11.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.7104, allocations: 12.03 kB / 453.9 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002825/0.7107, allocations: 102.6 kB / 454 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002707/0.711, allocations: 86.97 kB / 454.1 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/0.7129, allocations: 0.6268 MB / 454.7 MB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.379e-05/0.713, allocations: 50.61 kB / 454.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002492/0.7133, allocations: 57.84 kB / 454.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/0.7158, allocations: 1.019 MB / 455.9 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.7159, allocations: 3.938 kB / 455.9 MB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.7161, allocations: 29.98 kB / 455.9 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001/0.7162, allocations: 26.92 kB / 455.9 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00397/0.7201, allocations: 1.699 MB / 457.6 MB, free: 8.887 MB / 378.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.0103/0.7305, allocations: 3.432 MB / 461.1 MB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004665/0.7352, allocations: 1.383 MB / 462.4 MB, free: 4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.7366, allocations: 487.6 kB / 462.9 MB, free: 3.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002291/0.739, allocations: 1.392 MB / 464.3 MB, free: 1.906 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.004e-05/0.7391, allocations: 43.34 kB / 464.3 MB, free: 1.852 MB / 378.7 MB Notification: Performance of pre-optimization done (n=73): time 3.627e-06/0.7391, allocations: 3.938 kB / 464.4 MB, free: 1.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.01691/0.756, allocations: 3.872 MB / 468.2 MB, free: 13.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/0.7561, allocations: 64.12 kB / 468.3 MB, free: 13.83 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/0.7577, allocations: 0.8133 MB / 469.1 MB, free: 13 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002653/0.758, allocations: 41.7 kB / 469.1 MB, free: 12.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/0.7584, allocations: 324.2 kB / 469.5 MB, free: 12.64 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004673/0.7589, allocations: 331.1 kB / 469.8 MB, free: 12.31 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.759, allocations: 24 kB / 469.8 MB, free: 12.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002285/0.7592, allocations: 386.8 kB / 470.2 MB, free: 11.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.7608, allocations: 0.5838 MB / 470.8 MB, free: 11.31 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/0.7625, allocations: 0.7126 MB / 471.5 MB, free: 10.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.7643, allocations: 0.6413 MB / 472.1 MB, free: 9.918 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/0.7643, allocations: 0 / 472.1 MB, free: 9.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.005019/0.7694, allocations: 1.659 MB / 473.8 MB, free: 8.242 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.7694, allocations: 12 kB / 473.8 MB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.7695, allocations: 4 kB / 473.8 MB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.7707, allocations: 194.4 kB / 474 MB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002095/0.7728, allocations: 235.7 kB / 474.2 MB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006007/0.7789, allocations: 4.755 MB / 479 MB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.7802, allocations: 40.06 kB / 479 MB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/0.7805, allocations: 51.97 kB / 479.1 MB, free: 2.527 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 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: 2 {1 4,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003359/0.7808, allocations: 148.8 kB / 479.2 MB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002961/0.7811, allocations: 90.86 kB / 479.3 MB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005268/0.7864, allocations: 1.609 MB / 480.9 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-05/0.7865, allocations: 11.98 kB / 480.9 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.7865, allocations: 3.984 kB / 480.9 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.972e-05/0.7865, allocations: 3.984 kB / 480.9 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008197/0.7947, allocations: 2.658 MB / 483.6 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/0.7948, allocations: 4 kB / 483.6 MB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/0.7965, allocations: 196.1 kB / 483.8 MB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/0.7978, allocations: 194.4 kB / 484 MB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002733/0.7981, allocations: 35.98 kB / 484 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004814/0.8029, allocations: 3.457 MB / 487.5 MB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/0.8029, allocations: 4 kB / 487.5 MB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006511/0.8095, allocations: 2.251 MB / 489.7 MB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008849/0.8104, allocations: 271.9 kB / 490 MB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002541/0.8107, allocations: 24 kB / 490 MB, free: 7.039 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008773/0.8116, allocations: 23.98 kB / 490 MB, free: 7.016 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002522/0.8119, allocations: 80.64 kB / 490.1 MB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/0.812, allocations: 48.03 kB / 490.2 MB, free: 6.887 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001339/0.8134, allocations: 0.646 MB / 490.8 MB, free: 6.242 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.8134, allocations: 0 / 490.8 MB, free: 6.242 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002702/0.8161, allocations: 0.5776 MB / 491.4 MB, free: 5.664 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (buffer.nFreeBuffer,simpleSolution.T,simpleSolution.freeInternalEnergy,liquidWater.log10n) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 91 * 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%) 2} * Non-linear torn systems: 2 {1 2,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.009193/0.8254, allocations: 4.069 MB / 495.4 MB, free: 1.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004241/0.8297, allocations: 1.492 MB / 496.9 MB, free: 15.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.8297, allocations: 3.938 kB / 496.9 MB, free: 15.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002213/0.832, allocations: 0.816 MB / 497.8 MB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/0.8344, allocations: 266.5 kB / 498 MB, free: 14.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005953/0.8404, allocations: 1.748 MB / 499.8 MB, free: 13.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000745/0.8412, allocations: 0.9603 MB / 0.489 GB, free: 12.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001644/0.8429, allocations: 326 kB / 0.4893 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/0.844, allocations: 363.2 kB / 0.4896 GB, free: 11.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.333e-06/0.844, allocations: 0 / 0.4896 GB, free: 11.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3993/1.243, allocations: 28.35 MB / 0.5173 GB, free: 130.1 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002584/1.244, allocations: 171 kB / 0.5175 GB, free: 129.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.716/4.96, allocations: 0 / 0.5175 GB, free: 129.8 MB / 442.7 MB