Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.581/2.581, allocations: 270 MB / 283.6 MB, free: 1.898 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.815e-05/3.828e-05, allocations: 7.984 kB / 348.5 MB, free: 2.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4254, allocations: 61.87 MB / 410.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.8/9.225, allocations: 2.765 GB / 3.166 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/9.226, allocations: 90.06 kB / 3.166 GB, free: 132.5 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:306:3-308: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.237/11.46, allocations: 416.4 MB / 3.573 GB, free: 73.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.415e-06/11.46, allocations: 3.656 kB / 3.573 GB, free: 73.45 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.325e-05/11.46, allocations: 9.438 kB / 3.573 GB, free: 73.45 MB / 0.5261 GB 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.006991/11.47, allocations: 1.527 MB / 3.574 GB, free: 72.71 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/11.47, allocations: 10.5 kB / 3.574 GB, free: 72.71 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001775/11.47, allocations: 80.67 kB / 3.574 GB, free: 72.68 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002751/11.47, allocations: 241.9 kB / 3.575 GB, free: 72.65 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/11.47, allocations: 432.6 kB / 3.575 GB, free: 72.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.788e-05/11.47, allocations: 34.97 kB / 3.575 GB, free: 72.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.733e-05/11.47, allocations: 34.09 kB / 3.575 GB, free: 72.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/11.48, allocations: 0.6851 MB / 3.576 GB, free: 72.24 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/11.48, allocations: 2.875 kB / 3.576 GB, free: 72.24 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.992e-05/11.48, allocations: 22.41 kB / 3.576 GB, free: 72.24 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/11.48, allocations: 10.47 kB / 3.576 GB, free: 72.24 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/11.48, allocations: 0.5276 MB / 3.576 GB, free: 72.24 MB / 0.5261 GB 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.005673/11.48, allocations: 3.244 MB / 3.58 GB, free: 69.96 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/11.49, allocations: 405 kB / 3.58 GB, free: 69.93 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003268/11.49, allocations: 130.6 kB / 3.58 GB, free: 69.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1764/11.66, allocations: 55.76 MB / 3.634 GB, free: 35.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/11.66, allocations: 30.56 kB / 3.635 GB, free: 35.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 3.226e-06/11.66, allocations: 4 kB / 3.635 GB, free: 35.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.002985/11.67, allocations: 0.6398 MB / 3.635 GB, free: 35.55 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/11.67, allocations: 110.2 kB / 3.635 GB, free: 35.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005673/11.67, allocations: 341 kB / 3.636 GB, free: 35.31 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.018e-05/11.67, allocations: 32.33 kB / 3.636 GB, free: 35.28 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/11.67, allocations: 255.4 kB / 3.636 GB, free: 35.13 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.513e-05/11.67, allocations: 90.92 kB / 3.636 GB, free: 35.08 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/11.67, allocations: 10.66 kB / 3.636 GB, free: 35.08 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001033/11.67, allocations: 355.6 kB / 3.636 GB, free: 34.76 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/11.67, allocations: 93.12 kB / 3.636 GB, free: 34.76 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/11.67, allocations: 262.7 kB / 3.637 GB, free: 34.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/11.67, allocations: 137.5 kB / 3.637 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/11.67, allocations: 7.766 kB / 3.637 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001132/11.67, allocations: 419.4 kB / 3.637 GB, free: 34.47 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000492/11.67, allocations: 2.008 MB / 3.639 GB, free: 32.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/11.67, allocations: 3.656 kB / 3.639 GB, free: 32.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004785/11.67, allocations: 339.1 kB / 3.639 GB, free: 32.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000737/11.67, allocations: 101.3 kB / 3.64 GB, free: 32.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006759/11.68, allocations: 0.5939 MB / 3.64 GB, free: 31.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000806/11.68, allocations: 76.64 kB / 3.64 GB, free: 31.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.82e-05/11.68, allocations: 28.16 kB / 3.64 GB, free: 31.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/11.68, allocations: 6.516 kB / 3.64 GB, free: 31.79 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008808/11.68, allocations: 328.7 kB / 3.641 GB, free: 31.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/11.68, allocations: 7.375 kB / 3.641 GB, free: 31.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/11.68, allocations: 7.312 kB / 3.641 GB, free: 31.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007537/11.68, allocations: 113.3 kB / 3.641 GB, free: 31.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/11.68, allocations: 14.41 kB / 3.641 GB, free: 31.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006547/11.68, allocations: 66.91 kB / 3.641 GB, free: 31.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.138e-05/11.68, allocations: 24.75 kB / 3.641 GB, free: 31.75 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (45): * Single equations (assignments): 44 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001954/11.68, allocations: 132.8 kB / 3.641 GB, free: 31.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/11.68, allocations: 48.33 kB / 3.641 GB, free: 31.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002812/11.68, allocations: 1.857 MB / 3.643 GB, free: 31.38 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.809e-05/11.68, allocations: 24.94 kB / 3.643 GB, free: 31.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/11.68, allocations: 0 / 3.643 GB, free: 31.38 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/11.68, allocations: 3.188 kB / 3.643 GB, free: 31.38 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/11.68, allocations: 0.964 MB / 3.644 GB, free: 31.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/11.68, allocations: 0 / 3.644 GB, free: 31.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005444/11.68, allocations: 81.62 kB / 3.644 GB, free: 31.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002406/11.69, allocations: 0.7611 MB / 3.645 GB, free: 31.07 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.511e-05/11.69, allocations: 12.75 kB / 3.645 GB, free: 31.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/11.69, allocations: 0.9905 MB / 3.646 GB, free: 30.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/11.69, allocations: 0 / 3.646 GB, free: 30.54 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/11.69, allocations: 1.209 MB / 3.647 GB, free: 30.28 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004708/11.69, allocations: 264.5 kB / 3.647 GB, free: 30.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/11.69, allocations: 3.938 kB / 3.647 GB, free: 30.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005743/11.69, allocations: 37.28 kB / 3.647 GB, free: 30.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/11.69, allocations: 33.19 kB / 3.647 GB, free: 30.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/11.69, allocations: 18.48 kB / 3.647 GB, free: 30.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000658/11.69, allocations: 371.3 kB / 3.647 GB, free: 30.01 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.81e-07/11.69, allocations: 0 / 3.647 GB, free: 30.01 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006446/11.7, allocations: 1.201 MB / 3.649 GB, free: 29.84 MB / 0.5261 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 (30): * Single equations (assignments): 23 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01219/11.71, allocations: 3.133 MB / 3.652 GB, free: 28.79 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001886/11.71, allocations: 0.6808 MB / 3.652 GB, free: 28.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/11.71, allocations: 0 / 3.652 GB, free: 28.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007624/11.71, allocations: 446.2 kB / 3.653 GB, free: 28.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/11.72, allocations: 228.4 kB / 3.653 GB, free: 28.63 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006545/11.72, allocations: 1.597 MB / 3.654 GB, free: 27.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/11.72, allocations: 0.991 MB / 3.655 GB, free: 27.19 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001356/11.72, allocations: 472.2 kB / 3.656 GB, free: 27.17 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003935/11.72, allocations: 259.6 kB / 3.656 GB, free: 26.96 MB / 0.5261 GB Notification: Performance of SimCode: time 1.022e-06/11.72, allocations: 0 / 3.656 GB, free: 26.96 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1144/11.84, allocations: 48.82 MB / 3.704 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004042/11.84, allocations: 242.3 kB / 3.704 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.041/16.88, allocations: 7.938 kB / 3.704 GB, free: 12.22 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat does not exist to compare? outputFormat=mat