Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sensors_TestDensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.405/2.405, allocations: 209.4 MB / 216.5 MB, free: 6.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.743e-05/2.775e-05, allocations: 3.938 kB / 267.6 MB, free: 4.953 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 48.69 MB / 316.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.951/8.064, allocations: 2.486 GB / 2.795 GB, free: 105 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/8.064, allocations: 83.25 kB / 2.795 GB, free: 105 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 3.545/11.61, allocations: 0.6379 GB / 3.433 GB, free: 40.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.595e-06/11.61, allocations: 1.031 kB / 3.433 GB, free: 40.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.644e-05/11.61, allocations: 20.94 kB / 3.433 GB, free: 40.36 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.01035/11.62, allocations: 2.114 MB / 3.435 GB, free: 39.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/11.62, allocations: 9.906 kB / 3.435 GB, free: 39.61 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007615/11.63, allocations: 0.535 MB / 3.435 GB, free: 39.56 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002476/11.63, allocations: 0.6996 MB / 3.436 GB, free: 39.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-05/11.63, allocations: 32 kB / 3.436 GB, free: 39.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/11.63, allocations: 41.5 kB / 3.436 GB, free: 39.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002399/11.63, allocations: 0.7457 MB / 3.437 GB, free: 39.29 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/11.63, allocations: 0.9079 MB / 3.438 GB, free: 39.02 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.151e-05/11.63, allocations: 8.422 kB / 3.438 GB, free: 39.02 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/11.63, allocations: 2.75 kB / 3.438 GB, free: 39.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.548e-05/11.63, allocations: 19.97 kB / 3.438 GB, free: 39.02 MB / 458.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.5184/12.15, allocations: 109.4 MB / 3.545 GB, free: 23.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/12.15, allocations: 0.4991 MB / 3.545 GB, free: 23.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004654/12.16, allocations: 213.2 kB / 3.545 GB, free: 23.63 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.103/12.26, allocations: 29.15 MB / 3.574 GB, free: 18.74 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/12.26, allocations: 40.25 kB / 3.574 GB, free: 18.7 MB / 0.4949 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001185/12.26, allocations: 103.9 kB / 3.574 GB, free: 18.61 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=46): time 3.907e-06/12.26, allocations: 0 / 3.574 GB, free: 18.61 MB / 0.4949 GB Notification: Performance of matching and sorting (n=46): time 0.00611/12.27, allocations: 1.054 MB / 3.575 GB, free: 17.99 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/12.27, allocations: 191.1 kB / 3.575 GB, free: 17.76 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000816/12.27, allocations: 470.8 kB / 3.576 GB, free: 17.44 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 9.98e-05/12.27, allocations: 25.7 kB / 3.576 GB, free: 17.41 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003333/12.27, allocations: 470.7 kB / 3.576 GB, free: 17.09 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/12.27, allocations: 146.9 kB / 3.576 GB, free: 16.98 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/12.27, allocations: 0 / 3.576 GB, free: 16.98 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000187/12.27, allocations: 383.3 kB / 3.577 GB, free: 16.65 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004375/12.27, allocations: 176.4 kB / 3.577 GB, free: 16.55 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006154/12.27, allocations: 0.4921 MB / 3.577 GB, free: 16.03 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003193/12.27, allocations: 473.4 kB / 3.578 GB, free: 15.78 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/12.27, allocations: 4 kB / 3.578 GB, free: 15.77 MB / 0.4949 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004698/12.28, allocations: 0.9547 MB / 3.579 GB, free: 15.16 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.001531/12.28, allocations: 3.835 MB / 3.582 GB, free: 11.12 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.834e-05/12.28, allocations: 8 kB / 3.582 GB, free: 11.11 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004052/12.28, allocations: 75.31 kB / 3.582 GB, free: 11.05 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/12.28, allocations: 202.3 kB / 3.583 GB, free: 10.91 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/12.28, allocations: 1.242 MB / 3.584 GB, free: 9.723 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/12.28, allocations: 65.25 kB / 3.584 GB, free: 9.676 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/12.28, allocations: 44.03 kB / 3.584 GB, free: 9.645 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/12.28, allocations: 6.406 kB / 3.584 GB, free: 9.641 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003049/12.29, allocations: 0.7071 MB / 3.585 GB, free: 9.23 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/12.29, allocations: 8 kB / 3.585 GB, free: 9.223 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/12.29, allocations: 16 kB / 3.585 GB, free: 9.207 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/12.29, allocations: 216.7 kB / 3.585 GB, free: 9.051 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/12.29, allocations: 18.28 kB / 3.585 GB, free: 9.039 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/12.29, allocations: 52.69 kB / 3.585 GB, free: 9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/12.29, allocations: 47.98 kB / 3.585 GB, free: 8.965 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 8 (massFlowRate1.medium.phase,boundary_fixed.medium.phase,massFlowRate2.medium.phase,boundary_fixed1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003452/12.29, allocations: 146.6 kB / 3.585 GB, free: 8.836 MB / 0.4949 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003585/12.29, allocations: 0.6558 MB / 3.586 GB, free: 8.398 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/12.29, allocations: 71.16 kB / 3.586 GB, free: 8.328 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005511/12.3, allocations: 2.805 MB / 3.589 GB, free: 6.789 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.373e-05/12.3, allocations: 41.25 kB / 3.589 GB, free: 6.777 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/12.3, allocations: 0 / 3.589 GB, free: 6.777 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/12.3, allocations: 3.609 kB / 3.589 GB, free: 6.777 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007241/12.31, allocations: 3.705 MB / 3.592 GB, free: 4.754 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/12.31, allocations: 8.844 kB / 3.592 GB, free: 4.75 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008305/12.31, allocations: 101.7 kB / 3.592 GB, free: 4.684 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/12.31, allocations: 0.7245 MB / 3.593 GB, free: 4.164 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.463e-05/12.31, allocations: 11.2 kB / 3.593 GB, free: 4.16 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002289/12.31, allocations: 1.644 MB / 3.595 GB, free: 2.801 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/12.31, allocations: 2.625 kB / 3.595 GB, free: 2.801 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004298/12.32, allocations: 1.924 MB / 3.597 GB, free: 1.555 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000686/12.32, allocations: 298.2 kB / 3.597 GB, free: 1.305 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/12.32, allocations: 4 kB / 3.597 GB, free: 1.301 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009549/12.32, allocations: 41.58 kB / 3.597 GB, free: 1.273 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/12.32, allocations: 49.23 kB / 3.597 GB, free: 1.25 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-05/12.32, allocations: 25.19 kB / 3.597 GB, free: 1.234 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0007058/12.32, allocations: 379.8 kB / 3.597 GB, free: 0.9805 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.363e-06/12.32, allocations: 0 / 3.597 GB, free: 0.9805 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.3747/12.69, allocations: 1.232 MB / 3.599 GB, free: 86.16 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 22 ($cse9.phase,$cse9.region,$cse13.phase,$cse13.region,$cse16.phase,$cse16.region,$cse17.region3boundary,$cse18.region3boundary,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,massFlowRate1.medium.phase,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,massFlowRate2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0167/12.71, allocations: 4.466 MB / 3.603 GB, free: 84.87 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.003392/12.71, allocations: 1.16 MB / 3.604 GB, free: 84.86 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/12.71, allocations: 1.25 kB / 3.604 GB, free: 84.86 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/12.72, allocations: 0.6738 MB / 3.605 GB, free: 84.86 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003144/12.72, allocations: 278.7 kB / 3.605 GB, free: 84.84 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9693/13.69, allocations: 196.8 MB / 3.797 GB, free: 84.67 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007646/13.69, allocations: 1.186 MB / 3.798 GB, free: 83.96 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.003683/13.69, allocations: 1.319 MB / 3.8 GB, free: 83.94 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008815/13.69, allocations: 447.8 kB / 3.8 GB, free: 83.93 MB / 0.4949 GB Notification: Performance of SimCode: time 1.152e-06/13.69, allocations: 1.969 kB / 3.8 GB, free: 83.93 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1381/13.83, allocations: 48.5 MB / 3.847 GB, free: 82.13 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/13.83, allocations: 187.8 kB / 3.848 GB, free: 81.93 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.142/18.97, allocations: 0 / 3.848 GB, free: 81.93 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity_res.mat does not exist to compare? outputFormat=mat