Running command: "" <> buildModelFMU(Chemical.Examples.CheckSubstancesData.SimpleReaction,fileNamePrefix="Chemical_Chemical_Examples_CheckSubstancesData_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Chemical): time 1.959/1.959, allocations: 215.4 MB / 227.5 MB, free: 368 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.558e-05/3.579e-05, allocations: 4 kB / 280.5 MB, free: 11.67 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1041, allocations: 50.01 MB / 330.5 MB, free: 9.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4306/0.5347, allocations: 82.93 MB / 413.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.5351, allocations: 65.78 kB / 413.5 MB, free: 14.54 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$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.07151/0.6066, allocations: 17.34 MB / 430.9 MB, free: 12 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6066, allocations: 0 / 430.9 MB, free: 12 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.998e-05/0.6067, allocations: 8 kB / 430.9 MB, free: 4 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001291/0.608, allocations: 0.6588 MB / 431.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.608, allocations: 8.031 kB / 431.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.883e-05/0.6081, allocations: 51.86 kB / 431.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.106e-05/0.6082, allocations: 39.53 kB / 431.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006456/0.6089, allocations: 343.6 kB / 432 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.6089, allocations: 8 kB / 432 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.963e-05/0.609, allocations: 26.05 kB / 432 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009855/0.61, allocations: 0.5459 MB / 432.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.61, allocations: 0 / 432.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/0.6101, allocations: 7.812 kB / 432.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.086e-05/0.6102, allocations: 15.86 kB / 432.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.6119, allocations: 1.014 MB / 433.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003435/0.6153, allocations: 1.788 MB / 435.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.6155, allocations: 50.2 kB / 435.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.223e-05/0.6156, allocations: 28.69 kB / 435.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.6156, allocations: 0 / 435.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.6156, allocations: 34.5 kB / 435.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.954e-06/0.6156, allocations: 3.938 kB / 435.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003155/0.616, allocations: 102.2 kB / 435.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.616, allocations: 55.41 kB / 435.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.6177, allocations: 1.095 MB / 436.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.6177, allocations: 25.7 kB / 436.8 MB, free: 11.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.618, allocations: 244.4 kB / 437 MB, free: 11.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.618, allocations: 19.33 kB / 437 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.618, allocations: 3.938 kB / 437 MB, free: 11.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.6182, allocations: 345 kB / 437.4 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005026/0.6187, allocations: 303.7 kB / 437.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006107/0.6194, allocations: 446.8 kB / 438.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005835/0.62, allocations: 331.8 kB / 438.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.62, allocations: 4 kB / 438.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001483/0.6215, allocations: 0.7759 MB / 439.2 MB, free: 9.578 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.6215, allocations: 4 kB / 439.2 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.6215, allocations: 12.03 kB / 439.2 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.6216, allocations: 4 kB / 439.2 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.6221, allocations: 75.64 kB / 439.3 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.09e-05/0.6221, allocations: 8 kB / 439.3 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004436/0.6226, allocations: 34.84 kB / 439.3 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/0.6226, allocations: 19.98 kB / 439.4 MB, free: 9.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0001102/0.6228, allocations: 123.7 kB / 439.5 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-05/0.6229, allocations: 43.52 kB / 439.5 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.6232, allocations: 109.3 kB / 439.6 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.6232, allocations: 0 / 439.6 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6232, allocations: 0 / 439.6 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.6232, allocations: 0 / 439.6 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008974/0.6241, allocations: 0.6084 MB / 440.2 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.6241, allocations: 128 / 440.2 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.499e-05/0.6242, allocations: 15.94 kB / 440.2 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.6243, allocations: 0 / 440.2 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.6243, allocations: 0 / 440.2 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/0.6243, allocations: 4 kB / 440.3 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.6243, allocations: 3.984 kB / 440.3 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.6246, allocations: 187.1 kB / 440.4 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.6248, allocations: 140.6 kB / 440.6 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.76e-05/0.6249, allocations: 7.984 kB / 440.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.6251, allocations: 4 kB / 440.6 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.6252, allocations: 11.89 kB / 440.6 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.6252, allocations: 0 / 440.6 MB, free: 8.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001278/0.6265, allocations: 0.8883 MB / 441.5 MB, free: 7.648 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6265, allocations: 0 / 441.5 MB, free: 7.648 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001171/0.6277, allocations: 306.3 kB / 441.8 MB, free: 7.363 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.001855/0.6295, allocations: 1.334 MB / 443.1 MB, free: 6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007997/0.6303, allocations: 374.3 kB / 443.5 MB, free: 5.762 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6304, allocations: 4 kB / 443.5 MB, free: 5.758 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.819e-05/0.6304, allocations: 28.3 kB / 443.5 MB, free: 5.738 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009769/0.6314, allocations: 113.2 kB / 443.6 MB, free: 5.645 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.6329, allocations: 0.5035 MB / 444.1 MB, free: 5.133 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.6333, allocations: 0.7758 MB / 444.9 MB, free: 4.328 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005307/0.6338, allocations: 158.5 kB / 445.1 MB, free: 4.172 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/0.6341, allocations: 123.7 kB / 445.2 MB, free: 4.121 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.6341, allocations: 0 / 445.2 MB, free: 4.121 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0435/0.6776, allocations: 12.41 MB / 457.6 MB, free: 7.82 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002659/0.678, allocations: 150.7 kB / 457.7 MB, free: 7.594 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.686/3.364, allocations: 0 / 457.7 MB, free: 7.594 MB / 378.7 MB