Running command: "" <> buildModelFMU(Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,fileNamePrefix="Chemical_Chemical_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Chemical): time 2.091/2.091, allocations: 215.4 MB / 227.5 MB, free: 360 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.329e-05/3.324e-05, allocations: 0 / 280.5 MB, free: 11.67 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 50.02 MB / 330.5 MB, free: 9.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4484/0.557, allocations: 83.35 MB / 413.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.5574, allocations: 71.45 kB / 414 MB, free: 13.74 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. Notification: Performance of FrontEnd - DAE generated: time 0.05147/0.6089, allocations: 11.89 MB / 425.8 MB, free: 3.719 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.6089, allocations: 3.938 kB / 425.9 MB, free: 3.715 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.141e-05/0.609, allocations: 12 kB / 425.9 MB, free: 3.703 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001402/0.6104, allocations: 0.6113 MB / 426.5 MB, free: 3.066 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/0.6105, allocations: 8.031 kB / 426.5 MB, free: 3.059 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/0.6106, allocations: 56.42 kB / 426.5 MB, free: 3.008 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.6107, allocations: 39.53 kB / 426.6 MB, free: 2.969 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007621/0.6115, allocations: 349 kB / 426.9 MB, free: 2.625 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.6115, allocations: 23.31 kB / 426.9 MB, free: 2.609 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.163e-05/0.6116, allocations: 23.06 kB / 427 MB, free: 2.594 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.6128, allocations: 0.5783 MB / 427.5 MB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.6128, allocations: 4 kB / 427.5 MB, free: 2.191 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/0.6129, allocations: 5.438 kB / 427.6 MB, free: 2.191 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.876e-05/0.613, allocations: 14.8 kB / 427.6 MB, free: 2.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/0.6149, allocations: 1.04 MB / 428.6 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004454/0.6194, allocations: 1.968 MB / 430.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.179e-05/0.6195, allocations: 22.58 kB / 430.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.6196, allocations: 20.47 kB / 430.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.6196, allocations: 0 / 430.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.6197, allocations: 34.56 kB / 430.6 MB, free: 15.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 2.023e-06/0.6197, allocations: 0 / 430.6 MB, free: 15.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002781/0.62, allocations: 91.98 kB / 430.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.62, allocations: 51.41 kB / 430.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/0.622, allocations: 1.135 MB / 431.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.622, allocations: 25.7 kB / 431.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.6223, allocations: 289.4 kB / 432.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.265e-05/0.6224, allocations: 0 / 432.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.6224, allocations: 11.91 kB / 432.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.6226, allocations: 349.9 kB / 432.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000536/0.6232, allocations: 310.5 kB / 432.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006959/0.6239, allocations: 466.9 kB / 433.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/0.6245, allocations: 345.4 kB / 433.7 MB, free: 13.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.6245, allocations: 4 kB / 433.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001724/0.6263, allocations: 0.7989 MB / 434.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.6263, allocations: 8 kB / 434.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.6264, allocations: 8.062 kB / 434.5 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.295e-05/0.6264, allocations: 8 kB / 434.5 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005784/0.627, allocations: 83.7 kB / 434.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/0.627, allocations: 11.95 kB / 434.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005693/0.6276, allocations: 43.45 kB / 434.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.656e-05/0.6277, allocations: 20 kB / 434.7 MB, free: 12.85 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.000136/0.6279, allocations: 124.7 kB / 434.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.628, allocations: 35.53 kB / 434.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.6281, allocations: 38.31 kB / 434.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.6281, allocations: 4 kB / 434.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6281, allocations: 0 / 434.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.6281, allocations: 3.953 kB / 434.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009519/0.6291, allocations: 0.5462 MB / 435.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.6291, allocations: 7.922 kB / 435.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.999e-05/0.6292, allocations: 4 kB / 435.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.6292, allocations: 0 / 435.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.6292, allocations: 4.031 kB / 435.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.6292, allocations: 3.953 kB / 435.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.6293, allocations: 0 / 435.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.6295, allocations: 108.1 kB / 435.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.6297, allocations: 147.9 kB / 435.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-05/0.6298, allocations: 0 / 435.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.63, allocations: 0 / 435.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.6301, allocations: 7.938 kB / 435.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.6301, allocations: 4.125 kB / 435.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001455/0.6316, allocations: 0.9157 MB / 436.6 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.092e-06/0.6316, allocations: 0 / 436.6 MB, free: 11.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001033/0.6326, allocations: 198.6 kB / 436.8 MB, free: 11.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.00137/0.634, allocations: 0.8401 MB / 437.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009413/0.635, allocations: 387.6 kB / 438 MB, free: 9.977 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.635, allocations: 0 / 438 MB, free: 9.977 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.868e-05/0.6351, allocations: 8 kB / 438 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.6362, allocations: 123.3 kB / 438.1 MB, free: 9.879 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.6377, allocations: 445.6 kB / 438.6 MB, free: 9.441 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/0.6383, allocations: 0.7836 MB / 439.4 MB, free: 8.629 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006323/0.6389, allocations: 155 kB / 439.5 MB, free: 8.477 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.6392, allocations: 135.4 kB / 439.7 MB, free: 8.422 MB / 362.7 MB Notification: Performance of SimCode: time 1.232e-06/0.6392, allocations: 0 / 439.7 MB, free: 8.422 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05326/0.6925, allocations: 10.36 MB / 450 MB, free: 14.19 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003036/0.6929, allocations: 168.2 kB / 450.2 MB, free: 13.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.659/3.352, allocations: 0 / 450.2 MB, free: 13.96 MB / 378.7 MB