Running command: "" <> buildModelFMU(Chemical.Examples.CheckSubstancesData.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Examples_CheckSubstancesData_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Chemical): time 2.102/2.102, allocations: 215.4 MB / 227.5 MB, free: 360 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.659e-05/3.658e-05, allocations: 0 / 280.5 MB, free: 11.67 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1094, allocations: 50.02 MB / 330.5 MB, free: 9.547 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4425/0.552, allocations: 82.92 MB / 413.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.5523, allocations: 66.28 kB / 413.5 MB, free: 14.55 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 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.Sources.PureSubstance. 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.Sources.PureSubstance. 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.Sources.PureSubstance$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.08534/0.6377, allocations: 19.82 MB / 433.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.017e-06/0.6377, allocations: 0 / 433.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.139e-05/0.6378, allocations: 11.94 kB / 433.4 MB, free: 13.9 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001682/0.6395, allocations: 0.7507 MB / 434.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.6395, allocations: 15.98 kB / 434.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001/0.6396, allocations: 63.59 kB / 434.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.6398, allocations: 55.34 kB / 434.2 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008982/0.6407, allocations: 427.5 kB / 434.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.6408, allocations: 19.56 kB / 434.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-05/0.6409, allocations: 30.75 kB / 434.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.6423, allocations: 0.7841 MB / 435.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.6424, allocations: 0 / 435.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.711e-05/0.6424, allocations: 6.812 kB / 435.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.153e-05/0.6425, allocations: 31.02 kB / 435.5 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002693/0.6452, allocations: 1.509 MB / 437 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005416/0.6507, allocations: 2.549 MB / 439.6 MB, free: 9.074 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.6509, allocations: 50 kB / 439.6 MB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.389e-05/0.651, allocations: 28.31 kB / 439.7 MB, free: 9.004 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.651, allocations: 11.88 kB / 439.7 MB, free: 8.992 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.6511, allocations: 34.56 kB / 439.7 MB, free: 8.949 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 5.1e-06/0.6511, allocations: 4 kB / 439.7 MB, free: 8.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003821/0.6515, allocations: 126.8 kB / 439.8 MB, free: 8.828 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.6515, allocations: 51.41 kB / 439.9 MB, free: 8.766 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002526/0.6541, allocations: 1.611 MB / 441.5 MB, free: 7.785 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.6541, allocations: 29.64 kB / 441.5 MB, free: 7.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/0.6545, allocations: 326.4 kB / 441.8 MB, free: 7.516 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.6545, allocations: 21.73 kB / 441.9 MB, free: 7.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.6546, allocations: 7.125 kB / 441.9 MB, free: 7.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.6548, allocations: 363.3 kB / 442.2 MB, free: 7.156 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007615/0.6555, allocations: 456.1 kB / 442.7 MB, free: 6.883 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009203/0.6565, allocations: 0.6402 MB / 443.3 MB, free: 6.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009096/0.6574, allocations: 498.3 kB / 443.8 MB, free: 6.035 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.6574, allocations: 4 kB / 443.8 MB, free: 6.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.002294/0.6597, allocations: 1.125 MB / 444.9 MB, free: 5.266 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.6598, allocations: 12.89 kB / 444.9 MB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.6598, allocations: 4 kB / 444.9 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.547e-05/0.6599, allocations: 12 kB / 445 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006859/0.6606, allocations: 111 kB / 445.1 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.296e-05/0.6606, allocations: 11.94 kB / 445.1 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007032/0.6613, allocations: 63.73 kB / 445.1 MB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-05/0.6614, allocations: 31.97 kB / 445.2 MB, free: 5.035 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001374/0.6616, allocations: 125.9 kB / 445.3 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.6617, allocations: 47.44 kB / 445.3 MB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003805/0.6621, allocations: 137.8 kB / 445.5 MB, free: 4.754 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.6621, allocations: 4 kB / 445.5 MB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6621, allocations: 0 / 445.5 MB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.6621, allocations: 0 / 445.5 MB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.6633, allocations: 0.7089 MB / 446.2 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.6634, allocations: 4 kB / 446.2 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.6635, allocations: 4 kB / 446.2 MB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.6635, allocations: 8.125 kB / 446.2 MB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.6635, allocations: 3.625 kB / 446.2 MB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.6635, allocations: 4 kB / 446.2 MB, free: 4.062 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6635, allocations: 0 / 446.2 MB, free: 4.062 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.6639, allocations: 208.9 kB / 446.4 MB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002799/0.6642, allocations: 172.3 kB / 446.6 MB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.6643, allocations: 3.984 kB / 446.6 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.6646, allocations: 3.812 kB / 446.6 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.6647, allocations: 7.953 kB / 446.6 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.6647, allocations: 4 kB / 446.6 MB, free: 3.648 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002053/0.6668, allocations: 1.293 MB / 447.9 MB, free: 2.578 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.6668, allocations: 4 kB / 447.9 MB, free: 2.574 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001398/0.6682, allocations: 339.6 kB / 448.2 MB, free: 2.242 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00218/0.6704, allocations: 1.364 MB / 449.6 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001277/0.6717, allocations: 0.551 MB / 450.1 MB, free: 280 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.6717, allocations: 1.875 kB / 450.2 MB, free: 280 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.037e-05/0.6718, allocations: 27.92 kB / 450.2 MB, free: 252 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.6733, allocations: 174.7 kB / 450.3 MB, free: 84 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.6753, allocations: 0.6329 MB / 451 MB, free: 15.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.6758, allocations: 0.8272 MB / 451.8 MB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008086/0.6767, allocations: 207.9 kB / 452 MB, free: 14.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/0.6771, allocations: 183.3 kB / 452.2 MB, free: 14.17 MB / 378.7 MB Notification: Performance of SimCode: time 1.292e-06/0.6771, allocations: 0 / 452.2 MB, free: 14.17 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05278/0.7299, allocations: 15.74 MB / 467.9 MB, free: 14.5 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003342/0.7303, allocations: 155.7 kB / 468.1 MB, free: 14.26 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.033/3.763, allocations: 0 / 468.1 MB, free: 14.26 MB / 394.7 MB