Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.366/2.366, allocations: 270.1 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.36e-05/3.372e-05, allocations: 7.938 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1292, allocations: 61.89 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.126/1.256, allocations: 290.1 MB / 0.6841 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/1.256, allocations: 82.89 kB / 0.6842 GB, free: 115.1 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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 .... [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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 0.3865/1.643, allocations: 119.7 MB / 0.801 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.823e-06/1.643, allocations: 4 kB / 0.801 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.721e-05/1.643, allocations: 12 kB / 0.801 GB, free: 14.91 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002101/1.645, allocations: 0.8711 MB / 0.8019 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/1.645, allocations: 11.97 kB / 0.8019 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001719/1.645, allocations: 90.52 kB / 0.802 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004884/1.646, allocations: 87.09 kB / 0.8021 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/1.647, allocations: 0.521 MB / 0.8026 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/1.647, allocations: 29 kB / 0.8026 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/1.647, allocations: 51.98 kB / 0.8027 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/1.649, allocations: 0.645 MB / 0.8033 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/1.649, allocations: 0 / 0.8033 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-05/1.649, allocations: 24 kB / 0.8033 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/1.649, allocations: 12 kB / 0.8033 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/1.65, allocations: 0.5016 MB / 0.8038 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005573/1.656, allocations: 3.07 MB / 0.8068 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000644/1.657, allocations: 210.7 kB / 0.807 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003603/1.657, allocations: 137.1 kB / 0.8071 GB, free: 8.305 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003848/1.658, allocations: 340.4 kB / 0.8075 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006067/1.658, allocations: 273.6 kB / 0.8077 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 3.125e-06/1.658, allocations: 4 kB / 0.8077 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.001296/1.659, allocations: 401.5 kB / 0.8081 GB, free: 7.191 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/1.66, allocations: 294.9 kB / 0.8084 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009758/1.661, allocations: 488.8 kB / 0.8089 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.23e-05/1.661, allocations: 33.7 kB / 0.8089 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003599/1.661, allocations: 331.1 kB / 0.8092 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/1.661, allocations: 90.73 kB / 0.8093 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/1.661, allocations: 12 kB / 0.8093 GB, free: 5.879 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001846/1.662, allocations: 370.8 kB / 0.8097 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/1.662, allocations: 141.1 kB / 0.8098 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006501/1.663, allocations: 359.9 kB / 0.8101 GB, free: 4.918 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000558/1.663, allocations: 232.2 kB / 0.8104 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/1.663, allocations: 0 / 0.8104 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001806/1.665, allocations: 0.5999 MB / 0.8109 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009557/1.666, allocations: 2.127 MB / 0.813 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/1.666, allocations: 8.078 kB / 0.813 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.198e-05/1.666, allocations: 8 kB / 0.813 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/1.668, allocations: 171.7 kB / 0.8132 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006744/1.669, allocations: 0.6211 MB / 0.8138 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/1.67, allocations: 75.27 kB / 0.8139 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/1.67, allocations: 27.98 kB / 0.8139 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/1.67, allocations: 4 kB / 0.8139 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001475/1.672, allocations: 0.5173 MB / 0.8144 GB, free: 328 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/1.672, allocations: 8 kB / 0.8144 GB, free: 320 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/1.672, allocations: 12.03 kB / 0.8144 GB, free: 308 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007539/1.672, allocations: 115.8 kB / 0.8145 GB, free: 192 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.038e-05/1.672, allocations: 19.86 kB / 0.8146 GB, free: 172 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000871/1.673, allocations: 63.52 kB / 0.8146 GB, free: 108 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.48e-05/1.673, allocations: 27.98 kB / 0.8146 GB, free: 80 kB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 54 * 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.3558/2.029, allocations: 166 kB / 0.8148 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/2.03, allocations: 63.83 kB / 0.8149 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/2.032, allocations: 0.7405 MB / 0.8156 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/2.032, allocations: 7 kB / 0.8156 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/2.032, allocations: 3.375 kB / 0.8156 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/2.032, allocations: 1.969 kB / 0.8156 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/2.033, allocations: 0.5259 MB / 0.8161 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/2.033, allocations: 0.5625 kB / 0.8161 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/2.034, allocations: 117.1 kB / 0.8162 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/2.035, allocations: 1.797 kB / 0.8162 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.041e-05/2.035, allocations: 15.58 kB / 0.8162 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003182/2.035, allocations: 0.5889 MB / 0.8168 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/2.035, allocations: 2.75 kB / 0.8168 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/2.036, allocations: 0.5342 MB / 0.8173 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004631/2.037, allocations: 214.8 kB / 0.8175 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/2.037, allocations: 11.73 kB / 0.8176 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006394/2.038, allocations: 24.72 kB / 0.8176 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-05/2.038, allocations: 30.36 kB / 0.8176 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.761e-05/2.038, allocations: 19.34 kB / 0.8176 GB, free: 136 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007675/2.039, allocations: 406.4 kB / 0.818 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.51e-07/2.039, allocations: 0 / 0.818 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002103/2.041, allocations: 463.4 kB / 0.8185 GB, free: 135.9 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: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.00281/2.044, allocations: 1.431 MB / 0.8199 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003662/2.047, allocations: 0.88 MB / 0.8207 GB, free: 135 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/2.047, allocations: 3.312 kB / 0.8207 GB, free: 135 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00158/2.049, allocations: 361.5 kB / 0.8211 GB, free: 135 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/2.051, allocations: 271.8 kB / 0.8213 GB, free: 135 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/2.054, allocations: 0.9363 MB / 0.8222 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/2.055, allocations: 0.9065 MB / 0.8231 GB, free: 134 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001455/2.056, allocations: 223.2 kB / 0.8233 GB, free: 134 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004417/2.057, allocations: 224.2 kB / 0.8235 GB, free: 134 MB / 0.5261 GB Notification: Performance of SimCode: time 1.923e-06/2.057, allocations: 0 / 0.8235 GB, free: 134 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07327/2.13, allocations: 22.2 MB / 0.8452 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002893/2.131, allocations: 259.1 kB / 0.8455 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.406/5.537, allocations: 0 / 0.8455 GB, free: 132.8 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice_res.mat does not exist to compare? outputFormat=mat