Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestDensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.48/2.48, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.01e-05/4.016e-05, allocations: 4 kB / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4613/0.4613, allocations: 54.87 MB / 359.9 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.865/8.326, allocations: 2.597 GB / 2.949 GB, free: 110.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/8.326, allocations: 86.27 kB / 2.949 GB, free: 110.4 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.312/11.64, allocations: 0.661 GB / 3.61 GB, free: 46.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.514e-06/11.64, allocations: 0 / 3.61 GB, free: 46.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.491e-05/11.64, allocations: 21.84 kB / 3.61 GB, free: 46.09 MB / 0.4948 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.009635/11.65, allocations: 2.196 MB / 3.612 GB, free: 44.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/11.65, allocations: 9.344 kB / 3.612 GB, free: 44.96 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003512/11.65, allocations: 120.7 kB / 3.612 GB, free: 44.92 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007585/11.66, allocations: 0.5737 MB / 3.613 GB, free: 44.87 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/11.66, allocations: 0.6988 MB / 3.613 GB, free: 44.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/11.66, allocations: 65.56 kB / 3.613 GB, free: 44.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/11.66, allocations: 75.25 kB / 3.613 GB, free: 44.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004824/11.66, allocations: 1.338 MB / 3.615 GB, free: 44.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.417e-05/11.66, allocations: 11.16 kB / 3.615 GB, free: 44.31 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/11.66, allocations: 33.94 kB / 3.615 GB, free: 44.31 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/11.66, allocations: 21.56 kB / 3.615 GB, free: 44.31 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004266/11.67, allocations: 1.132 MB / 3.616 GB, free: 44.29 MB / 0.4948 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.0097/11.68, allocations: 5.476 MB / 3.621 GB, free: 40.65 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003494/11.68, allocations: 0.8591 MB / 3.622 GB, free: 40.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006722/11.68, allocations: 263.8 kB / 3.622 GB, free: 40.58 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2438/11.93, allocations: 60.56 MB / 3.681 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.025e-05/11.93, allocations: 38.5 kB / 3.681 GB, free: 18.85 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001265/11.93, allocations: 123.7 kB / 3.682 GB, free: 18.76 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=58): time 7.945e-06/11.93, allocations: 0 / 3.682 GB, free: 18.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58): time 0.006072/11.93, allocations: 1.25 MB / 3.683 GB, free: 17.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/11.93, allocations: 191.9 kB / 3.683 GB, free: 17.65 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008723/11.94, allocations: 471.4 kB / 3.683 GB, free: 17.22 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001752/11.94, allocations: 37.7 kB / 3.683 GB, free: 17.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003123/11.94, allocations: 460 kB / 3.684 GB, free: 16.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/11.94, allocations: 200.8 kB / 3.684 GB, free: 16.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/11.94, allocations: 19.94 kB / 3.684 GB, free: 16.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001661/11.94, allocations: 343.8 kB / 3.684 GB, free: 16.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005223/11.94, allocations: 195.3 kB / 3.685 GB, free: 16.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007002/11.94, allocations: 0.4952 MB / 3.685 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006414/11.94, allocations: 261.6 kB / 3.685 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/11.94, allocations: 8 kB / 3.685 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001915/11.94, allocations: 0.7454 MB / 3.686 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001659/11.94, allocations: 3.835 MB / 3.69 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/11.94, allocations: 11.69 kB / 3.69 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005774/11.95, allocations: 388 kB / 3.69 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/11.95, allocations: 197.9 kB / 3.69 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/11.95, allocations: 1.137 MB / 3.691 GB, free: 8.758 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/11.95, allocations: 70.61 kB / 3.692 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/11.95, allocations: 47.61 kB / 3.692 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/11.95, allocations: 4 kB / 3.692 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001664/11.95, allocations: 0.6544 MB / 3.692 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/11.95, allocations: 12 kB / 3.692 GB, free: 8.055 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/11.95, allocations: 12 kB / 3.692 GB, free: 8.043 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/11.96, allocations: 216.1 kB / 3.692 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.426e-05/11.96, allocations: 27.64 kB / 3.693 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009411/11.96, allocations: 59.44 kB / 3.693 GB, free: 7.789 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.861e-05/11.96, allocations: 50.33 kB / 3.693 GB, free: 7.746 MB / 0.5105 GB 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.000359/11.96, allocations: 168.6 kB / 3.693 GB, free: 7.574 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002427/11.96, allocations: 71.16 kB / 3.693 GB, free: 7.504 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006637/11.96, allocations: 3.589 MB / 3.696 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.082e-05/11.96, allocations: 50.41 kB / 3.696 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/11.96, allocations: 3.938 kB / 3.696 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/11.96, allocations: 3.891 kB / 3.696 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/11.97, allocations: 1.699 MB / 3.698 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/11.97, allocations: 0 / 3.698 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/11.97, allocations: 133.9 kB / 3.698 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003699/11.97, allocations: 0.8961 MB / 3.699 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/11.97, allocations: 15.52 kB / 3.699 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/11.97, allocations: 1.535 MB / 3.701 GB, free: 432 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/11.97, allocations: 0 / 3.701 GB, free: 432 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4056/12.38, allocations: 1.992 MB / 3.703 GB, free: 61.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008348/12.38, allocations: 414.6 kB / 3.703 GB, free: 61.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/12.38, allocations: 17.22 kB / 3.703 GB, free: 61.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009922/12.38, allocations: 54.98 kB / 3.703 GB, free: 61.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002036/12.38, allocations: 65.47 kB / 3.703 GB, free: 61.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.996e-05/12.38, allocations: 23.55 kB / 3.703 GB, free: 61.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001047/12.38, allocations: 0.5164 MB / 3.704 GB, free: 61.44 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.81e-07/12.38, allocations: 0 / 3.704 GB, free: 61.44 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007215/12.39, allocations: 1.329 MB / 3.705 GB, free: 61.41 MB / 0.5105 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 (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.01413/12.4, allocations: 4.104 MB / 3.709 GB, free: 60.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003697/12.41, allocations: 1.261 MB / 3.71 GB, free: 60.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/12.41, allocations: 1.453 kB / 3.71 GB, free: 60.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0016/12.41, allocations: 0.7897 MB / 3.711 GB, free: 60.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003431/12.41, allocations: 352.8 kB / 3.711 GB, free: 60.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.111/14.52, allocations: 424 MB / 4.125 GB, free: 76.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009259/14.53, allocations: 1.288 MB / 4.127 GB, free: 75.49 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009956/14.53, allocations: 0.5518 MB / 4.127 GB, free: 75.48 MB / 0.5261 GB Notification: Performance of SimCode: time 1.633e-06/14.53, allocations: 0 / 4.127 GB, free: 75.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.076/18.6, allocations: 51.52 MB / 4.177 GB, free: 72.3 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity_res.mat does not exist to compare? outputFormat=mat