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 2.006/2.006, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.709e-05/3.72e-05, allocations: 0 / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1156, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.927/8.042, allocations: 2.485 GB / 2.799 GB, free: 81.21 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/8.043, allocations: 82.89 kB / 2.799 GB, free: 81.17 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.942/9.985, allocations: 399.6 MB / 3.189 GB, free: 7.617 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.314e-06/9.985, allocations: 4 kB / 3.189 GB, free: 7.613 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.605e-05/9.985, allocations: 8 kB / 3.189 GB, free: 7.605 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.006507/9.991, allocations: 1.484 MB / 3.191 GB, free: 6.082 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/9.991, allocations: 12.03 kB / 3.191 GB, free: 6.07 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001512/9.991, allocations: 74.53 kB / 3.191 GB, free: 5.988 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002586/9.994, allocations: 235.2 kB / 3.191 GB, free: 5.758 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/9.995, allocations: 443.5 kB / 3.192 GB, free: 5.297 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.124e-05/9.995, allocations: 37.47 kB / 3.192 GB, free: 5.262 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.462e-05/9.995, allocations: 36 kB / 3.192 GB, free: 5.227 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/9.997, allocations: 0.6701 MB / 3.192 GB, free: 4.496 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/9.997, allocations: 4 kB / 3.192 GB, free: 4.492 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.187e-05/9.997, allocations: 16 kB / 3.192 GB, free: 4.477 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/9.997, allocations: 12 kB / 3.192 GB, free: 4.465 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/9.999, allocations: 0.5244 MB / 3.193 GB, free: 3.941 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.004217/10, allocations: 3.143 MB / 3.196 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/10, allocations: 374.4 kB / 3.196 GB, free: 200 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/10.01, allocations: 120.8 kB / 3.196 GB, free: 76 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6315/10.64, allocations: 80.94 MB / 3.276 GB, free: 31.04 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.062e-05/10.64, allocations: 36.91 kB / 3.276 GB, free: 31 MB / 458.7 MB Notification: Performance of pre-optimization done (n=27): time 4.388e-06/10.64, allocations: 0 / 3.276 GB, free: 31 MB / 458.7 MB Notification: Performance of matching and sorting (n=27): time 0.002836/10.64, allocations: 0.6041 MB / 3.276 GB, free: 30.96 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.783e-05/10.64, allocations: 113.2 kB / 3.276 GB, free: 30.83 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004895/10.64, allocations: 295.8 kB / 3.277 GB, free: 30.73 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.215e-05/10.64, allocations: 34.42 kB / 3.277 GB, free: 30.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/10.64, allocations: 317.9 kB / 3.277 GB, free: 30.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/10.64, allocations: 92.64 kB / 3.277 GB, free: 30.45 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/10.64, allocations: 10.53 kB / 3.277 GB, free: 30.45 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/10.64, allocations: 334.2 kB / 3.277 GB, free: 30.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/10.64, allocations: 99.75 kB / 3.277 GB, free: 30.13 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/10.64, allocations: 286.5 kB / 3.278 GB, free: 29.89 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/10.64, allocations: 140.9 kB / 3.278 GB, free: 29.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/10.64, allocations: 4 kB / 3.278 GB, free: 29.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001081/10.64, allocations: 422.4 kB / 3.278 GB, free: 29.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001058/10.64, allocations: 2.429 MB / 3.281 GB, free: 27.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/10.64, allocations: 15.28 kB / 3.281 GB, free: 27.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003027/10.65, allocations: 199.2 kB / 3.281 GB, free: 27.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/10.65, allocations: 110.5 kB / 3.281 GB, free: 27.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/10.65, allocations: 0.5805 MB / 3.281 GB, free: 26.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/10.65, allocations: 70.69 kB / 3.281 GB, free: 26.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/10.65, allocations: 26.08 kB / 3.282 GB, free: 26.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/10.65, allocations: 6.312 kB / 3.282 GB, free: 26.71 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001586/10.65, allocations: 344.6 kB / 3.282 GB, free: 26.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/10.65, allocations: 5.938 kB / 3.282 GB, free: 26.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.573e-05/10.65, allocations: 11 kB / 3.282 GB, free: 26.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/10.65, allocations: 126 kB / 3.282 GB, free: 26.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-05/10.65, allocations: 9.656 kB / 3.282 GB, free: 26.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008548/10.65, allocations: 54.11 kB / 3.282 GB, free: 26.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/10.65, allocations: 25.61 kB / 3.282 GB, free: 26.69 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.000381/10.66, allocations: 147.1 kB / 3.282 GB, free: 26.58 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/10.66, allocations: 34.91 kB / 3.282 GB, free: 26.56 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004587/10.66, allocations: 1.851 MB / 3.284 GB, free: 26.36 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.564e-05/10.66, allocations: 25.44 kB / 3.284 GB, free: 26.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/10.66, allocations: 4 kB / 3.284 GB, free: 26.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/10.66, allocations: 3.281 kB / 3.284 GB, free: 26.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/10.66, allocations: 0.9309 MB / 3.285 GB, free: 26.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/10.66, allocations: 0 / 3.285 GB, free: 26.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005102/10.66, allocations: 64.81 kB / 3.285 GB, free: 26.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002108/10.67, allocations: 0.7117 MB / 3.286 GB, free: 26.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.723e-05/10.67, allocations: 7.344 kB / 3.286 GB, free: 26.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/10.67, allocations: 0.9883 MB / 3.287 GB, free: 25.55 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/10.67, allocations: 1.406 kB / 3.287 GB, free: 25.55 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/10.67, allocations: 1.199 MB / 3.288 GB, free: 25.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004043/10.67, allocations: 238.7 kB / 3.288 GB, free: 25.15 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-05/10.67, allocations: 10.56 kB / 3.288 GB, free: 25.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004878/10.67, allocations: 26.94 kB / 3.288 GB, free: 25.15 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/10.67, allocations: 32.56 kB / 3.288 GB, free: 25.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/10.67, allocations: 18.45 kB / 3.288 GB, free: 25.14 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005/10.67, allocations: 291.6 kB / 3.288 GB, free: 25.05 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.11e-07/10.67, allocations: 0 / 3.288 GB, free: 25.05 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006072/10.68, allocations: 1.198 MB / 3.29 GB, free: 25.04 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.01199/10.69, allocations: 3.089 MB / 3.293 GB, free: 24.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00173/10.69, allocations: 0.6638 MB / 3.293 GB, free: 24.16 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/10.69, allocations: 3.781 kB / 3.293 GB, free: 24.16 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006552/10.69, allocations: 432.2 kB / 3.294 GB, free: 24.16 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/10.69, allocations: 184.2 kB / 3.294 GB, free: 24.15 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7966/11.49, allocations: 150.4 MB / 3.441 GB, free: 78.12 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/11.49, allocations: 0.9875 MB / 3.442 GB, free: 77.42 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000423/11.49, allocations: 265.8 kB / 3.442 GB, free: 77.41 MB / 474.7 MB Notification: Performance of SimCode: time 1.382e-06/11.49, allocations: 0 / 3.442 GB, free: 77.41 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.687/15.18, allocations: 34.18 MB / 3.475 GB, free: 74.81 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