Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sensors_TestDensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.368/2.368, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.079e-05/4.09e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4554/0.4554, allocations: 54.85 MB / 359.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.084/8.54, allocations: 2.597 GB / 2.949 GB, free: 109.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/8.54, allocations: 78.92 kB / 2.949 GB, free: 109.7 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.275/11.82, allocations: 0.661 GB / 3.61 GB, free: 46.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.485e-06/11.82, allocations: 0 / 3.61 GB, free: 46.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.291e-05/11.82, allocations: 18.47 kB / 3.61 GB, free: 46.62 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.009399/11.82, allocations: 2.19 MB / 3.612 GB, free: 45.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/11.83, allocations: 10.91 kB / 3.612 GB, free: 45.5 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003109/11.83, allocations: 122.9 kB / 3.612 GB, free: 45.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007375/11.83, allocations: 0.576 MB / 3.613 GB, free: 45.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002334/11.84, allocations: 0.7006 MB / 3.613 GB, free: 45.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.003e-05/11.84, allocations: 71.97 kB / 3.613 GB, free: 45.12 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/11.84, allocations: 68 kB / 3.613 GB, free: 45.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004355/11.84, allocations: 1.342 MB / 3.615 GB, free: 44.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.665e-05/11.84, allocations: 5.844 kB / 3.615 GB, free: 44.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/11.84, allocations: 36.72 kB / 3.615 GB, free: 44.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/11.84, allocations: 22.34 kB / 3.615 GB, free: 44.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004064/11.84, allocations: 1.135 MB / 3.616 GB, free: 44.84 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.009362/11.85, allocations: 5.464 MB / 3.621 GB, free: 41.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003486/11.86, allocations: 0.8548 MB / 3.622 GB, free: 41.15 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006448/11.86, allocations: 253 kB / 3.622 GB, free: 41.13 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2385/12.1, allocations: 60.57 MB / 3.681 GB, free: 19.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.919e-05/12.1, allocations: 42.28 kB / 3.681 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001239/12.1, allocations: 123.9 kB / 3.682 GB, free: 19.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=58): time 4.759e-06/12.1, allocations: 0 / 3.682 GB, free: 19.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58): time 0.00622/12.1, allocations: 1.256 MB / 3.683 GB, free: 18.86 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/12.1, allocations: 187.9 kB / 3.683 GB, free: 18.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008586/12.11, allocations: 472.5 kB / 3.683 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/12.11, allocations: 33.7 kB / 3.683 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/12.11, allocations: 431.8 kB / 3.684 GB, free: 17.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/12.11, allocations: 203.6 kB / 3.684 GB, free: 17.59 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.027e-05/12.11, allocations: 16 kB / 3.684 GB, free: 17.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001917/12.11, allocations: 379.8 kB / 3.684 GB, free: 17.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/12.11, allocations: 200.2 kB / 3.685 GB, free: 17.03 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006879/12.11, allocations: 0.4997 MB / 3.685 GB, free: 16.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006529/12.11, allocations: 262 kB / 3.685 GB, free: 16.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/12.11, allocations: 4 kB / 3.685 GB, free: 16.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002134/12.11, allocations: 0.7803 MB / 3.686 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001522/12.11, allocations: 3.829 MB / 3.69 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.431e-05/12.11, allocations: 16 kB / 3.69 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005646/12.12, allocations: 380 kB / 3.69 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/12.12, allocations: 194.5 kB / 3.69 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/12.12, allocations: 1.138 MB / 3.692 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/12.12, allocations: 68.53 kB / 3.692 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/12.12, allocations: 51.66 kB / 3.692 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/12.12, allocations: 4.938 kB / 3.692 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001706/12.12, allocations: 0.6536 MB / 3.692 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/12.12, allocations: 15.94 kB / 3.692 GB, free: 9.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/12.12, allocations: 16 kB / 3.692 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/12.12, allocations: 216 kB / 3.693 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.213e-05/12.13, allocations: 19.94 kB / 3.693 GB, free: 8.805 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/12.13, allocations: 66.67 kB / 3.693 GB, free: 8.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/12.13, allocations: 55.42 kB / 3.693 GB, free: 8.703 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.0003434/12.13, allocations: 164.6 kB / 3.693 GB, free: 8.535 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/12.13, allocations: 78.7 kB / 3.693 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006211/12.13, allocations: 3.58 MB / 3.696 GB, free: 5.266 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.316e-05/12.13, allocations: 51.97 kB / 3.696 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/12.13, allocations: 0 / 3.696 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-05/12.13, allocations: 3.188 kB / 3.696 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003431/12.14, allocations: 1.703 MB / 3.698 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.169e-05/12.14, allocations: 4 kB / 3.698 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/12.14, allocations: 117.5 kB / 3.698 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003723/12.14, allocations: 0.9055 MB / 3.699 GB, free: 2.922 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001701/12.14, allocations: 20 kB / 3.699 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/12.14, allocations: 1.529 MB / 3.701 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/12.14, allocations: 4.031 kB / 3.701 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.41/12.55, allocations: 2.018 MB / 3.703 GB, free: 62.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/12.55, allocations: 411.2 kB / 3.703 GB, free: 61.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/12.55, allocations: 18.14 kB / 3.703 GB, free: 61.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009761/12.56, allocations: 54.5 kB / 3.703 GB, free: 61.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/12.56, allocations: 59.02 kB / 3.703 GB, free: 61.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.339e-05/12.56, allocations: 25.39 kB / 3.703 GB, free: 61.96 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001098/12.56, allocations: 0.5196 MB / 3.704 GB, free: 61.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.91e-07/12.56, allocations: 0 / 3.704 GB, free: 61.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007109/12.56, allocations: 1.324 MB / 3.705 GB, free: 61.84 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.01502/12.58, allocations: 4.114 MB / 3.709 GB, free: 60.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004036/12.58, allocations: 1.287 MB / 3.71 GB, free: 60.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/12.58, allocations: 0.9375 kB / 3.71 GB, free: 60.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001567/12.59, allocations: 0.7939 MB / 3.711 GB, free: 60.76 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003312/12.59, allocations: 350.9 kB / 3.711 GB, free: 60.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.903/14.49, allocations: 424 MB / 4.125 GB, free: 76.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000862/14.49, allocations: 1.292 MB / 4.127 GB, free: 75.44 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003264/14.5, allocations: 1.157 MB / 4.128 GB, free: 75.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009375/14.5, allocations: 0.5354 MB / 4.128 GB, free: 75.42 MB / 0.5261 GB Notification: Performance of SimCode: time 2.274e-06/14.5, allocations: 2.844 kB / 4.128 GB, free: 75.42 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1505/14.65, allocations: 64.63 MB / 4.191 GB, free: 72.19 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002744/14.65, allocations: 233.3 kB / 4.192 GB, free: 71.92 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.6/20.25, allocations: 0 / 4.192 GB, free: 71.92 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity_res.mat does not exist to compare? outputFormat=mat