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.164/2.164, allocations: 209.3 MB / 221.9 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.005e-05/4.013e-05, allocations: 3.984 kB / 273.2 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.116, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.062/8.179, allocations: 2.486 GB / 2.801 GB, free: 79.08 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/8.179, allocations: 79.08 kB / 2.801 GB, free: 79.04 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.559/11.74, allocations: 0.6436 GB / 3.444 GB, free: 37.97 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.164e-06/11.74, allocations: 1.938 kB / 3.444 GB, free: 37.97 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.375e-05/11.74, allocations: 23.25 kB / 3.444 GB, free: 37.97 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.009845/11.75, allocations: 2.113 MB / 3.446 GB, free: 37 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/11.75, allocations: 11.16 kB / 3.446 GB, free: 37 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000482/11.75, allocations: 122.4 kB / 3.447 GB, free: 36.96 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00766/11.76, allocations: 0.5306 MB / 3.447 GB, free: 36.91 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/11.76, allocations: 0.6918 MB / 3.448 GB, free: 36.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/11.76, allocations: 62.5 kB / 3.448 GB, free: 36.64 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/11.76, allocations: 76.75 kB / 3.448 GB, free: 36.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004628/11.76, allocations: 1.346 MB / 3.449 GB, free: 36.36 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.179e-05/11.76, allocations: 7.703 kB / 3.449 GB, free: 36.36 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/11.76, allocations: 41.61 kB / 3.449 GB, free: 36.36 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/11.76, allocations: 17.97 kB / 3.449 GB, free: 36.36 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00423/11.77, allocations: 1.132 MB / 3.45 GB, free: 36.35 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.00932/11.78, allocations: 5.468 MB / 3.456 GB, free: 32.77 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003387/11.78, allocations: 0.8588 MB / 3.457 GB, free: 32.71 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006062/11.78, allocations: 258.9 kB / 3.457 GB, free: 32.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2408/12.02, allocations: 60.49 MB / 3.516 GB, free: 19.17 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.766e-05/12.02, allocations: 38.75 kB / 3.516 GB, free: 19.13 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001169/12.02, allocations: 131.2 kB / 3.516 GB, free: 19.09 MB / 474.7 MB Notification: Performance of pre-optimization done (n=58): time 3.166e-06/12.02, allocations: 0 / 3.516 GB, free: 19.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=58): time 0.005585/12.03, allocations: 1.249 MB / 3.517 GB, free: 19 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/12.03, allocations: 192.8 kB / 3.517 GB, free: 18.77 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008357/12.03, allocations: 479.6 kB / 3.518 GB, free: 18.63 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.429e-05/12.03, allocations: 37.98 kB / 3.518 GB, free: 18.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/12.03, allocations: 461.3 kB / 3.518 GB, free: 18.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/12.03, allocations: 202.8 kB / 3.519 GB, free: 18.18 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/12.03, allocations: 10.5 kB / 3.519 GB, free: 18.18 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/12.03, allocations: 345.9 kB / 3.519 GB, free: 17.86 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005156/12.03, allocations: 189.8 kB / 3.519 GB, free: 17.86 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007018/12.03, allocations: 0.5001 MB / 3.52 GB, free: 17.46 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006512/12.03, allocations: 268.8 kB / 3.52 GB, free: 17.45 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/12.03, allocations: 3.875 kB / 3.52 GB, free: 17.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001993/12.04, allocations: 0.7471 MB / 3.521 GB, free: 17.37 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00154/12.04, allocations: 3.836 MB / 3.524 GB, free: 13.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/12.04, allocations: 10.5 kB / 3.524 GB, free: 13.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005679/12.04, allocations: 380.8 kB / 3.525 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/12.04, allocations: 199.3 kB / 3.525 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/12.05, allocations: 1.142 MB / 3.526 GB, free: 12.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/12.05, allocations: 68.47 kB / 3.526 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/12.05, allocations: 49.52 kB / 3.526 GB, free: 12.26 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/12.05, allocations: 3.875 kB / 3.526 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001779/12.05, allocations: 0.6509 MB / 3.527 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/12.05, allocations: 14.69 kB / 3.527 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/12.05, allocations: 13.12 kB / 3.527 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/12.05, allocations: 218.6 kB / 3.527 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.792e-05/12.05, allocations: 26.16 kB / 3.527 GB, free: 12.24 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009656/12.05, allocations: 56.5 kB / 3.527 GB, free: 12.24 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/12.05, allocations: 46.7 kB / 3.527 GB, free: 12.24 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.0003617/12.05, allocations: 168.5 kB / 3.527 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/12.05, allocations: 73.09 kB / 3.527 GB, free: 12.09 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005587/12.06, allocations: 3.596 MB / 3.531 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.904e-05/12.06, allocations: 48.27 kB / 3.531 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/12.06, allocations: 0 / 3.531 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/12.06, allocations: 7.891 kB / 3.531 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00285/12.06, allocations: 1.702 MB / 3.533 GB, free: 11.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/12.06, allocations: 0 / 3.533 GB, free: 11.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/12.06, allocations: 122.9 kB / 3.533 GB, free: 11.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003436/12.07, allocations: 0.8985 MB / 3.534 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001568/12.07, allocations: 18.56 kB / 3.534 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/12.07, allocations: 1.533 MB / 3.535 GB, free: 26.22 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/12.07, allocations: 3.5 kB / 3.535 GB, free: 26.22 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003173/12.07, allocations: 1.993 MB / 3.537 GB, free: 25.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008479/12.07, allocations: 414.8 kB / 3.537 GB, free: 25.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/12.07, allocations: 17.86 kB / 3.537 GB, free: 25.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009738/12.07, allocations: 52.42 kB / 3.537 GB, free: 25.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/12.07, allocations: 57.89 kB / 3.537 GB, free: 25.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.479e-05/12.07, allocations: 22.3 kB / 3.538 GB, free: 25.51 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001035/12.07, allocations: 0.5283 MB / 3.538 GB, free: 25.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.51e-07/12.07, allocations: 0 / 3.538 GB, free: 25.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007291/12.08, allocations: 1.325 MB / 3.539 GB, free: 25.2 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.01278/12.09, allocations: 4.092 MB / 3.543 GB, free: 23.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003182/12.1, allocations: 1.27 MB / 3.545 GB, free: 22.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/12.1, allocations: 0 / 3.545 GB, free: 22.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001461/12.1, allocations: 0.7831 MB / 3.545 GB, free: 22.01 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00334/12.1, allocations: 360.5 kB / 3.546 GB, free: 21.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.21/14.31, allocations: 415.7 MB / 3.952 GB, free: 58.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008075/14.31, allocations: 1.295 MB / 3.953 GB, free: 57.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009132/14.31, allocations: 0.5488 MB / 3.953 GB, free: 57.59 MB / 490.7 MB Notification: Performance of SimCode: time 2.184e-06/14.31, allocations: 0 / 3.953 GB, free: 57.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.049/18.36, allocations: 51.46 MB / 4.004 GB, free: 55.25 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