Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestDensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.437/2.437, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.515e-05/5.503e-05, allocations: 11.17 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1714, allocations: 61.88 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.007/9.179, allocations: 2.767 GB / 3.168 GB, free: 82.64 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003505/9.179, allocations: 83.7 kB / 3.168 GB, free: 82.6 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:306:3-308: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/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:306:3-308: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.497/12.68, allocations: 0.6723 GB / 3.84 GB, free: 8.477 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.415e-06/12.68, allocations: 3.938 kB / 3.84 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001005/12.68, allocations: 23.98 kB / 3.84 GB, free: 8.449 MB / 0.5261 GB 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.01072/12.69, allocations: 2.191 MB / 3.842 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/12.69, allocations: 11.97 kB / 3.842 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003465/12.69, allocations: 122.6 kB / 3.842 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007399/12.69, allocations: 0.5763 MB / 3.843 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002192/12.7, allocations: 0.666 MB / 3.844 GB, free: 4.781 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.065e-05/12.7, allocations: 62 kB / 3.844 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/12.7, allocations: 76 kB / 3.844 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004352/12.7, allocations: 1.363 MB / 3.845 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/12.7, allocations: 3.938 kB / 3.845 GB, free: 3.184 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/12.7, allocations: 39.98 kB / 3.845 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/12.7, allocations: 20 kB / 3.845 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004072/12.71, allocations: 1.139 MB / 3.846 GB, free: 1.984 MB / 0.5261 GB 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.01202/12.72, allocations: 5.739 MB / 3.852 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004173/12.72, allocations: 0.9369 MB / 3.853 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000848/12.72, allocations: 277.7 kB / 3.853 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5788/13.3, allocations: 32.28 MB / 3.884 GB, free: 32.6 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.002e-05/13.3, allocations: 42.58 kB / 3.885 GB, free: 32.56 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001315/13.3, allocations: 138.8 kB / 3.885 GB, free: 32.56 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=58): time 3.216e-06/13.3, allocations: 0 / 3.885 GB, free: 32.56 MB / 0.5417 GB Notification: Performance of matching and sorting (n=58): time 0.006966/13.31, allocations: 1.385 MB / 3.886 GB, free: 32.51 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.043e-05/13.31, allocations: 188.2 kB / 3.886 GB, free: 32.29 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/13.31, allocations: 0.58 MB / 3.887 GB, free: 32.16 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/13.31, allocations: 37.17 kB / 3.887 GB, free: 32.13 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000352/13.31, allocations: 394.8 kB / 3.887 GB, free: 31.97 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/13.31, allocations: 197.4 kB / 3.887 GB, free: 31.88 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-05/13.31, allocations: 15.16 kB / 3.887 GB, free: 31.88 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001562/13.31, allocations: 392.9 kB / 3.888 GB, free: 31.57 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000623/13.31, allocations: 198.1 kB / 3.888 GB, free: 31.57 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008295/13.31, allocations: 466.6 kB / 3.888 GB, free: 31.26 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000733/13.32, allocations: 253.9 kB / 3.889 GB, free: 31.26 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.29e-05/13.32, allocations: 3.656 kB / 3.889 GB, free: 31.26 MB / 0.5417 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002298/13.32, allocations: 0.786 MB / 3.889 GB, free: 31.16 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007421/13.32, allocations: 2.961 MB / 3.892 GB, free: 28.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/13.32, allocations: 8.219 kB / 3.892 GB, free: 28.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009375/13.33, allocations: 0.6353 MB / 3.893 GB, free: 28.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/13.33, allocations: 199.2 kB / 3.893 GB, free: 28.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/13.33, allocations: 1.16 MB / 3.894 GB, free: 27.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/13.33, allocations: 82.77 kB / 3.894 GB, free: 27.03 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/13.33, allocations: 43.94 kB / 3.894 GB, free: 27.03 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/13.33, allocations: 5.312 kB / 3.894 GB, free: 27.03 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001885/13.33, allocations: 0.6279 MB / 3.895 GB, free: 27.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/13.33, allocations: 9.438 kB / 3.895 GB, free: 27.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/13.33, allocations: 12.84 kB / 3.895 GB, free: 27.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/13.34, allocations: 223.6 kB / 3.895 GB, free: 27.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.708e-05/13.34, allocations: 15.62 kB / 3.895 GB, free: 27.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/13.34, allocations: 79.89 kB / 3.895 GB, free: 27.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/13.34, allocations: 39.55 kB / 3.895 GB, free: 27.02 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 8 (boundary_fixed1.medium.phase,boundary_fixed.medium.phase,massFlowRate1.medium.phase,massFlowRate2.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 (84): * Single equations (assignments): 82 * 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 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003536/13.34, allocations: 164 kB / 3.895 GB, free: 26.91 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/13.34, allocations: 89.56 kB / 3.896 GB, free: 26.87 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006109/13.34, allocations: 3.635 MB / 3.899 GB, free: 26.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-05/13.34, allocations: 50 kB / 3.899 GB, free: 26.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/13.34, allocations: 2.594 kB / 3.899 GB, free: 26.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/13.34, allocations: 3.656 kB / 3.899 GB, free: 26.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002963/13.35, allocations: 1.778 MB / 3.901 GB, free: 26.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/13.35, allocations: 0 / 3.901 GB, free: 26.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/13.35, allocations: 160.7 kB / 3.901 GB, free: 26.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004192/13.35, allocations: 0.997 MB / 3.902 GB, free: 26.21 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/13.35, allocations: 24.56 kB / 3.902 GB, free: 26.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/13.35, allocations: 1.558 MB / 3.904 GB, free: 25.17 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/13.35, allocations: 1.75 kB / 3.904 GB, free: 25.17 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003264/13.36, allocations: 2.032 MB / 3.906 GB, free: 24.69 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009554/13.36, allocations: 456.8 kB / 3.906 GB, free: 24.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/13.36, allocations: 17.22 kB / 3.906 GB, free: 24.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/13.36, allocations: 75.25 kB / 3.906 GB, free: 24.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/13.36, allocations: 71.08 kB / 3.906 GB, free: 24.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.016e-05/13.36, allocations: 27.53 kB / 3.906 GB, free: 24.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001386/13.36, allocations: 0.742 MB / 3.907 GB, free: 24.38 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.363e-06/13.36, allocations: 3.094 kB / 3.907 GB, free: 24.38 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006972/13.37, allocations: 1.335 MB / 3.908 GB, free: 24.37 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 28 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,massFlowRate2.medium.phase,boundary_fixed1.medium.phase,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse20.phase,$cse20.region,$cse22.region3boundary,$cse23.region3boundary,$cse24.phase,$cse24.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01364/13.38, allocations: 4.14 MB / 3.912 GB, free: 23.22 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003698/13.39, allocations: 1.298 MB / 3.914 GB, free: 23.18 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/13.39, allocations: 4.25 kB / 3.914 GB, free: 23.18 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001539/13.39, allocations: 0.8092 MB / 3.914 GB, free: 23.16 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004541/13.39, allocations: 0.4893 MB / 3.915 GB, free: 23.14 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008913/13.4, allocations: 2.68 MB / 3.917 GB, free: 22.54 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001458/13.4, allocations: 1.292 MB / 3.919 GB, free: 21.83 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005795/13.41, allocations: 1.259 MB / 3.92 GB, free: 21.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001798/13.41, allocations: 0.5433 MB / 3.92 GB, free: 21.79 MB / 0.5417 GB Notification: Performance of SimCode: time 1.954e-06/13.41, allocations: 0 / 3.92 GB, free: 21.79 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2107/13.62, allocations: 68.82 MB / 3.988 GB, free: 18.47 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003177/13.62, allocations: 233 kB / 3.988 GB, free: 18.16 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.755/19.38, allocations: 3.938 kB / 3.988 GB, free: 18.16 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity_res.mat does not exist to compare? outputFormat=mat