Running command: "" <> buildModelFMU(Chemical.Examples.SimpleReaction,fileNamePrefix="Chemical_Chemical_Examples_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Chemical): time 2.146/2.146, allocations: 215.4 MB / 227.5 MB, free: 360 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.935e-05/3.918e-05, allocations: 3.938 kB / 280.5 MB, free: 11.67 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 50.02 MB / 330.5 MB, free: 9.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4878/0.5998, allocations: 87.33 MB / 417.9 MB, free: 9.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.6002, allocations: 67.97 kB / 417.9 MB, free: 9.949 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. Notification: Performance of FrontEnd - DAE generated: time 0.1299/0.7301, allocations: 23.58 MB / 441.5 MB, free: 6.258 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.7302, allocations: 0 / 441.5 MB, free: 6.258 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.736e-05/0.7303, allocations: 12 kB / 441.5 MB, free: 6.246 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.002962/0.7333, allocations: 0.9449 MB / 442.5 MB, free: 5.297 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.7333, allocations: 15.98 kB / 442.5 MB, free: 5.281 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002736/0.7336, allocations: 99.7 kB / 442.6 MB, free: 5.211 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002548/0.7339, allocations: 71.16 kB / 442.7 MB, free: 5.141 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00231/0.7362, allocations: 0.7016 MB / 443.4 MB, free: 4.555 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.276e-05/0.7364, allocations: 42.81 kB / 443.4 MB, free: 4.531 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002865/0.7367, allocations: 59.25 kB / 443.5 MB, free: 4.492 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002476/0.7391, allocations: 0.8038 MB / 444.3 MB, free: 3.945 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/0.7392, allocations: 0 / 444.3 MB, free: 3.945 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.7394, allocations: 21.88 kB / 444.3 MB, free: 3.941 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.161e-05/0.7394, allocations: 16 kB / 444.3 MB, free: 3.926 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003765/0.7432, allocations: 1.206 MB / 445.5 MB, free: 3.066 MB / 362.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.00891/0.7522, allocations: 2.973 MB / 448.5 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005605/0.7578, allocations: 1.545 MB / 450 MB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.7592, allocations: 463.4 kB / 450.5 MB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003973/0.7632, allocations: 2.561 MB / 453 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.221e-05/0.7633, allocations: 43.28 kB / 453.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 3.607e-06/0.7633, allocations: 0 / 453.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.01366/0.777, allocations: 3.167 MB / 456.2 MB, free: 9.766 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.7771, allocations: 68.19 kB / 456.3 MB, free: 9.688 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000745/0.7779, allocations: 351.2 kB / 456.7 MB, free: 9.344 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00025/0.7781, allocations: 41.7 kB / 456.7 MB, free: 9.297 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000277/0.7784, allocations: 265 kB / 457 MB, free: 9.031 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005559/0.779, allocations: 334.7 kB / 457.3 MB, free: 8.703 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.764e-05/0.7791, allocations: 12 kB / 457.3 MB, free: 8.691 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002588/0.7794, allocations: 374.8 kB / 457.7 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.7807, allocations: 394 kB / 458 MB, free: 7.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.7822, allocations: 0.4927 MB / 458.5 MB, free: 7.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.7837, allocations: 452.8 kB / 459 MB, free: 6.973 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.7838, allocations: 0 / 459 MB, free: 6.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003663/0.7875, allocations: 1.122 MB / 460.1 MB, free: 5.836 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.7875, allocations: 8 kB / 460.1 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.7876, allocations: 8.203 kB / 460.1 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005495/0.7881, allocations: 88.81 kB / 460.2 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00193/0.7901, allocations: 215.7 kB / 460.4 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/0.7932, allocations: 3.199 MB / 463.6 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.7942, allocations: 31.84 kB / 463.6 MB, free: 2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/0.7944, allocations: 55.97 kB / 463.7 MB, free: 1.945 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 103 * 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: 1 * 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: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003373/0.7948, allocations: 156.9 kB / 463.9 MB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002362/0.795, allocations: 63.25 kB / 463.9 MB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004876/0.7999, allocations: 1.431 MB / 465.3 MB, free: 292 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.8, allocations: 16 kB / 465.4 MB, free: 276 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.8, allocations: 0 / 465.4 MB, free: 276 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/0.8, allocations: 3.984 kB / 465.4 MB, free: 272 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007047/0.8071, allocations: 2.333 MB / 467.7 MB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.8072, allocations: 4 kB / 467.7 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/0.8088, allocations: 195.8 kB / 467.9 MB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005157/0.8094, allocations: 93.02 kB / 468 MB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002443/0.8097, allocations: 31.98 kB / 468 MB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007791/0.8105, allocations: 0.6422 MB / 468.7 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/0.8105, allocations: 7.953 kB / 468.7 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005273/0.8158, allocations: 1.873 MB / 470.5 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008272/0.8167, allocations: 272.1 kB / 470.8 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/0.8169, allocations: 24 kB / 470.8 MB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007334/0.8176, allocations: 23.98 kB / 470.8 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/0.8179, allocations: 84.58 kB / 470.9 MB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001654/0.818, allocations: 47.98 kB / 471 MB, free: 10.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005548/0.8186, allocations: 281.2 kB / 471.3 MB, free: 10.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.8186, allocations: 4 kB / 471.3 MB, free: 10.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001956/0.8206, allocations: 447.6 kB / 471.7 MB, free: 9.734 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (solution.T,solution.freeInternalEnergy,A.log10n,B.log10n) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.007881/0.8285, allocations: 3.263 MB / 475 MB, free: 6.395 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003648/0.8322, allocations: 0.9758 MB / 475.9 MB, free: 5.418 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.8323, allocations: 0 / 475.9 MB, free: 5.418 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001627/0.8339, allocations: 0.5121 MB / 476.4 MB, free: 4.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.836, allocations: 209.8 kB / 476.7 MB, free: 4.707 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005479/0.8415, allocations: 1.466 MB / 478.1 MB, free: 3.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007132/0.8423, allocations: 0.9328 MB / 479 MB, free: 2.215 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0016/0.8439, allocations: 297.2 kB / 479.3 MB, free: 1.922 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009852/0.8449, allocations: 311.2 kB / 479.6 MB, free: 1.617 MB / 394.7 MB Notification: Performance of SimCode: time 1.763e-06/0.845, allocations: 0 / 479.6 MB, free: 1.617 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0739/0.9189, allocations: 21.57 MB / 0.4895 GB, free: 12.11 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002668/0.9192, allocations: 155.9 kB / 0.4896 GB, free: 11.88 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.501/4.421, allocations: 0 / 0.4896 GB, free: 11.88 MB / 426.7 MB