Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestDensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.408/2.408, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.37e-05/4.382e-05, allocations: 5.969 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1367, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.627/8.764, allocations: 2.767 GB / 3.168 GB, free: 84.23 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/8.764, allocations: 79.89 kB / 3.168 GB, free: 84.19 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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.513/12.28, allocations: 0.6723 GB / 3.84 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.266e-06/12.28, allocations: 4 kB / 3.84 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.453e-05/12.28, allocations: 27.92 kB / 3.84 GB, free: 9.887 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.00933/12.29, allocations: 2.183 MB / 3.842 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/12.29, allocations: 12.03 kB / 3.842 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002795/12.29, allocations: 122.6 kB / 3.842 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007299/12.29, allocations: 0.5763 MB / 3.843 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002071/12.3, allocations: 0.6659 MB / 3.844 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.518e-05/12.3, allocations: 66 kB / 3.844 GB, free: 6.164 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/12.3, allocations: 72 kB / 3.844 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00424/12.3, allocations: 1.363 MB / 3.845 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/12.3, allocations: 11.94 kB / 3.845 GB, free: 4.621 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/12.3, allocations: 32 kB / 3.845 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/12.3, allocations: 20 kB / 3.845 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003954/12.3, allocations: 1.143 MB / 3.846 GB, free: 3.426 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.01107/12.32, allocations: 5.727 MB / 3.852 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004234/12.32, allocations: 0.9523 MB / 3.853 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000943/12.32, allocations: 281.7 kB / 3.853 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5606/12.88, allocations: 32.28 MB / 3.884 GB, free: 33.34 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.7e-05/12.88, allocations: 40.42 kB / 3.884 GB, free: 33.3 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001254/12.88, allocations: 135.2 kB / 3.885 GB, free: 33.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=58): time 3.466e-06/12.88, allocations: 0 / 3.885 GB, free: 33.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=58): time 0.00671/12.89, allocations: 1.382 MB / 3.886 GB, free: 33.25 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/12.89, allocations: 188.9 kB / 3.886 GB, free: 33.03 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/12.89, allocations: 0.5809 MB / 3.887 GB, free: 32.89 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.641e-05/12.89, allocations: 36.28 kB / 3.887 GB, free: 32.86 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/12.89, allocations: 401.2 kB / 3.887 GB, free: 32.71 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/12.89, allocations: 201.6 kB / 3.887 GB, free: 32.61 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/12.89, allocations: 12.88 kB / 3.887 GB, free: 32.61 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001659/12.89, allocations: 392.4 kB / 3.888 GB, free: 32.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006817/12.89, allocations: 204.7 kB / 3.888 GB, free: 32.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008181/12.89, allocations: 456.8 kB / 3.888 GB, free: 32 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007636/12.89, allocations: 266 kB / 3.889 GB, free: 32 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/12.89, allocations: 3.312 kB / 3.889 GB, free: 32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002432/12.9, allocations: 0.7775 MB / 3.889 GB, free: 31.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006382/12.9, allocations: 2.962 MB / 3.892 GB, free: 28.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/12.9, allocations: 9.156 kB / 3.892 GB, free: 28.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009495/12.91, allocations: 0.6396 MB / 3.893 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/12.91, allocations: 193.5 kB / 3.893 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/12.91, allocations: 1.159 MB / 3.894 GB, free: 27.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/12.91, allocations: 83.17 kB / 3.894 GB, free: 27.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/12.91, allocations: 42.64 kB / 3.894 GB, free: 27.76 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/12.91, allocations: 3.25 kB / 3.894 GB, free: 27.76 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001896/12.91, allocations: 0.625 MB / 3.895 GB, free: 27.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/12.91, allocations: 9.469 kB / 3.895 GB, free: 27.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/12.91, allocations: 14.88 kB / 3.895 GB, free: 27.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/12.92, allocations: 222 kB / 3.895 GB, free: 27.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.92e-05/12.92, allocations: 25.19 kB / 3.895 GB, free: 27.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/12.92, allocations: 78.98 kB / 3.895 GB, free: 27.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/12.92, allocations: 42.36 kB / 3.895 GB, free: 27.75 MB / 0.5417 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.000324/12.92, allocations: 157.2 kB / 3.895 GB, free: 27.64 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/12.92, allocations: 86.75 kB / 3.896 GB, free: 27.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006263/12.92, allocations: 3.633 MB / 3.899 GB, free: 27.24 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.718e-05/12.92, allocations: 49.16 kB / 3.899 GB, free: 27.24 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/12.92, allocations: 0 / 3.899 GB, free: 27.24 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/12.92, allocations: 4.219 kB / 3.899 GB, free: 27.24 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003706/12.93, allocations: 1.786 MB / 3.901 GB, free: 26.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/12.93, allocations: 2.844 kB / 3.901 GB, free: 26.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/12.93, allocations: 157.2 kB / 3.901 GB, free: 26.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004201/12.93, allocations: 1.003 MB / 3.902 GB, free: 26.95 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001632/12.93, allocations: 16.97 kB / 3.902 GB, free: 26.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/12.93, allocations: 1.567 MB / 3.904 GB, free: 25.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/12.93, allocations: 0 / 3.904 GB, free: 25.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003463/12.94, allocations: 2.025 MB / 3.906 GB, free: 25.43 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/12.94, allocations: 460.5 kB / 3.906 GB, free: 25.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/12.94, allocations: 15 kB / 3.906 GB, free: 25.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/12.94, allocations: 74.77 kB / 3.906 GB, free: 25.23 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/12.94, allocations: 74.98 kB / 3.906 GB, free: 25.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.573e-05/12.94, allocations: 22.02 kB / 3.906 GB, free: 25.23 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001444/12.94, allocations: 0.7433 MB / 3.907 GB, free: 25.11 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.21e-07/12.94, allocations: 3.719 kB / 3.907 GB, free: 25.11 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007064/12.95, allocations: 1.336 MB / 3.908 GB, free: 25.1 MB / 0.5417 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.01384/12.96, allocations: 4.149 MB / 3.912 GB, free: 23.95 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003652/12.97, allocations: 1.305 MB / 3.914 GB, free: 23.91 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/12.97, allocations: 4.75 kB / 3.914 GB, free: 23.91 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001605/12.97, allocations: 0.8055 MB / 3.914 GB, free: 23.89 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004736/12.97, allocations: 490.2 kB / 3.915 GB, free: 23.87 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008855/12.98, allocations: 2.677 MB / 3.917 GB, free: 23.27 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008019/12.98, allocations: 1.296 MB / 3.919 GB, free: 22.55 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003233/12.99, allocations: 1.258 MB / 3.92 GB, free: 22.53 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009038/12.99, allocations: 0.5403 MB / 3.92 GB, free: 22.52 MB / 0.5417 GB Notification: Performance of SimCode: time 2.164e-06/12.99, allocations: 0 / 3.92 GB, free: 22.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1572/13.14, allocations: 68.82 MB / 3.988 GB, free: 19.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/13.14, allocations: 232.7 kB / 3.988 GB, free: 18.99 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.184/19.33, allocations: 0 / 3.988 GB, free: 18.99 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity_res.mat does not exist to compare? outputFormat=mat