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 1.971/1.971, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.107e-05/4.132e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1082, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.924/8.032, allocations: 2.486 GB / 2.801 GB, free: 79.49 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/8.033, allocations: 87.94 kB / 2.801 GB, free: 79.44 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.71/11.74, allocations: 0.6436 GB / 3.444 GB, free: 38.37 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.124e-06/11.74, allocations: 3.031 kB / 3.444 GB, free: 38.37 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.312e-05/11.74, allocations: 28.02 kB / 3.444 GB, free: 38.37 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.009302/11.75, allocations: 2.115 MB / 3.446 GB, free: 37.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/11.75, allocations: 10.75 kB / 3.446 GB, free: 37.4 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003417/11.75, allocations: 118.9 kB / 3.447 GB, free: 37.36 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007218/11.76, allocations: 0.5339 MB / 3.447 GB, free: 37.32 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/11.76, allocations: 0.7014 MB / 3.448 GB, free: 37.04 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.565e-05/11.76, allocations: 62.41 kB / 3.448 GB, free: 37.04 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/11.76, allocations: 71.84 kB / 3.448 GB, free: 37.04 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004511/11.77, allocations: 1.355 MB / 3.449 GB, free: 36.76 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.131e-05/11.77, allocations: 7.047 kB / 3.449 GB, free: 36.76 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/11.77, allocations: 36.94 kB / 3.449 GB, free: 36.76 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/11.77, allocations: 22.47 kB / 3.449 GB, free: 36.76 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004313/11.77, allocations: 1.153 MB / 3.45 GB, free: 36.75 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.009436/11.78, allocations: 5.467 MB / 3.456 GB, free: 33.16 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003434/11.78, allocations: 0.8675 MB / 3.457 GB, free: 33.11 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006512/11.79, allocations: 256.8 kB / 3.457 GB, free: 33.09 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.237/12.02, allocations: 60.49 MB / 3.516 GB, free: 19.58 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.149e-05/12.02, allocations: 44.28 kB / 3.516 GB, free: 19.54 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001208/12.02, allocations: 122.6 kB / 3.516 GB, free: 19.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=58): time 3.817e-06/12.02, allocations: 0 / 3.516 GB, free: 19.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=58): time 0.006003/12.03, allocations: 1.254 MB / 3.517 GB, free: 19.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/12.03, allocations: 189.6 kB / 3.517 GB, free: 19.18 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008318/12.03, allocations: 478.8 kB / 3.518 GB, free: 19.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001216/12.03, allocations: 36.27 kB / 3.518 GB, free: 19.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/12.03, allocations: 431.8 kB / 3.518 GB, free: 18.78 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/12.03, allocations: 205 kB / 3.519 GB, free: 18.66 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/12.03, allocations: 14.91 kB / 3.519 GB, free: 18.66 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002084/12.03, allocations: 374.6 kB / 3.519 GB, free: 18.34 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005349/12.03, allocations: 195.2 kB / 3.519 GB, free: 18.34 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007115/12.03, allocations: 0.5012 MB / 3.52 GB, free: 17.95 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006579/12.03, allocations: 271.3 kB / 3.52 GB, free: 17.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/12.03, allocations: 3.5 kB / 3.52 GB, free: 17.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002148/12.04, allocations: 0.8103 MB / 3.521 GB, free: 17.83 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001744/12.04, allocations: 3.83 MB / 3.524 GB, free: 13.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.659e-05/12.04, allocations: 10.91 kB / 3.524 GB, free: 13.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00576/12.04, allocations: 387.7 kB / 3.525 GB, free: 13.78 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/12.04, allocations: 192.8 kB / 3.525 GB, free: 13.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/12.05, allocations: 1.134 MB / 3.526 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/12.05, allocations: 74.11 kB / 3.526 GB, free: 12.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/12.05, allocations: 48.11 kB / 3.526 GB, free: 12.72 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/12.05, allocations: 4.656 kB / 3.526 GB, free: 12.72 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001738/12.05, allocations: 0.6744 MB / 3.527 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/12.05, allocations: 15.06 kB / 3.527 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/12.05, allocations: 16.92 kB / 3.527 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/12.05, allocations: 216.2 kB / 3.527 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.743e-05/12.05, allocations: 33.05 kB / 3.527 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/12.05, allocations: 61.62 kB / 3.527 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/12.05, allocations: 45.19 kB / 3.527 GB, free: 12.7 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.0003811/12.05, allocations: 164.1 kB / 3.527 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/12.05, allocations: 77.42 kB / 3.527 GB, free: 12.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005545/12.06, allocations: 3.587 MB / 3.531 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-05/12.06, allocations: 49.31 kB / 3.531 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/12.06, allocations: 6.812 kB / 3.531 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/12.06, allocations: 7.859 kB / 3.531 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002774/12.06, allocations: 1.694 MB / 3.533 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/12.06, allocations: 0 / 3.533 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/12.06, allocations: 123.2 kB / 3.533 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003443/12.07, allocations: 0.9029 MB / 3.534 GB, free: 11.72 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/12.07, allocations: 18.83 kB / 3.534 GB, free: 11.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/12.07, allocations: 1.528 MB / 3.535 GB, free: 10.67 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/12.07, allocations: 9.031 kB / 3.535 GB, free: 10.67 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003166/12.07, allocations: 1.989 MB / 3.537 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008946/12.07, allocations: 416.1 kB / 3.537 GB, free: 9.973 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/12.07, allocations: 17.7 kB / 3.538 GB, free: 9.969 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009725/12.07, allocations: 55.3 kB / 3.538 GB, free: 9.961 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/12.07, allocations: 58.88 kB / 3.538 GB, free: 9.961 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.696e-05/12.07, allocations: 23.45 kB / 3.538 GB, free: 9.961 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009765/12.07, allocations: 0.5256 MB / 3.538 GB, free: 9.84 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.31e-07/12.07, allocations: 0 / 3.538 GB, free: 9.84 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006548/12.08, allocations: 1.329 MB / 3.539 GB, free: 9.656 MB / 474.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.01441/12.1, allocations: 4.075 MB / 3.543 GB, free: 23.49 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003274/12.1, allocations: 1.322 MB / 3.545 GB, free: 22.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/12.1, allocations: 0 / 3.545 GB, free: 22.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001399/12.1, allocations: 0.7941 MB / 3.545 GB, free: 22.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003209/12.1, allocations: 341.5 kB / 3.546 GB, free: 22.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.205/14.31, allocations: 415.6 MB / 3.952 GB, free: 58.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008223/14.31, allocations: 1.302 MB / 3.953 GB, free: 57.56 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003197/14.31, allocations: 1.153 MB / 3.954 GB, free: 57.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009512/14.31, allocations: 0.5358 MB / 3.955 GB, free: 57.54 MB / 490.7 MB Notification: Performance of SimCode: time 1.212e-06/14.31, allocations: 0 / 3.955 GB, free: 57.54 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1516/14.47, allocations: 64.38 MB / 4.018 GB, free: 55.38 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000329/14.47, allocations: 227.5 kB / 4.018 GB, free: 55.12 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.921/20.39, allocations: 0 / 4.018 GB, free: 55.12 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