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.441/2.441, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.602e-05/3.613e-05, allocations: 8 kB / 299.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4613/0.4613, allocations: 54.85 MB / 354.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.434/7.895, allocations: 2.595 GB / 2.941 GB, free: 5.227 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/7.895, allocations: 83.95 kB / 2.941 GB, free: 5.184 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.413/10.31, allocations: 405.7 MB / 3.337 GB, free: 59.42 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.174e-06/10.31, allocations: 0 / 3.337 GB, free: 59.42 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.719e-05/10.31, allocations: 12 kB / 3.337 GB, free: 59.42 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.007398/10.32, allocations: 1.52 MB / 3.339 GB, free: 58.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/10.32, allocations: 8.625 kB / 3.339 GB, free: 58.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002676/10.32, allocations: 251.1 kB / 3.339 GB, free: 58.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/10.32, allocations: 433.3 kB / 3.339 GB, free: 58.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.575e-05/10.32, allocations: 18.91 kB / 3.339 GB, free: 58.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.204e-05/10.32, allocations: 26.14 kB / 3.339 GB, free: 58.69 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009682/10.32, allocations: 353.4 kB / 3.34 GB, free: 58.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009798/10.32, allocations: 476 kB / 3.34 GB, free: 58.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/10.32, allocations: 1.219 kB / 3.34 GB, free: 58.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.391e-05/10.32, allocations: 3.219 kB / 3.34 GB, free: 58.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/10.32, allocations: 8.969 kB / 3.34 GB, free: 58.52 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.1579/10.48, allocations: 39.56 MB / 3.379 GB, free: 42.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000828/10.48, allocations: 218.1 kB / 3.379 GB, free: 42.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/10.48, allocations: 100.8 kB / 3.379 GB, free: 42.03 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1571/10.64, allocations: 49.63 MB / 3.428 GB, free: 26.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/10.64, allocations: 41.75 kB / 3.428 GB, free: 26.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=22): time 2.485e-06/10.64, allocations: 0 / 3.428 GB, free: 26.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22): time 0.002837/10.64, allocations: 0.5053 MB / 3.428 GB, free: 26.78 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/10.64, allocations: 106.7 kB / 3.428 GB, free: 26.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004523/10.64, allocations: 297.4 kB / 3.429 GB, free: 26.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/10.64, allocations: 25.7 kB / 3.429 GB, free: 26.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/10.64, allocations: 286.4 kB / 3.429 GB, free: 26.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.344e-05/10.64, allocations: 72.12 kB / 3.429 GB, free: 26.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/10.64, allocations: 0 / 3.429 GB, free: 26.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001571/10.64, allocations: 349.5 kB / 3.429 GB, free: 26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/10.64, allocations: 92.73 kB / 3.429 GB, free: 26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003113/10.64, allocations: 279.2 kB / 3.43 GB, free: 25.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/10.64, allocations: 234.3 kB / 3.43 GB, free: 25.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/10.64, allocations: 3.75 kB / 3.43 GB, free: 25.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002074/10.65, allocations: 0.4992 MB / 3.43 GB, free: 25.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001001/10.65, allocations: 2.44 MB / 3.433 GB, free: 23.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/10.65, allocations: 10.47 kB / 3.433 GB, free: 23.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002506/10.65, allocations: 41.06 kB / 3.433 GB, free: 23.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006975/10.65, allocations: 111.6 kB / 3.433 GB, free: 23.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/10.65, allocations: 0.6268 MB / 3.433 GB, free: 22.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000806/10.65, allocations: 77.05 kB / 3.434 GB, free: 22.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/10.65, allocations: 26.38 kB / 3.434 GB, free: 22.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/10.65, allocations: 5.188 kB / 3.434 GB, free: 22.57 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001346/10.65, allocations: 362.7 kB / 3.434 GB, free: 22.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/10.65, allocations: 3.969 kB / 3.434 GB, free: 22.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/10.65, allocations: 11.44 kB / 3.434 GB, free: 22.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007088/10.65, allocations: 121.9 kB / 3.434 GB, free: 22.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/10.65, allocations: 12.91 kB / 3.434 GB, free: 22.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005984/10.65, allocations: 44.14 kB / 3.434 GB, free: 22.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/10.65, allocations: 25.94 kB / 3.434 GB, free: 22.55 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 (massFlowRate1.medium.phase,boundary_fixed.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.0001925/10.65, allocations: 134.4 kB / 3.434 GB, free: 22.44 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001635/10.66, allocations: 322.2 kB / 3.435 GB, free: 22.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.21e-05/10.66, allocations: 38.47 kB / 3.435 GB, free: 22.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002655/10.66, allocations: 1.444 MB / 3.436 GB, free: 22.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.172e-05/10.66, allocations: 19 kB / 3.436 GB, free: 22.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/10.66, allocations: 0 / 3.436 GB, free: 22.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/10.66, allocations: 4.922 kB / 3.436 GB, free: 22.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00341/10.66, allocations: 2.025 MB / 3.438 GB, free: 21.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/10.66, allocations: 0 / 3.438 GB, free: 21.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/10.66, allocations: 57.86 kB / 3.438 GB, free: 21.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008582/10.66, allocations: 0.5835 MB / 3.439 GB, free: 21.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/10.66, allocations: 6.625 kB / 3.439 GB, free: 21.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/10.66, allocations: 1.077 MB / 3.44 GB, free: 21.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/10.66, allocations: 3.156 kB / 3.44 GB, free: 21.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/10.67, allocations: 1.16 MB / 3.441 GB, free: 20.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/10.67, allocations: 180.8 kB / 3.441 GB, free: 20.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/10.67, allocations: 0 / 3.441 GB, free: 20.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004628/10.67, allocations: 28.92 kB / 3.441 GB, free: 20.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9e-05/10.67, allocations: 27.27 kB / 3.441 GB, free: 20.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/10.67, allocations: 10.16 kB / 3.441 GB, free: 20.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003195/10.67, allocations: 213.3 kB / 3.441 GB, free: 20.74 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.91e-07/10.67, allocations: 0 / 3.441 GB, free: 20.74 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005991/10.67, allocations: 1.158 MB / 3.442 GB, free: 20.55 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,massFlowRate1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.01269/10.69, allocations: 3.297 MB / 3.446 GB, free: 19.37 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001557/10.69, allocations: 0.616 MB / 3.446 GB, free: 19.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/10.69, allocations: 0 / 3.446 GB, free: 19.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005757/10.69, allocations: 376.3 kB / 3.447 GB, free: 19.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/10.69, allocations: 163 kB / 3.447 GB, free: 19.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005928/10.7, allocations: 1.396 MB / 3.448 GB, free: 18.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005754/10.7, allocations: 0.934 MB / 3.449 GB, free: 18.16 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001444/10.7, allocations: 0.5001 MB / 3.45 GB, free: 18.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/10.7, allocations: 212.5 kB / 3.45 GB, free: 18.13 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/10.7, allocations: 0 / 3.45 GB, free: 18.13 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1108/10.81, allocations: 37.41 MB / 3.486 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003161/10.81, allocations: 181.9 kB / 3.486 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.216/15.03, allocations: 4 kB / 3.486 GB, free: 13.19 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