Running command: "" <> buildModelFMU(Chemical.Examples.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Examples_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Chemical): time 2.157/2.157, allocations: 215.4 MB / 227.5 MB, free: 352 kB / 186.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 4.271e-05/4.281e-05, allocations: 0 / 280.5 MB, free: 11.66 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 50.01 MB / 330.5 MB, free: 9.551 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4764/0.5881, allocations: 87.34 MB / 417.9 MB, free: 9.984 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.5884, allocations: 68.06 kB / 417.9 MB, free: 9.953 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 A.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$A. 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 B.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$B. 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 C.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$C. 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.1586/0.747, allocations: 32.76 MB / 450.7 MB, free: 14.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.747, allocations: 0 / 450.7 MB, free: 14.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.059e-05/0.7471, allocations: 20 kB / 450.7 MB, free: 14.54 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003434/0.7506, allocations: 1.193 MB / 451.9 MB, free: 13.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.7506, allocations: 12.03 kB / 451.9 MB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002777/0.7509, allocations: 125.8 kB / 452.1 MB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000304/0.7512, allocations: 109.9 kB / 452.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/0.7539, allocations: 0.895 MB / 453.1 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.7541, allocations: 60.14 kB / 453.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003705/0.7544, allocations: 92.03 kB / 453.2 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003121/0.7576, allocations: 1.138 MB / 454.3 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/0.7577, allocations: 0 / 454.3 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/0.7578, allocations: 33.06 kB / 454.4 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.278e-05/0.7579, allocations: 20 kB / 454.4 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005045/0.763, allocations: 1.778 MB / 456.2 MB, free: 10.29 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.01252/0.7755, allocations: 4.15 MB / 460.3 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01008/0.7857, allocations: 2.523 MB / 462.8 MB, free: 3.598 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001957/0.7877, allocations: 0.6363 MB / 463.5 MB, free: 2.957 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006159/0.7939, allocations: 3.838 MB / 467.3 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.169e-05/0.794, allocations: 47.56 kB / 467.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of pre-optimization done (n=108): time 4.789e-06/0.794, allocations: 0 / 467.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=135): time 0.01971/0.8137, allocations: 4.549 MB / 471.9 MB, free: 9.789 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.8139, allocations: 72.72 kB / 472 MB, free: 9.703 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00098/0.8149, allocations: 453 kB / 472.4 MB, free: 9.254 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003785/0.8153, allocations: 45.7 kB / 472.5 MB, free: 9.203 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/0.8156, allocations: 333.3 kB / 472.8 MB, free: 8.871 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008354/0.8165, allocations: 457.2 kB / 473.2 MB, free: 8.418 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.8167, allocations: 24 kB / 473.3 MB, free: 8.395 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002864/0.817, allocations: 398.7 kB / 473.7 MB, free: 7.996 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001863/0.8188, allocations: 0.5689 MB / 474.2 MB, free: 7.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002031/0.8209, allocations: 0.7006 MB / 474.9 MB, free: 6.699 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002109/0.8231, allocations: 0.6375 MB / 475.6 MB, free: 6.066 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.8231, allocations: 0 / 475.6 MB, free: 6.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.005184/0.8283, allocations: 1.614 MB / 477.2 MB, free: 4.441 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.8284, allocations: 4 kB / 477.2 MB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.8284, allocations: 4 kB / 477.2 MB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006888/0.8291, allocations: 116.8 kB / 477.3 MB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002778/0.8319, allocations: 307.9 kB / 477.6 MB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004281/0.8362, allocations: 4.533 MB / 482.1 MB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.8377, allocations: 48.14 kB / 482.2 MB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003106/0.8381, allocations: 75.97 kB / 482.3 MB, free: 14.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 142 * 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: 1 * 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: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004192/0.8385, allocations: 164.7 kB / 482.4 MB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003165/0.8388, allocations: 98.83 kB / 482.5 MB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007169/0.846, allocations: 2.07 MB / 484.6 MB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/0.8461, allocations: 12 kB / 484.6 MB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.8461, allocations: 0 / 484.6 MB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.081e-05/0.8461, allocations: 7.969 kB / 484.6 MB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/0.8572, allocations: 3.25 MB / 487.9 MB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/0.8573, allocations: 7.938 kB / 487.9 MB, free: 9.227 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002896/0.8602, allocations: 271.7 kB / 488.1 MB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008367/0.861, allocations: 128.8 kB / 488.3 MB, free: 8.832 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002621/0.8613, allocations: 55.97 kB / 488.3 MB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/0.8626, allocations: 0.7084 MB / 489 MB, free: 8.043 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/0.8626, allocations: 4 kB / 489 MB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/0.8727, allocations: 2.675 MB / 491.7 MB, free: 5.262 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/0.8742, allocations: 371.6 kB / 492.1 MB, free: 4.879 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003659/0.8746, allocations: 28 kB / 492.1 MB, free: 4.852 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/0.876, allocations: 40.11 kB / 492.1 MB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003731/0.8764, allocations: 105.1 kB / 492.2 MB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003075/0.8767, allocations: 83.95 kB / 492.3 MB, free: 4.629 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009363/0.8777, allocations: 345.6 kB / 492.6 MB, free: 4.289 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.8777, allocations: 0 / 492.6 MB, free: 4.289 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003239/0.8809, allocations: 0.64 MB / 493.3 MB, free: 3.648 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (solution.T,solution.freeInternalEnergy,A.log10n,B.log10n,C.log10n) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 132 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01351/0.8945, allocations: 4.447 MB / 497.7 MB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006181/0.9007, allocations: 1.412 MB / 499.1 MB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/0.9008, allocations: 4 kB / 499.2 MB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00295/0.9038, allocations: 0.736 MB / 499.9 MB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003109/0.9069, allocations: 278.2 kB / 0.4884 GB, free: 12.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00715/0.9141, allocations: 2.013 MB / 0.4904 GB, free: 10.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008666/0.915, allocations: 1.029 MB / 0.4914 GB, free: 9.555 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002148/0.9172, allocations: 427.1 kB / 0.4918 GB, free: 9.133 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001404/0.9186, allocations: 439.1 kB / 0.4922 GB, free: 8.703 MB / 426.7 MB Notification: Performance of SimCode: time 1.342e-06/0.9186, allocations: 0 / 0.4922 GB, free: 8.703 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3865/1.305, allocations: 29.78 MB / 0.5213 GB, free: 130.6 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/1.305, allocations: 159.2 kB / 0.5215 GB, free: 130.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.71/5.016, allocations: 7.547 kB / 0.5215 GB, free: 130.4 MB / 442.7 MB