Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.087/2.087, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.132e-05/3.137e-05, allocations: 0 / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1247, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9959/1.121, allocations: 277.3 MB / 0.5851 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/1.121, allocations: 80.64 kB / 0.5852 GB, free: 69.91 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 .... [/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 0.8043/1.925, allocations: 115.7 MB / 0.6982 GB, free: 114.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.904e-06/1.925, allocations: 0 / 0.6982 GB, free: 114.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.1e-05/1.925, allocations: 15.62 kB / 0.6982 GB, free: 114.7 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001897/1.927, allocations: 0.8616 MB / 0.6991 GB, free: 114.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/1.927, allocations: 11.56 kB / 0.6991 GB, free: 114.1 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/1.928, allocations: 84.52 kB / 0.6992 GB, free: 114 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004393/1.928, allocations: 72.91 kB / 0.6992 GB, free: 114 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/1.929, allocations: 0.5395 MB / 0.6998 GB, free: 113.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/1.93, allocations: 34.88 kB / 0.6998 GB, free: 113.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.328e-05/1.93, allocations: 44.77 kB / 0.6998 GB, free: 113.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/1.931, allocations: 0.6303 MB / 0.7005 GB, free: 113.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/1.931, allocations: 3.938 kB / 0.7005 GB, free: 113 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.474e-05/1.931, allocations: 19.88 kB / 0.7005 GB, free: 113 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/1.931, allocations: 11.78 kB / 0.7005 GB, free: 113 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/1.932, allocations: 492.4 kB / 0.701 GB, free: 112.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004687/1.937, allocations: 3.075 MB / 0.704 GB, free: 110 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000471/1.937, allocations: 193 kB / 0.7041 GB, free: 109.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/1.938, allocations: 105.2 kB / 0.7042 GB, free: 109.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001754/1.94, allocations: 1.026 MB / 0.7052 GB, free: 108.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003696/1.94, allocations: 171.9 kB / 0.7054 GB, free: 108.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 4.028e-06/1.94, allocations: 0 / 0.7054 GB, free: 108.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008284/1.941, allocations: 308.8 kB / 0.7057 GB, free: 108.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/1.941, allocations: 162.1 kB / 0.7059 GB, free: 108.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006322/1.942, allocations: 431.9 kB / 0.7063 GB, free: 108.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/1.942, allocations: 33.7 kB / 0.7063 GB, free: 108.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/1.942, allocations: 404.9 kB / 0.7067 GB, free: 107.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.93e-05/1.942, allocations: 79.75 kB / 0.7068 GB, free: 107.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/1.942, allocations: 11.25 kB / 0.7068 GB, free: 107.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.082e-05/1.942, allocations: 334 kB / 0.7071 GB, free: 107.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/1.942, allocations: 103.4 kB / 0.7072 GB, free: 107.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/1.943, allocations: 380.7 kB / 0.7076 GB, free: 106.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/1.943, allocations: 203.9 kB / 0.7077 GB, free: 106.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/1.943, allocations: 3.156 kB / 0.7078 GB, free: 106.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001269/1.944, allocations: 0.5242 MB / 0.7083 GB, free: 106.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008705/1.945, allocations: 3.682 MB / 0.7119 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/1.945, allocations: 11.47 kB / 0.7119 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.228e-05/1.945, allocations: 14.84 kB / 0.7119 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002022/1.947, allocations: 194 kB / 0.7121 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005617/1.948, allocations: 0.6199 MB / 0.7127 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007976/1.949, allocations: 78.33 kB / 0.7128 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.79e-05/1.949, allocations: 38.23 kB / 0.7128 GB, free: 101.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/1.949, allocations: 3.969 kB / 0.7128 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001184/1.95, allocations: 495.9 kB / 0.7133 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/1.95, allocations: 10.09 kB / 0.7133 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/1.95, allocations: 13.69 kB / 0.7133 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006779/1.951, allocations: 125.5 kB / 0.7134 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-05/1.951, allocations: 23.3 kB / 0.7134 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/1.951, allocations: 57.7 kB / 0.7135 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.86e-05/1.952, allocations: 37.27 kB / 0.7135 GB, free: 101.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002202/1.952, allocations: 171.6 kB / 0.7137 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/1.952, allocations: 54.03 kB / 0.7137 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/1.954, allocations: 0.6452 MB / 0.7144 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/1.954, allocations: 7.375 kB / 0.7144 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.954, allocations: 3.938 kB / 0.7144 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/1.954, allocations: 3.984 kB / 0.7144 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000725/1.955, allocations: 467 kB / 0.7148 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/1.955, allocations: 3.953 kB / 0.7148 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000992/1.956, allocations: 107.4 kB / 0.7149 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.629e-06/1.956, allocations: 3.938 kB / 0.7149 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/1.956, allocations: 11.86 kB / 0.7149 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003194/1.956, allocations: 0.5888 MB / 0.7155 GB, free: 99.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.956, allocations: 0 / 0.7155 GB, free: 99.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008215/1.957, allocations: 420.8 kB / 0.7159 GB, free: 99.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003012/1.957, allocations: 184.3 kB / 0.7161 GB, free: 99.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/1.957, allocations: 7.719 kB / 0.7161 GB, free: 99.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/1.958, allocations: 19.86 kB / 0.7161 GB, free: 99.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/1.958, allocations: 19.88 kB / 0.7161 GB, free: 99.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.825e-05/1.958, allocations: 21.67 kB / 0.7162 GB, free: 99.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005398/1.958, allocations: 346.5 kB / 0.7165 GB, free: 99.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.959, allocations: 4 kB / 0.7165 GB, free: 99.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00199/1.961, allocations: 423.7 kB / 0.7169 GB, free: 99.16 MB / 426.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: 5 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent) * Number of discrete states: 5 (p_table.last,p_table.nextEvent,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002134/1.963, allocations: 1.276 MB / 0.7181 GB, free: 98.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00298/1.966, allocations: 0.7387 MB / 0.7189 GB, free: 97.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.966, allocations: 0 / 0.7189 GB, free: 97.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001252/1.967, allocations: 287.2 kB / 0.7191 GB, free: 97.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/1.969, allocations: 182.4 kB / 0.7193 GB, free: 97.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/1.972, allocations: 1.056 MB / 0.7203 GB, free: 97.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/1.973, allocations: 0.8941 MB / 0.7212 GB, free: 96.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/1.973, allocations: 218.7 kB / 0.7214 GB, free: 96.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/1.973, allocations: 0 / 0.7214 GB, free: 96.07 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.136/5.109, allocations: 15.77 MB / 0.7368 GB, free: 82.49 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice_res.mat does not exist to compare? outputFormat=mat