Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestDensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.192/2.192, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.759e-05/5.768e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1362, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.824/7.961, allocations: 2.486 GB / 2.801 GB, free: 79.76 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/7.961, allocations: 80.08 kB / 2.801 GB, free: 79.71 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.475/11.44, allocations: 0.6436 GB / 3.444 GB, free: 38.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.093e-06/11.44, allocations: 0 / 3.444 GB, free: 38.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.424e-05/11.44, allocations: 23.44 kB / 3.444 GB, free: 38.32 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.009093/11.45, allocations: 2.113 MB / 3.446 GB, free: 37.35 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/11.45, allocations: 10.42 kB / 3.446 GB, free: 37.35 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000372/11.45, allocations: 122 kB / 3.446 GB, free: 37.31 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00731/11.45, allocations: 0.5327 MB / 3.447 GB, free: 37.26 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002444/11.46, allocations: 0.6984 MB / 3.448 GB, free: 36.99 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.636e-05/11.46, allocations: 71 kB / 3.448 GB, free: 36.99 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/11.46, allocations: 67.53 kB / 3.448 GB, free: 36.99 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004682/11.46, allocations: 1.353 MB / 3.449 GB, free: 36.71 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/11.46, allocations: 7.766 kB / 3.449 GB, free: 36.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/11.46, allocations: 35.69 kB / 3.449 GB, free: 36.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/11.46, allocations: 21.06 kB / 3.449 GB, free: 36.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004237/11.47, allocations: 1.154 MB / 3.45 GB, free: 36.7 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.009533/11.47, allocations: 5.471 MB / 3.456 GB, free: 33.11 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00344/11.48, allocations: 0.8657 MB / 3.457 GB, free: 33.05 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006538/11.48, allocations: 259.5 kB / 3.457 GB, free: 33.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.253/11.73, allocations: 60.49 MB / 3.516 GB, free: 19.53 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.645e-05/11.73, allocations: 48 kB / 3.516 GB, free: 19.49 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001439/11.73, allocations: 116 kB / 3.516 GB, free: 19.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=58): time 5.511e-06/11.73, allocations: 3.188 kB / 3.516 GB, free: 19.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=58): time 0.00836/11.74, allocations: 1.249 MB / 3.517 GB, free: 19.36 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001674/11.74, allocations: 193.4 kB / 3.517 GB, free: 19.14 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/11.74, allocations: 480.3 kB / 3.518 GB, free: 19 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001622/11.74, allocations: 41.11 kB / 3.518 GB, free: 18.96 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004155/11.74, allocations: 460 kB / 3.518 GB, free: 18.67 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/11.74, allocations: 198.5 kB / 3.519 GB, free: 18.54 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.128e-05/11.74, allocations: 17.94 kB / 3.519 GB, free: 18.54 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002173/11.74, allocations: 345.9 kB / 3.519 GB, free: 18.23 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000769/11.75, allocations: 187.9 kB / 3.519 GB, free: 18.23 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/11.75, allocations: 0.5076 MB / 3.52 GB, free: 17.83 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009286/11.75, allocations: 265.3 kB / 3.52 GB, free: 17.81 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/11.75, allocations: 3.969 kB / 3.52 GB, free: 17.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0028/11.75, allocations: 0.7757 MB / 3.521 GB, free: 17.73 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002069/11.75, allocations: 3.83 MB / 3.524 GB, free: 13.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.074e-05/11.75, allocations: 11.92 kB / 3.524 GB, free: 13.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006906/11.76, allocations: 384 kB / 3.525 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/11.76, allocations: 200.8 kB / 3.525 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/11.76, allocations: 1.137 MB / 3.526 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/11.76, allocations: 67.45 kB / 3.526 GB, free: 12.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/11.76, allocations: 53.05 kB / 3.526 GB, free: 12.63 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/11.76, allocations: 2.656 kB / 3.526 GB, free: 12.63 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00187/11.77, allocations: 0.6777 MB / 3.527 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/11.77, allocations: 9.688 kB / 3.527 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/11.77, allocations: 16.81 kB / 3.527 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/11.77, allocations: 220.1 kB / 3.527 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.802e-05/11.77, allocations: 25.56 kB / 3.527 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009895/11.77, allocations: 56.34 kB / 3.527 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/11.77, allocations: 50.14 kB / 3.527 GB, free: 12.61 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.0003599/11.77, allocations: 162.7 kB / 3.527 GB, free: 12.49 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/11.77, allocations: 76.33 kB / 3.527 GB, free: 12.45 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005745/11.77, allocations: 3.595 MB / 3.531 GB, free: 11.98 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.228e-05/11.78, allocations: 52.78 kB / 3.531 GB, free: 11.97 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/11.78, allocations: 0 / 3.531 GB, free: 11.97 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/11.78, allocations: 4.922 kB / 3.531 GB, free: 11.97 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00286/11.78, allocations: 1.695 MB / 3.533 GB, free: 11.67 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/11.78, allocations: 0 / 3.533 GB, free: 11.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/11.78, allocations: 123.1 kB / 3.533 GB, free: 11.67 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0035/11.78, allocations: 0.9068 MB / 3.534 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/11.78, allocations: 19.73 kB / 3.534 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/11.78, allocations: 1.538 MB / 3.535 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/11.78, allocations: 4.953 kB / 3.535 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003263/11.79, allocations: 1.987 MB / 3.537 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/11.79, allocations: 410.6 kB / 3.537 GB, free: 25.88 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/11.79, allocations: 17.23 kB / 3.537 GB, free: 25.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009991/11.79, allocations: 55.8 kB / 3.538 GB, free: 25.87 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/11.79, allocations: 52.7 kB / 3.538 GB, free: 25.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.912e-05/11.79, allocations: 31.72 kB / 3.538 GB, free: 25.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009868/11.79, allocations: 0.5232 MB / 3.538 GB, free: 25.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/11.79, allocations: 0 / 3.538 GB, free: 25.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006821/11.8, allocations: 1.325 MB / 3.539 GB, free: 25.56 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.01431/11.81, allocations: 4.082 MB / 3.543 GB, free: 23.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003262/11.82, allocations: 1.299 MB / 3.545 GB, free: 22.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/11.82, allocations: 0 / 3.545 GB, free: 22.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001385/11.82, allocations: 0.799 MB / 3.545 GB, free: 22.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003145/11.82, allocations: 346 kB / 3.546 GB, free: 22.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.188/14.01, allocations: 415.7 MB / 3.952 GB, free: 57.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000815/14.01, allocations: 1.292 MB / 3.953 GB, free: 57.26 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009749/14.01, allocations: 0.5542 MB / 3.953 GB, free: 57.25 MB / 490.7 MB Notification: Performance of SimCode: time 1.603e-06/14.01, allocations: 0 / 3.953 GB, free: 57.25 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.091/18.1, allocations: 51.37 MB / 4.004 GB, free: 55.11 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity_res.mat does not exist to compare? outputFormat=mat