Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.96/1.96, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.425e-05/4.441e-05, allocations: 4 kB / 273.1 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1215, allocations: 48.7 MB / 321.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.906/8.028, allocations: 2.485 GB / 2.799 GB, free: 81.17 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/8.028, allocations: 85.75 kB / 2.799 GB, free: 81.12 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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 1.962/9.99, allocations: 399.6 MB / 3.189 GB, free: 7.578 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.064e-06/9.99, allocations: 8 kB / 3.189 GB, free: 7.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.572e-05/9.99, allocations: 14.98 kB / 3.189 GB, free: 7.559 MB / 426.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.006345/9.996, allocations: 1.477 MB / 3.191 GB, free: 6.039 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/9.996, allocations: 12.03 kB / 3.191 GB, free: 6.027 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000129/9.997, allocations: 78.47 kB / 3.191 GB, free: 5.941 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002511/9.999, allocations: 234 kB / 3.191 GB, free: 5.715 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/10, allocations: 440.8 kB / 3.192 GB, free: 5.254 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.012e-05/10, allocations: 37.41 kB / 3.192 GB, free: 5.219 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.956e-05/10, allocations: 40 kB / 3.192 GB, free: 5.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/10, allocations: 0.6756 MB / 3.192 GB, free: 4.445 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/10, allocations: 3.938 kB / 3.192 GB, free: 4.441 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-05/10, allocations: 20 kB / 3.192 GB, free: 4.422 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/10, allocations: 8 kB / 3.192 GB, free: 4.414 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/10, allocations: 0.5416 MB / 3.193 GB, free: 3.871 MB / 426.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.004185/10.01, allocations: 3.133 MB / 3.196 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/10.01, allocations: 386.4 kB / 3.196 GB, free: 128 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/10.01, allocations: 112.8 kB / 3.196 GB, free: 12 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6441/10.65, allocations: 80.94 MB / 3.276 GB, free: 30.86 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.005e-05/10.65, allocations: 37.33 kB / 3.276 GB, free: 30.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=27): time 2.705e-06/10.65, allocations: 0.7656 kB / 3.276 GB, free: 30.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=27): time 0.002794/10.66, allocations: 0.6003 MB / 3.276 GB, free: 30.77 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.156e-05/10.66, allocations: 106.1 kB / 3.276 GB, free: 30.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/10.66, allocations: 300.9 kB / 3.277 GB, free: 30.54 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.291e-05/10.66, allocations: 29.33 kB / 3.277 GB, free: 30.51 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/10.66, allocations: 323.1 kB / 3.277 GB, free: 30.31 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.967e-05/10.66, allocations: 100.8 kB / 3.277 GB, free: 30.26 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/10.66, allocations: 12.41 kB / 3.277 GB, free: 30.26 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/10.66, allocations: 325.1 kB / 3.277 GB, free: 29.95 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/10.66, allocations: 98.98 kB / 3.277 GB, free: 29.95 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004019/10.66, allocations: 289.5 kB / 3.278 GB, free: 29.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/10.66, allocations: 144.3 kB / 3.278 GB, free: 29.69 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/10.66, allocations: 4 kB / 3.278 GB, free: 29.69 MB / 458.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001073/10.66, allocations: 436.1 kB / 3.278 GB, free: 29.63 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00102/10.66, allocations: 2.438 MB / 3.281 GB, free: 27.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/10.66, allocations: 11.19 kB / 3.281 GB, free: 27.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003009/10.66, allocations: 195.1 kB / 3.281 GB, free: 27.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000773/10.67, allocations: 114.2 kB / 3.281 GB, free: 27.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007391/10.67, allocations: 0.5774 MB / 3.281 GB, free: 26.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007657/10.67, allocations: 73.33 kB / 3.282 GB, free: 26.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/10.67, allocations: 26.53 kB / 3.282 GB, free: 26.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/10.67, allocations: 5.203 kB / 3.282 GB, free: 26.52 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008642/10.67, allocations: 363.3 kB / 3.282 GB, free: 26.51 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/10.67, allocations: 7.625 kB / 3.282 GB, free: 26.51 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/10.67, allocations: 9.812 kB / 3.282 GB, free: 26.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007407/10.67, allocations: 121.7 kB / 3.282 GB, free: 26.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/10.67, allocations: 12.72 kB / 3.282 GB, free: 26.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/10.67, allocations: 52.72 kB / 3.282 GB, free: 26.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/10.67, allocations: 22.94 kB / 3.282 GB, free: 26.5 MB / 458.7 MB 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.0002412/10.67, allocations: 142.6 kB / 3.282 GB, free: 26.39 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/10.67, allocations: 39.05 kB / 3.282 GB, free: 26.37 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002816/10.67, allocations: 1.845 MB / 3.284 GB, free: 26.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.774e-05/10.67, allocations: 30.2 kB / 3.284 GB, free: 26.18 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/10.67, allocations: 4 kB / 3.284 GB, free: 26.17 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/10.67, allocations: 3.844 kB / 3.284 GB, free: 26.17 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/10.67, allocations: 0.9342 MB / 3.285 GB, free: 25.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/10.67, allocations: 0 / 3.285 GB, free: 25.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004986/10.67, allocations: 61.69 kB / 3.285 GB, free: 25.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002117/10.68, allocations: 0.7091 MB / 3.286 GB, free: 25.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.657e-05/10.68, allocations: 10.31 kB / 3.286 GB, free: 25.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/10.68, allocations: 0.9837 MB / 3.287 GB, free: 25.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/10.68, allocations: 0 / 3.287 GB, free: 25.36 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/10.68, allocations: 1.204 MB / 3.288 GB, free: 25.11 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004365/10.68, allocations: 242.3 kB / 3.288 GB, free: 24.96 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.35e-05/10.68, allocations: 3.75 kB / 3.288 GB, free: 24.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004927/10.68, allocations: 39.17 kB / 3.288 GB, free: 24.96 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/10.68, allocations: 26.03 kB / 3.288 GB, free: 24.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.744e-05/10.68, allocations: 21.23 kB / 3.288 GB, free: 24.96 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004914/10.68, allocations: 293.1 kB / 3.289 GB, free: 24.87 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.11e-07/10.68, allocations: 0 / 3.289 GB, free: 24.87 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00626/10.69, allocations: 1.196 MB / 3.29 GB, free: 24.86 MB / 458.7 MB 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.01259/10.7, allocations: 3.075 MB / 3.293 GB, free: 23.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001805/10.7, allocations: 0.685 MB / 3.293 GB, free: 23.97 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/10.7, allocations: 3.5 kB / 3.293 GB, free: 23.97 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000751/10.7, allocations: 434.9 kB / 3.294 GB, free: 23.97 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/10.71, allocations: 192.9 kB / 3.294 GB, free: 23.96 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8506/11.56, allocations: 150.2 MB / 3.441 GB, free: 77.97 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006882/11.56, allocations: 0.9852 MB / 3.442 GB, free: 77.27 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006101/11.56, allocations: 266.7 kB / 3.442 GB, free: 77.26 MB / 474.7 MB Notification: Performance of SimCode: time 1.483e-06/11.56, allocations: 2.5 kB / 3.442 GB, free: 77.26 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.887/15.44, allocations: 34.11 MB / 3.475 GB, free: 74.71 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat does not exist to compare? outputFormat=mat