Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.462/2.462, allocations: 235 MB / 247.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.071e-05/4.082e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4395, allocations: 54.85 MB / 359.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.081/8.521, allocations: 2.596 GB / 2.947 GB, free: 109.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/8.521, allocations: 86 kB / 2.947 GB, free: 109.5 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 .... Notification: Performance of FrontEnd - DAE generated: time 2.1/10.62, allocations: 409.7 MB / 3.347 GB, free: 58.22 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.415e-06/10.62, allocations: 0 / 3.347 GB, free: 58.22 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.321e-05/10.62, allocations: 8.531 kB / 3.347 GB, free: 58.22 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.007046/10.63, allocations: 1.522 MB / 3.349 GB, free: 57.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/10.63, allocations: 14.75 kB / 3.349 GB, free: 57.57 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/10.63, allocations: 80.36 kB / 3.349 GB, free: 57.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002665/10.63, allocations: 249.1 kB / 3.349 GB, free: 57.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/10.63, allocations: 439 kB / 3.35 GB, free: 57.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.505e-05/10.63, allocations: 37.59 kB / 3.35 GB, free: 57.28 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.91e-05/10.63, allocations: 39.72 kB / 3.35 GB, free: 57.28 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/10.63, allocations: 0.6647 MB / 3.35 GB, free: 57.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/10.63, allocations: 4.969 kB / 3.35 GB, free: 57.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.596e-05/10.63, allocations: 21.47 kB / 3.35 GB, free: 57.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/10.63, allocations: 13.16 kB / 3.35 GB, free: 57.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/10.64, allocations: 0.5273 MB / 3.351 GB, free: 57.1 MB / 490.7 MB 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.00465/10.64, allocations: 3.134 MB / 3.354 GB, free: 54.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/10.64, allocations: 380.5 kB / 3.354 GB, free: 54.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/10.64, allocations: 114.5 kB / 3.354 GB, free: 54.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.301/10.94, allocations: 81.06 MB / 3.434 GB, free: 27.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.191e-05/10.94, allocations: 42.12 kB / 3.434 GB, free: 27.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=27): time 2.665e-06/10.94, allocations: 0 / 3.434 GB, free: 27.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.00283/10.95, allocations: 0.5896 MB / 3.434 GB, free: 27.51 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.859e-05/10.95, allocations: 113.1 kB / 3.434 GB, free: 27.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004748/10.95, allocations: 297.7 kB / 3.435 GB, free: 27.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/10.95, allocations: 33.23 kB / 3.435 GB, free: 27.24 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/10.95, allocations: 268.5 kB / 3.435 GB, free: 27.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.975e-05/10.95, allocations: 97.92 kB / 3.435 GB, free: 27.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/10.95, allocations: 11.47 kB / 3.435 GB, free: 27.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000163/10.95, allocations: 345.2 kB / 3.435 GB, free: 26.74 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/10.95, allocations: 94.73 kB / 3.435 GB, free: 26.74 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/10.95, allocations: 285.4 kB / 3.436 GB, free: 26.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/10.95, allocations: 147.1 kB / 3.436 GB, free: 26.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/10.95, allocations: 3.953 kB / 3.436 GB, free: 26.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001078/10.95, allocations: 430.1 kB / 3.436 GB, free: 26.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009565/10.95, allocations: 2.436 MB / 3.439 GB, free: 23.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/10.95, allocations: 6.719 kB / 3.439 GB, free: 23.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003014/10.95, allocations: 211 kB / 3.439 GB, free: 23.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007558/10.96, allocations: 111.8 kB / 3.439 GB, free: 23.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007021/10.96, allocations: 0.5737 MB / 3.439 GB, free: 23.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007379/10.96, allocations: 67.78 kB / 3.439 GB, free: 23.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/10.96, allocations: 26.38 kB / 3.439 GB, free: 23.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/10.96, allocations: 8.562 kB / 3.44 GB, free: 23.3 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008531/10.96, allocations: 349.2 kB / 3.44 GB, free: 23.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/10.96, allocations: 7.531 kB / 3.44 GB, free: 23.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/10.96, allocations: 10.42 kB / 3.44 GB, free: 23.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007357/10.96, allocations: 119.6 kB / 3.44 GB, free: 23.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/10.96, allocations: 22.81 kB / 3.44 GB, free: 23.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006051/10.96, allocations: 56.83 kB / 3.44 GB, free: 23.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-05/10.96, allocations: 21.75 kB / 3.44 GB, free: 23.28 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 4 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002312/10.96, allocations: 141.6 kB / 3.44 GB, free: 23.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/10.96, allocations: 38.34 kB / 3.44 GB, free: 23.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002723/10.96, allocations: 1.837 MB / 3.442 GB, free: 22.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.595e-05/10.96, allocations: 26.27 kB / 3.442 GB, free: 22.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/10.96, allocations: 3.625 kB / 3.442 GB, free: 22.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/10.96, allocations: 7.844 kB / 3.442 GB, free: 22.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/10.96, allocations: 0.9234 MB / 3.443 GB, free: 22.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/10.96, allocations: 0 / 3.443 GB, free: 22.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004994/10.96, allocations: 65.27 kB / 3.443 GB, free: 22.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002088/10.97, allocations: 0.718 MB / 3.444 GB, free: 22.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.068e-05/10.97, allocations: 7.766 kB / 3.444 GB, free: 22.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/10.97, allocations: 0.9923 MB / 3.445 GB, free: 22.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/10.97, allocations: 0 / 3.445 GB, free: 22.06 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/10.97, allocations: 1.199 MB / 3.446 GB, free: 21.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000368/10.97, allocations: 237.9 kB / 3.446 GB, free: 21.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.605e-05/10.97, allocations: 9.438 kB / 3.446 GB, free: 21.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004793/10.97, allocations: 29.28 kB / 3.446 GB, free: 21.63 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.119e-05/10.97, allocations: 30.06 kB / 3.446 GB, free: 21.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/10.97, allocations: 11.31 kB / 3.446 GB, free: 21.63 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004586/10.97, allocations: 295.6 kB / 3.446 GB, free: 21.53 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.9e-07/10.97, allocations: 0 / 3.446 GB, free: 21.53 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006357/10.98, allocations: 1.206 MB / 3.448 GB, free: 21.35 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01278/10.99, allocations: 3.094 MB / 3.451 GB, free: 20.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001728/10.99, allocations: 0.6819 MB / 3.451 GB, free: 20.29 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/10.99, allocations: 0 / 3.451 GB, free: 20.29 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007901/10.99, allocations: 435.8 kB / 3.452 GB, free: 20.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/11, allocations: 185.4 kB / 3.452 GB, free: 20.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8943/11.89, allocations: 152.9 MB / 3.601 GB, free: 61.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/11.89, allocations: 0.9881 MB / 3.602 GB, free: 61.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001302/11.89, allocations: 439.6 kB / 3.603 GB, free: 61.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004066/11.89, allocations: 260.2 kB / 3.603 GB, free: 61.14 MB / 0.4948 GB Notification: Performance of SimCode: time 1.422e-06/11.89, allocations: 0 / 3.603 GB, free: 61.14 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1086/12, allocations: 47.26 MB / 3.649 GB, free: 33.37 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003505/12, allocations: 230.3 kB / 3.649 GB, free: 33.11 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.569/16.57, allocations: 0 / 3.649 GB, free: 33.11 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat does not exist to compare? outputFormat=mat