Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestDensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.942/2.942, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.115e-05/4.117e-05, allocations: 8 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.4398, allocations: 58.83 MB / 382.3 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.638/9.078, allocations: 2.762 GB / 3.135 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/9.078, allocations: 86.02 kB / 3.135 GB, free: 129.3 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:306:3-308: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.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:306:3-308: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.432/12.51, allocations: 0.665 GB / 3.8 GB, free: 56.98 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.046e-06/12.51, allocations: 0 / 3.8 GB, free: 56.98 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001306/12.51, allocations: 22.77 kB / 3.8 GB, free: 56.98 MB / 0.5261 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.009973/12.52, allocations: 2.189 MB / 3.802 GB, free: 55.86 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/12.52, allocations: 11.09 kB / 3.802 GB, free: 55.86 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000364/12.52, allocations: 127 kB / 3.802 GB, free: 55.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007919/12.53, allocations: 0.5798 MB / 3.803 GB, free: 55.76 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/12.53, allocations: 0.6655 MB / 3.804 GB, free: 55.48 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/12.53, allocations: 62.59 kB / 3.804 GB, free: 55.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/12.53, allocations: 75.06 kB / 3.804 GB, free: 55.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004707/12.54, allocations: 1.371 MB / 3.805 GB, free: 55.19 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.168e-05/12.54, allocations: 6.062 kB / 3.805 GB, free: 55.19 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/12.54, allocations: 38.12 kB / 3.805 GB, free: 55.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/12.54, allocations: 18.03 kB / 3.805 GB, free: 55.19 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004329/12.54, allocations: 1.136 MB / 3.806 GB, free: 55.18 MB / 0.5261 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.01112/12.55, allocations: 5.731 MB / 3.812 GB, free: 51.53 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003808/12.56, allocations: 0.9478 MB / 3.813 GB, free: 51.47 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007338/12.56, allocations: 280.5 kB / 3.813 GB, free: 51.46 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.104/12.66, allocations: 32.28 MB / 3.844 GB, free: 31.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/12.66, allocations: 43.7 kB / 3.845 GB, free: 31.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001286/12.66, allocations: 134 kB / 3.845 GB, free: 31.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=58): time 4.569e-06/12.66, allocations: 3.875 kB / 3.845 GB, free: 31.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58): time 0.006569/12.67, allocations: 1.386 MB / 3.846 GB, free: 31.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/12.67, allocations: 191 kB / 3.846 GB, free: 30.82 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/12.67, allocations: 0.5773 MB / 3.847 GB, free: 30.69 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001871/12.67, allocations: 36.95 kB / 3.847 GB, free: 30.66 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003467/12.67, allocations: 399.6 kB / 3.847 GB, free: 30.47 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/12.67, allocations: 198.9 kB / 3.847 GB, free: 30.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-05/12.67, allocations: 13.41 kB / 3.847 GB, free: 30.34 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00021/12.67, allocations: 394 kB / 3.848 GB, free: 30.03 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005742/12.67, allocations: 196.9 kB / 3.848 GB, free: 30.03 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007321/12.67, allocations: 462.6 kB / 3.848 GB, free: 29.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006837/12.67, allocations: 262.5 kB / 3.849 GB, free: 29.67 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/12.67, allocations: 3.938 kB / 3.849 GB, free: 29.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002219/12.68, allocations: 0.7768 MB / 3.849 GB, free: 29.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001161/12.68, allocations: 2.964 MB / 3.852 GB, free: 26.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/12.68, allocations: 10.64 kB / 3.852 GB, free: 26.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00941/12.69, allocations: 0.6315 MB / 3.853 GB, free: 26.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/12.69, allocations: 199.1 kB / 3.853 GB, free: 26.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/12.69, allocations: 1.169 MB / 3.854 GB, free: 24.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/12.69, allocations: 79.84 kB / 3.854 GB, free: 24.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/12.69, allocations: 40.56 kB / 3.854 GB, free: 24.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/12.69, allocations: 3.719 kB / 3.854 GB, free: 24.96 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001745/12.69, allocations: 0.6281 MB / 3.855 GB, free: 24.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/12.69, allocations: 11.42 kB / 3.855 GB, free: 24.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/12.69, allocations: 14.69 kB / 3.855 GB, free: 24.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/12.69, allocations: 220.1 kB / 3.855 GB, free: 24.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.54e-05/12.69, allocations: 19.61 kB / 3.855 GB, free: 24.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/12.7, allocations: 84.16 kB / 3.855 GB, free: 24.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/12.7, allocations: 40.89 kB / 3.855 GB, free: 24.67 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (84): * Single equations (assignments): 82 * 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 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003591/12.7, allocations: 152.1 kB / 3.856 GB, free: 24.53 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/12.7, allocations: 91.03 kB / 3.856 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005677/12.7, allocations: 3.632 MB / 3.859 GB, free: 22.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.806e-05/12.7, allocations: 48.92 kB / 3.859 GB, free: 22.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/12.7, allocations: 5.109 kB / 3.859 GB, free: 22.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/12.7, allocations: 0 / 3.859 GB, free: 22.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/12.7, allocations: 1.778 MB / 3.861 GB, free: 21.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/12.7, allocations: 4 kB / 3.861 GB, free: 21.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/12.71, allocations: 162.6 kB / 3.861 GB, free: 21.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004234/12.71, allocations: 0.9986 MB / 3.862 GB, free: 21.67 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001569/12.71, allocations: 11.38 kB / 3.862 GB, free: 21.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/12.71, allocations: 1.563 MB / 3.864 GB, free: 20.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/12.71, allocations: 3.875 kB / 3.864 GB, free: 20.38 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003409/12.72, allocations: 2.03 MB / 3.866 GB, free: 18.65 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/12.72, allocations: 460.1 kB / 3.866 GB, free: 18.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002833/12.72, allocations: 19.94 kB / 3.866 GB, free: 18.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/12.72, allocations: 76.77 kB / 3.866 GB, free: 18.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/12.72, allocations: 58.45 kB / 3.866 GB, free: 18.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.829e-05/12.72, allocations: 27.7 kB / 3.866 GB, free: 18.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001518/12.72, allocations: 0.7495 MB / 3.867 GB, free: 17.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.51e-07/12.72, allocations: 0 / 3.867 GB, free: 17.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007009/12.73, allocations: 1.325 MB / 3.868 GB, free: 16.11 MB / 0.5261 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 (68): * Single equations (assignments): 54 * 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 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01318/12.74, allocations: 4.149 MB / 3.872 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003482/12.74, allocations: 1.293 MB / 3.874 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/12.74, allocations: 0 / 3.874 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001549/12.75, allocations: 0.8088 MB / 3.874 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0046/12.75, allocations: 496.8 kB / 3.875 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008873/12.76, allocations: 2.681 MB / 3.877 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009778/12.76, allocations: 1.294 MB / 3.879 GB, free: 6.613 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003309/12.76, allocations: 1.257 MB / 3.88 GB, free: 5.875 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009811/12.76, allocations: 0.5469 MB / 3.88 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of SimCode: time 1.593e-06/12.76, allocations: 0 / 3.88 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6078/13.37, allocations: 68.8 MB / 3.948 GB, free: 54.23 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002816/13.37, allocations: 237.1 kB / 3.948 GB, free: 53.96 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.77/19.14, allocations: 0 / 3.948 GB, free: 53.96 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity_res.mat does not exist to compare? outputFormat=mat