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.484/2.484, allocations: 235 MB / 247.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.085e-05/5.111e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.467/0.4671, allocations: 54.85 MB / 359.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.164/8.631, allocations: 2.597 GB / 2.949 GB, free: 109.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/8.632, allocations: 91.53 kB / 2.949 GB, free: 109.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.365/12, allocations: 0.661 GB / 3.61 GB, free: 46.28 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.686e-06/12, allocations: 0 / 3.61 GB, free: 46.28 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.846e-05/12, allocations: 24.66 kB / 3.61 GB, free: 46.27 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.00987/12.01, allocations: 2.191 MB / 3.612 GB, free: 45.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/12.01, allocations: 10.28 kB / 3.612 GB, free: 45.15 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003277/12.01, allocations: 121.2 kB / 3.612 GB, free: 45.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007418/12.01, allocations: 0.5786 MB / 3.613 GB, free: 45.06 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/12.02, allocations: 0.6986 MB / 3.613 GB, free: 44.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.987e-05/12.02, allocations: 64.88 kB / 3.613 GB, free: 44.78 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/12.02, allocations: 73.78 kB / 3.613 GB, free: 44.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004487/12.02, allocations: 1.353 MB / 3.615 GB, free: 44.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.351e-05/12.02, allocations: 3.656 kB / 3.615 GB, free: 44.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/12.02, allocations: 39.62 kB / 3.615 GB, free: 44.49 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/12.02, allocations: 19.84 kB / 3.615 GB, free: 44.49 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004201/12.03, allocations: 1.154 MB / 3.616 GB, free: 44.47 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.009555/12.04, allocations: 5.468 MB / 3.621 GB, free: 40.83 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003406/12.04, allocations: 0.8641 MB / 3.622 GB, free: 40.78 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006244/12.04, allocations: 263.4 kB / 3.622 GB, free: 40.76 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2346/12.27, allocations: 60.55 MB / 3.681 GB, free: 19.74 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/12.28, allocations: 49.44 kB / 3.681 GB, free: 19.69 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001124/12.28, allocations: 116.5 kB / 3.682 GB, free: 19.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=58): time 3.627e-06/12.28, allocations: 0 / 3.682 GB, free: 19.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58): time 0.005487/12.28, allocations: 1.257 MB / 3.683 GB, free: 18.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/12.28, allocations: 191.6 kB / 3.683 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007825/12.28, allocations: 474.1 kB / 3.683 GB, free: 18.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.36e-05/12.28, allocations: 33.7 kB / 3.683 GB, free: 18.01 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/12.28, allocations: 436 kB / 3.684 GB, free: 17.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/12.28, allocations: 195.7 kB / 3.684 GB, free: 17.45 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/12.28, allocations: 20 kB / 3.684 GB, free: 17.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001819/12.28, allocations: 384.9 kB / 3.684 GB, free: 17.06 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005477/12.28, allocations: 192.7 kB / 3.685 GB, free: 16.88 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000669/12.28, allocations: 0.5004 MB / 3.685 GB, free: 16.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006582/12.29, allocations: 265.9 kB / 3.685 GB, free: 16.03 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.729e-06/12.29, allocations: 4 kB / 3.685 GB, free: 16.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002107/12.29, allocations: 0.8059 MB / 3.686 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001487/12.29, allocations: 3.834 MB / 3.69 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.791e-05/12.29, allocations: 11.75 kB / 3.69 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0057/12.29, allocations: 382.5 kB / 3.69 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/12.3, allocations: 200.6 kB / 3.69 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/12.3, allocations: 1.134 MB / 3.692 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/12.3, allocations: 67.56 kB / 3.692 GB, free: 9.496 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/12.3, allocations: 47.8 kB / 3.692 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/12.3, allocations: 8.938 kB / 3.692 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001688/12.3, allocations: 0.6795 MB / 3.692 GB, free: 8.832 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/12.3, allocations: 8.938 kB / 3.692 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/12.3, allocations: 16 kB / 3.692 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/12.3, allocations: 221.9 kB / 3.693 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/12.3, allocations: 19.88 kB / 3.693 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/12.3, allocations: 70.91 kB / 3.693 GB, free: 8.547 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/12.3, allocations: 44.95 kB / 3.693 GB, free: 8.508 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.0003673/12.3, allocations: 172.1 kB / 3.693 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/12.3, allocations: 71.16 kB / 3.693 GB, free: 8.266 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006218/12.31, allocations: 3.593 MB / 3.696 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.66e-05/12.31, allocations: 45.23 kB / 3.697 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/12.31, allocations: 4 kB / 3.697 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/12.31, allocations: 3.609 kB / 3.697 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003231/12.31, allocations: 1.701 MB / 3.698 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/12.31, allocations: 4 kB / 3.698 GB, free: 3.531 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/12.32, allocations: 125.9 kB / 3.698 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00368/12.32, allocations: 0.8947 MB / 3.699 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001467/12.32, allocations: 19.61 kB / 3.699 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/12.32, allocations: 1.538 MB / 3.701 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/12.32, allocations: 0 / 3.701 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4183/12.74, allocations: 2.001 MB / 3.703 GB, free: 61.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009788/12.74, allocations: 415.6 kB / 3.703 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/12.74, allocations: 17.91 kB / 3.703 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009581/12.74, allocations: 49.47 kB / 3.703 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/12.74, allocations: 63.08 kB / 3.703 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-05/12.74, allocations: 22.73 kB / 3.703 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001089/12.74, allocations: 0.5188 MB / 3.704 GB, free: 61.74 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.81e-07/12.74, allocations: 2.812 kB / 3.704 GB, free: 61.74 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007279/12.75, allocations: 1.326 MB / 3.705 GB, free: 61.74 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.01435/12.76, allocations: 4.091 MB / 3.709 GB, free: 60.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003916/12.77, allocations: 1.323 MB / 3.71 GB, free: 60.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/12.77, allocations: 0 / 3.71 GB, free: 60.68 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001596/12.77, allocations: 0.7903 MB / 3.711 GB, free: 60.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/12.77, allocations: 349.6 kB / 3.711 GB, free: 60.65 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.935/14.71, allocations: 424 MB / 4.125 GB, free: 76.24 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008113/14.71, allocations: 1.297 MB / 4.127 GB, free: 75.52 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003086/14.71, allocations: 1.153 MB / 4.128 GB, free: 75.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007983/14.71, allocations: 0.5364 MB / 4.128 GB, free: 75.49 MB / 0.5261 GB Notification: Performance of SimCode: time 1.032e-06/14.71, allocations: 0.8438 kB / 4.128 GB, free: 75.49 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1729/14.89, allocations: 64.47 MB / 4.191 GB, free: 72.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002385/14.89, allocations: 238.6 kB / 4.192 GB, free: 72.21 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.787/20.67, allocations: 1.203 kB / 4.192 GB, free: 72.21 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