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.065/2.065, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.081e-05/4.081e-05, allocations: 0 / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1099, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.949/8.058, allocations: 2.486 GB / 2.801 GB, free: 78.58 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/8.059, allocations: 82.58 kB / 2.801 GB, free: 78.54 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.503/11.56, allocations: 0.6436 GB / 3.444 GB, free: 38.06 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.254e-06/11.56, allocations: 0 / 3.444 GB, free: 38.06 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.627e-05/11.56, allocations: 24.31 kB / 3.444 GB, free: 38.06 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.009306/11.57, allocations: 2.116 MB / 3.446 GB, free: 37.09 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/11.57, allocations: 7.344 kB / 3.446 GB, free: 37.09 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003484/11.57, allocations: 127.6 kB / 3.447 GB, free: 37.05 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007226/11.58, allocations: 0.5311 MB / 3.447 GB, free: 37 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00224/11.58, allocations: 0.6995 MB / 3.448 GB, free: 36.73 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.309e-05/11.58, allocations: 66.91 kB / 3.448 GB, free: 36.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/11.58, allocations: 73.52 kB / 3.448 GB, free: 36.73 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004498/11.59, allocations: 1.34 MB / 3.449 GB, free: 36.46 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.702e-05/11.59, allocations: 11.05 kB / 3.449 GB, free: 36.45 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/11.59, allocations: 38.19 kB / 3.449 GB, free: 36.45 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/11.59, allocations: 21.06 kB / 3.449 GB, free: 36.45 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004094/11.59, allocations: 1.131 MB / 3.45 GB, free: 36.45 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.009186/11.6, allocations: 5.467 MB / 3.456 GB, free: 32.86 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003451/11.6, allocations: 0.8603 MB / 3.457 GB, free: 32.81 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006483/11.6, allocations: 260.6 kB / 3.457 GB, free: 32.79 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2389/11.84, allocations: 60.49 MB / 3.516 GB, free: 19.27 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/11.84, allocations: 42.22 kB / 3.516 GB, free: 19.23 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001143/11.84, allocations: 119.1 kB / 3.516 GB, free: 19.19 MB / 474.7 MB Notification: Performance of pre-optimization done (n=58): time 3.617e-06/11.84, allocations: 0 / 3.516 GB, free: 19.19 MB / 474.7 MB Notification: Performance of matching and sorting (n=58): time 0.005712/11.85, allocations: 1.249 MB / 3.517 GB, free: 19.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/11.85, allocations: 193.5 kB / 3.517 GB, free: 18.88 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008043/11.85, allocations: 481.2 kB / 3.518 GB, free: 18.73 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.891e-05/11.85, allocations: 38.92 kB / 3.518 GB, free: 18.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/11.85, allocations: 433.1 kB / 3.518 GB, free: 18.46 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/11.85, allocations: 201.5 kB / 3.519 GB, free: 18.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/11.85, allocations: 16.56 kB / 3.519 GB, free: 18.34 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000192/11.85, allocations: 374.7 kB / 3.519 GB, free: 18.03 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005231/11.85, allocations: 194.7 kB / 3.519 GB, free: 18.03 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007052/11.85, allocations: 0.4988 MB / 3.52 GB, free: 17.63 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006516/11.85, allocations: 271.2 kB / 3.52 GB, free: 17.61 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/11.85, allocations: 5.375 kB / 3.52 GB, free: 17.61 MB / 474.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002102/11.86, allocations: 0.782 MB / 3.521 GB, free: 17.51 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00152/11.86, allocations: 3.827 MB / 3.524 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.648e-05/11.86, allocations: 11.41 kB / 3.524 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005679/11.86, allocations: 384.8 kB / 3.525 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/11.86, allocations: 197 kB / 3.525 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/11.87, allocations: 1.138 MB / 3.526 GB, free: 12.42 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/11.87, allocations: 62.42 kB / 3.526 GB, free: 12.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/11.87, allocations: 48.14 kB / 3.526 GB, free: 12.41 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/11.87, allocations: 1.781 kB / 3.526 GB, free: 12.41 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001722/11.87, allocations: 0.6576 MB / 3.527 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/11.87, allocations: 12.5 kB / 3.527 GB, free: 12.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/11.87, allocations: 16.16 kB / 3.527 GB, free: 12.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/11.87, allocations: 213.8 kB / 3.527 GB, free: 12.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.847e-05/11.87, allocations: 31.48 kB / 3.527 GB, free: 12.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/11.87, allocations: 60.22 kB / 3.527 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/11.87, allocations: 50.39 kB / 3.527 GB, free: 12.38 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (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.0003928/11.87, allocations: 158 kB / 3.527 GB, free: 12.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/11.87, allocations: 80 kB / 3.527 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005457/11.88, allocations: 3.592 MB / 3.531 GB, free: 11.76 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.017e-05/11.88, allocations: 49.66 kB / 3.531 GB, free: 11.76 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/11.88, allocations: 3.906 kB / 3.531 GB, free: 11.76 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/11.88, allocations: 7.797 kB / 3.531 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002842/11.88, allocations: 1.696 MB / 3.533 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/11.88, allocations: 0 / 3.533 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/11.88, allocations: 124.6 kB / 3.533 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003413/11.89, allocations: 0.901 MB / 3.534 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/11.89, allocations: 19.89 kB / 3.534 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/11.89, allocations: 1.53 MB / 3.535 GB, free: 26.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/11.89, allocations: 5.562 kB / 3.535 GB, free: 26.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/11.89, allocations: 1.988 MB / 3.537 GB, free: 25.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007616/11.89, allocations: 415.4 kB / 3.537 GB, free: 25.67 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/11.89, allocations: 17.77 kB / 3.537 GB, free: 25.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009537/11.89, allocations: 55.88 kB / 3.538 GB, free: 25.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/11.89, allocations: 53.61 kB / 3.538 GB, free: 25.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.498e-05/11.89, allocations: 26.97 kB / 3.538 GB, free: 25.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009687/11.89, allocations: 0.5254 MB / 3.538 GB, free: 25.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.71e-07/11.89, allocations: 3.438 kB / 3.538 GB, free: 25.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007155/11.9, allocations: 1.322 MB / 3.539 GB, free: 25.35 MB / 490.7 MB 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 (70): * Single equations (assignments): 56 * 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 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01257/11.91, allocations: 4.097 MB / 3.543 GB, free: 22.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003213/11.92, allocations: 1.286 MB / 3.545 GB, free: 22.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/11.92, allocations: 0.5469 kB / 3.545 GB, free: 22.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001329/11.92, allocations: 0.7913 MB / 3.545 GB, free: 21.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003086/11.92, allocations: 347.9 kB / 3.546 GB, free: 21.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.201/14.12, allocations: 415.6 MB / 3.952 GB, free: 58.12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009107/14.12, allocations: 1.298 MB / 3.953 GB, free: 57.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003287/14.13, allocations: 1.154 MB / 3.954 GB, free: 57.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000959/14.13, allocations: 0.5375 MB / 3.955 GB, free: 57.39 MB / 490.7 MB Notification: Performance of SimCode: time 1.332e-06/14.13, allocations: 3.094 kB / 3.955 GB, free: 57.39 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.146/14.27, allocations: 64.53 MB / 4.018 GB, free: 54.97 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/14.27, allocations: 225.3 kB / 4.018 GB, free: 54.71 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.491/19.76, allocations: 0 / 4.018 GB, free: 54.71 MB / 490.7 MB 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