Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.451/2.451, allocations: 270 MB / 283.6 MB, free: 1.93 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.508e-05/3.529e-05, allocations: 4 kB / 348.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3961, allocations: 61.87 MB / 410.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8078/1.204, allocations: 290.1 MB / 0.6841 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/1.204, allocations: 82.08 kB / 0.6841 GB, free: 2.457 MB / 0.4948 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 .... [/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 0.759/1.963, allocations: 119.7 MB / 0.801 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.584e-06/1.963, allocations: 0 / 0.801 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.139e-05/1.964, allocations: 19.92 kB / 0.801 GB, free: 137.8 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.001888/1.965, allocations: 0.8638 MB / 0.8019 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/1.965, allocations: 8.031 kB / 0.8019 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001486/1.966, allocations: 94.52 kB / 0.802 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004706/1.966, allocations: 79.2 kB / 0.802 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/1.968, allocations: 0.517 MB / 0.8026 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/1.968, allocations: 37 kB / 0.8026 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.911e-05/1.968, allocations: 44 kB / 0.8026 GB, free: 136 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/1.969, allocations: 0.6453 MB / 0.8033 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/1.969, allocations: 4 kB / 0.8033 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.202e-05/1.969, allocations: 24 kB / 0.8033 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/1.969, allocations: 12 kB / 0.8033 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/1.97, allocations: 0.5094 MB / 0.8038 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004635/1.975, allocations: 3.07 MB / 0.8068 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/1.975, allocations: 210.7 kB / 0.807 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/1.976, allocations: 137 kB / 0.8071 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002932/1.976, allocations: 340.4 kB / 0.8074 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005061/1.977, allocations: 274.8 kB / 0.8077 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 2.975e-06/1.977, allocations: 0 / 0.8077 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.001175/1.978, allocations: 409.2 kB / 0.8081 GB, free: 130 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.113e-05/1.978, allocations: 302.7 kB / 0.8084 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000792/1.979, allocations: 481 kB / 0.8088 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.981e-05/1.979, allocations: 33.7 kB / 0.8089 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/1.979, allocations: 335 kB / 0.8092 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/1.979, allocations: 94.73 kB / 0.8093 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/1.979, allocations: 12 kB / 0.8093 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000108/1.979, allocations: 370.8 kB / 0.8097 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003669/1.98, allocations: 137.1 kB / 0.8098 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005133/1.98, allocations: 367.9 kB / 0.8101 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004748/1.981, allocations: 217.5 kB / 0.8103 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/1.981, allocations: 7.938 kB / 0.8104 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001561/1.982, allocations: 0.5915 MB / 0.8109 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004753/1.983, allocations: 2.126 MB / 0.813 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/1.983, allocations: 4 kB / 0.813 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.153e-05/1.983, allocations: 8 kB / 0.813 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002095/1.985, allocations: 183.7 kB / 0.8132 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005569/1.986, allocations: 0.6133 MB / 0.8138 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/1.987, allocations: 79.36 kB / 0.8139 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/1.987, allocations: 31.98 kB / 0.8139 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/1.987, allocations: 4 kB / 0.8139 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001333/1.988, allocations: 0.5087 MB / 0.8144 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/1.988, allocations: 4 kB / 0.8144 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/1.988, allocations: 15.98 kB / 0.8144 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007139/1.989, allocations: 116.5 kB / 0.8145 GB, free: 123 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/1.989, allocations: 15.94 kB / 0.8145 GB, free: 123 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008641/1.99, allocations: 63.52 kB / 0.8146 GB, free: 123 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.691e-05/1.99, allocations: 27.98 kB / 0.8146 GB, free: 122.9 MB / 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.0002432/1.99, allocations: 178.4 kB / 0.8148 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/1.991, allocations: 63.25 kB / 0.8149 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/1.993, allocations: 0.7437 MB / 0.8156 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/1.993, allocations: 4 kB / 0.8156 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.993, allocations: 3.953 kB / 0.8156 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/1.993, allocations: 3.984 kB / 0.8156 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009067/1.994, allocations: 0.5208 MB / 0.8161 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/1.994, allocations: 4 kB / 0.8161 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/1.995, allocations: 123.8 kB / 0.8162 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/1.995, allocations: 0 / 0.8162 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-05/1.995, allocations: 15.98 kB / 0.8162 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003152/1.995, allocations: 0.586 MB / 0.8168 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/1.995, allocations: 0 / 0.8168 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/1.996, allocations: 0.5327 MB / 0.8173 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004158/1.997, allocations: 216 kB / 0.8175 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/1.997, allocations: 15.95 kB / 0.8176 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000634/1.998, allocations: 19.98 kB / 0.8176 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.429e-05/1.998, allocations: 36.28 kB / 0.8176 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.04e-05/1.998, allocations: 16 kB / 0.8176 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006587/1.998, allocations: 403.2 kB / 0.818 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.71e-07/1.998, allocations: 0 / 0.818 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001939/2, allocations: 467.4 kB / 0.8185 GB, free: 118.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.002597/2.003, allocations: 1.438 MB / 0.8199 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00343/2.006, allocations: 0.8849 MB / 0.8207 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/2.007, allocations: 0 / 0.8207 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001433/2.008, allocations: 361.6 kB / 0.8211 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/2.01, allocations: 267 kB / 0.8213 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/2.013, allocations: 0.935 MB / 0.8222 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/2.014, allocations: 0.9086 MB / 0.8231 GB, free: 114 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001257/2.015, allocations: 224.6 kB / 0.8233 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003879/2.015, allocations: 227.3 kB / 0.8236 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.402e-06/2.015, allocations: 3.938 kB / 0.8236 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06538/2.081, allocations: 22.2 MB / 0.8452 GB, free: 91.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002909/2.081, allocations: 256.1 kB / 0.8455 GB, free: 91.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.395/5.477, allocations: 0 / 0.8455 GB, free: 91.2 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice_res.mat does not exist to compare? outputFormat=mat