Running command: "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Chemical): time 2.286/2.286, allocations: 215.4 MB / 227.5 MB, free: 348 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.831e-05/4.84e-05, allocations: 4 kB / 280.5 MB, free: 11.67 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.116, allocations: 50.02 MB / 330.5 MB, free: 9.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4607/0.5767, allocations: 89.89 MB / 420.4 MB, free: 7.797 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.5771, allocations: 68.22 kB / 420.5 MB, free: 7.766 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 H2O_gaseuous.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$H2O_gaseuous. 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 otherSubstances.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$otherSubstances. 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 H2O_solid.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$H2O_solid. 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:3528:7-3528:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System gas.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$gas. 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:3528:7-3528:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System solid.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$solid. 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.1985/0.7756, allocations: 40.37 MB / 460.9 MB, free: 5.727 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.849e-06/0.7757, allocations: 0 / 460.9 MB, free: 5.727 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001133/0.7758, allocations: 31.94 kB / 460.9 MB, free: 5.695 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.00467/0.7805, allocations: 1.349 MB / 462.2 MB, free: 4.297 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.7806, allocations: 8.031 kB / 462.2 MB, free: 4.289 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000575/0.7812, allocations: 156.2 kB / 462.4 MB, free: 4.129 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004903/0.7817, allocations: 126.5 kB / 462.5 MB, free: 4.004 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00334/0.7851, allocations: 0.9641 MB / 463.5 MB, free: 2.992 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.7853, allocations: 74.02 kB / 463.6 MB, free: 2.918 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005966/0.7859, allocations: 112 kB / 463.7 MB, free: 2.809 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004802/0.7907, allocations: 1.276 MB / 464.9 MB, free: 1.504 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.732e-05/0.7908, allocations: 0 / 464.9 MB, free: 1.504 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000284/0.7911, allocations: 44 kB / 465 MB, free: 1.461 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.372e-05/0.7912, allocations: 24 kB / 465 MB, free: 1.438 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006352/0.7976, allocations: 1.843 MB / 466.8 MB, free: 15.59 MB / 394.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.01646/0.8141, allocations: 4.68 MB / 471.5 MB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005385/0.8196, allocations: 1.532 MB / 473.1 MB, free: 9.172 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002234/0.8218, allocations: 0.6284 MB / 473.7 MB, free: 8.543 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006087/0.828, allocations: 3.784 MB / 477.5 MB, free: 4.094 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.913e-05/0.8281, allocations: 47.48 kB / 477.5 MB, free: 4.039 MB / 394.7 MB Notification: Performance of pre-optimization done (n=114): time 4.609e-06/0.8281, allocations: 0 / 477.5 MB, free: 4.039 MB / 394.7 MB Notification: Performance of matching and sorting (n=141): time 0.02388/0.852, allocations: 4.831 MB / 482.4 MB, free: 15.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.8521, allocations: 64.72 kB / 482.4 MB, free: 15.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.8534, allocations: 0.5156 MB / 482.9 MB, free: 14.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003944/0.8538, allocations: 53.7 kB / 483 MB, free: 14.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000503/0.8543, allocations: 440.7 kB / 483.4 MB, free: 14.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009157/0.8553, allocations: 480.9 kB / 483.9 MB, free: 13.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.8555, allocations: 24 kB / 483.9 MB, free: 13.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003595/0.8558, allocations: 406.7 kB / 484.3 MB, free: 13.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002054/0.8579, allocations: 0.5546 MB / 484.9 MB, free: 12.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/0.8603, allocations: 0.7327 MB / 485.6 MB, free: 11.8 MB / 410.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: gas.T = gas.temperature_start (solid.temperature_start = gas.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02794/0.8883, allocations: 3.854 MB / 489.4 MB, free: 7.922 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/0.8883, allocations: 3.953 kB / 489.4 MB, free: 7.918 MB / 410.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006789/0.8951, allocations: 1.783 MB / 491.2 MB, free: 6.121 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.8952, allocations: 7.938 kB / 491.2 MB, free: 6.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.8952, allocations: 8.594 kB / 491.2 MB, free: 6.105 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001674/0.8969, allocations: 266.4 kB / 491.5 MB, free: 5.836 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002712/0.8997, allocations: 307.6 kB / 491.8 MB, free: 5.535 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/0.91, allocations: 7.582 MB / 499.4 MB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.9117, allocations: 56.05 kB / 499.4 MB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004956/0.9123, allocations: 83.95 kB / 499.5 MB, free: 13.23 MB / 426.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: gas.T = gas.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 139 * 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: 3 * 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: 1 {(1,100.0%) 18} * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005329/0.9128, allocations: 186.5 kB / 499.7 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004672/0.9133, allocations: 106.7 kB / 499.8 MB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008775/0.9221, allocations: 2.186 MB / 0.4902 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/0.9222, allocations: 12 kB / 0.4902 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.9222, allocations: 4 kB / 0.4902 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.671e-05/0.9223, allocations: 7.969 kB / 0.4903 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/0.9344, allocations: 3.458 MB / 0.4936 GB, free: 7.145 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.342e-05/0.9345, allocations: 0 / 0.4936 GB, free: 7.145 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002197/0.9367, allocations: 256 kB / 0.4939 GB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001654/0.9384, allocations: 258.4 kB / 0.4941 GB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000426/0.9389, allocations: 55.92 kB / 0.4942 GB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006268/0.9451, allocations: 3.583 MB / 0.4977 GB, free: 2.816 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.9452, allocations: 0 / 0.4977 GB, free: 2.816 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00906/0.9543, allocations: 2.778 MB / 0.5004 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.9556, allocations: 363.6 kB / 0.5007 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004548/0.9561, allocations: 27.95 kB / 0.5008 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/0.9576, allocations: 55.83 kB / 0.5008 GB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005516/0.9582, allocations: 113.2 kB / 0.5009 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002622/0.9585, allocations: 79.89 kB / 0.501 GB, free: 15.28 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001099/0.9596, allocations: 419.2 kB / 0.5014 GB, free: 14.87 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.9597, allocations: 0 / 0.5014 GB, free: 14.87 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003981/0.9637, allocations: 0.6947 MB / 0.5021 GB, free: 14.18 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (gas.freeInternalEnergy,H2O_gaseuous.log10n,otherSubstances.log10n,solid.T,solid.freeInternalEnergy,H2O_solid.log10n) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 119 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 18} * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01215/0.9759, allocations: 4.569 MB / 0.5065 GB, free: 9.508 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00583/0.9818, allocations: 1.589 MB / 0.5081 GB, free: 7.906 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.9819, allocations: 0 / 0.5081 GB, free: 7.906 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002988/0.9849, allocations: 0.9108 MB / 0.509 GB, free: 6.992 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002955/0.9879, allocations: 332 kB / 0.5093 GB, free: 6.676 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009888/0.9978, allocations: 2.259 MB / 0.5115 GB, free: 4.344 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/0.9991, allocations: 1.096 MB / 0.5126 GB, free: 3.219 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002893/1.002, allocations: 423.8 kB / 0.513 GB, free: 2.801 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001977/1.004, allocations: 0.503 MB / 0.5135 GB, free: 2.297 MB / 442.7 MB Notification: Performance of SimCode: time 1.754e-06/1.004, allocations: 0 / 0.5135 GB, free: 2.297 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.451/1.455, allocations: 34.1 MB / 0.5468 GB, free: 122.6 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/1.455, allocations: 153.5 kB / 0.5469 GB, free: 122.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.895/5.351, allocations: 0 / 0.5469 GB, free: 122.4 MB / 442.7 MB