Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.371/2.371, allocations: 235 MB / 247.6 MB, free: 14.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.299e-05/4.305e-05, allocations: 8 kB / 305 MB, free: 5.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4484/0.4485, allocations: 54.85 MB / 359.9 MB, free: 2.234 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.814/8.262, allocations: 2.596 GB / 2.947 GB, free: 109.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/8.263, allocations: 91.17 kB / 2.947 GB, free: 109.6 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.107/10.37, allocations: 409.8 MB / 3.347 GB, free: 57.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.725e-06/10.37, allocations: 3.328 kB / 3.347 GB, free: 57.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.847e-05/10.37, allocations: 10.34 kB / 3.347 GB, free: 57.82 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.00725/10.38, allocations: 1.522 MB / 3.349 GB, free: 57.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/10.38, allocations: 11.03 kB / 3.349 GB, free: 57.18 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001536/10.38, allocations: 78.33 kB / 3.349 GB, free: 57.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002621/10.38, allocations: 245.7 kB / 3.349 GB, free: 57.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/10.38, allocations: 442.7 kB / 3.35 GB, free: 56.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.257e-05/10.38, allocations: 34 kB / 3.35 GB, free: 56.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.952e-05/10.38, allocations: 40.59 kB / 3.35 GB, free: 56.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/10.38, allocations: 0.6681 MB / 3.35 GB, free: 56.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/10.38, allocations: 1.969 kB / 3.35 GB, free: 56.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.366e-05/10.38, allocations: 25.78 kB / 3.35 GB, free: 56.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/10.38, allocations: 10.47 kB / 3.35 GB, free: 56.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/10.39, allocations: 0.5234 MB / 3.351 GB, free: 56.71 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.004361/10.39, allocations: 3.14 MB / 3.354 GB, free: 54.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/10.39, allocations: 375.9 kB / 3.354 GB, free: 54.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/10.39, allocations: 131.3 kB / 3.354 GB, free: 54.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3034/10.7, allocations: 81.04 MB / 3.433 GB, free: 27.22 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/10.7, allocations: 36.78 kB / 3.434 GB, free: 27.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=27): time 2.465e-06/10.7, allocations: 3 kB / 3.434 GB, free: 27.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.002774/10.7, allocations: 0.5949 MB / 3.434 GB, free: 27.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.783e-05/10.7, allocations: 109.2 kB / 3.434 GB, free: 26.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004643/10.7, allocations: 296.5 kB / 3.434 GB, free: 26.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.933e-05/10.7, allocations: 32.17 kB / 3.435 GB, free: 26.85 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/10.7, allocations: 320.9 kB / 3.435 GB, free: 26.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.123e-05/10.7, allocations: 92.8 kB / 3.435 GB, free: 26.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/10.7, allocations: 6.375 kB / 3.435 GB, free: 26.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001431/10.7, allocations: 327.3 kB / 3.435 GB, free: 26.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/10.7, allocations: 102.9 kB / 3.435 GB, free: 26.28 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/10.7, allocations: 283.1 kB / 3.436 GB, free: 26.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/10.7, allocations: 143.6 kB / 3.436 GB, free: 26.03 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/10.7, allocations: 4 kB / 3.436 GB, free: 26.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001074/10.7, allocations: 421.3 kB / 3.436 GB, free: 25.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001009/10.7, allocations: 2.438 MB / 3.439 GB, free: 23.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/10.7, allocations: 7.594 kB / 3.439 GB, free: 23.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003067/10.71, allocations: 209.9 kB / 3.439 GB, free: 23.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007532/10.71, allocations: 109.3 kB / 3.439 GB, free: 23.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000724/10.71, allocations: 0.5768 MB / 3.439 GB, free: 22.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007269/10.71, allocations: 68.36 kB / 3.439 GB, free: 22.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.672e-05/10.71, allocations: 26.06 kB / 3.439 GB, free: 22.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/10.71, allocations: 3.906 kB / 3.439 GB, free: 22.86 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000854/10.71, allocations: 345.1 kB / 3.44 GB, free: 22.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/10.71, allocations: 9.328 kB / 3.44 GB, free: 22.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/10.71, allocations: 12.69 kB / 3.44 GB, free: 22.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007514/10.71, allocations: 117.5 kB / 3.44 GB, free: 22.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/10.71, allocations: 13.38 kB / 3.44 GB, free: 22.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005208/10.71, allocations: 55.22 kB / 3.44 GB, free: 22.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.295e-05/10.71, allocations: 25.47 kB / 3.44 GB, free: 22.84 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.0002348/10.71, allocations: 141.7 kB / 3.44 GB, free: 22.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/10.71, allocations: 35.25 kB / 3.44 GB, free: 22.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002718/10.71, allocations: 1.855 MB / 3.442 GB, free: 22.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.645e-05/10.71, allocations: 27.64 kB / 3.442 GB, free: 22.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/10.71, allocations: 4 kB / 3.442 GB, free: 22.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/10.71, allocations: 0 / 3.442 GB, free: 22.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/10.71, allocations: 0.9278 MB / 3.443 GB, free: 22.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/10.71, allocations: 0 / 3.443 GB, free: 22.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005194/10.72, allocations: 65.5 kB / 3.443 GB, free: 22.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002148/10.72, allocations: 0.7103 MB / 3.444 GB, free: 22.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.059e-05/10.72, allocations: 11.08 kB / 3.444 GB, free: 22.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/10.72, allocations: 0.9871 MB / 3.445 GB, free: 21.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/10.72, allocations: 3 kB / 3.445 GB, free: 21.62 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/10.72, allocations: 1.199 MB / 3.446 GB, free: 21.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004411/10.72, allocations: 243.4 kB / 3.446 GB, free: 21.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.925e-05/10.72, allocations: 9.781 kB / 3.446 GB, free: 21.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005073/10.72, allocations: 22.25 kB / 3.446 GB, free: 21.19 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/10.72, allocations: 28.7 kB / 3.446 GB, free: 21.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/10.72, allocations: 15.56 kB / 3.446 GB, free: 21.19 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004859/10.72, allocations: 295.1 kB / 3.446 GB, free: 21.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.61e-07/10.72, allocations: 0 / 3.446 GB, free: 21.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006318/10.73, allocations: 1.203 MB / 3.448 GB, free: 20.91 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.01302/10.74, allocations: 3.103 MB / 3.451 GB, free: 19.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001708/10.74, allocations: 0.6681 MB / 3.451 GB, free: 19.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/10.74, allocations: 0 / 3.451 GB, free: 19.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006825/10.74, allocations: 438.9 kB / 3.452 GB, free: 19.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/10.75, allocations: 180.3 kB / 3.452 GB, free: 19.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8532/11.6, allocations: 153.1 MB / 3.601 GB, free: 61.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/11.6, allocations: 0.9875 MB / 3.602 GB, free: 60.86 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004586/11.6, allocations: 264.5 kB / 3.603 GB, free: 60.85 MB / 0.4948 GB Notification: Performance of SimCode: time 1.242e-06/11.6, allocations: 0 / 3.603 GB, free: 60.85 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.724/15.32, allocations: 34.31 MB / 3.636 GB, free: 45.63 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat does not exist to compare? outputFormat=mat