Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.402/2.402, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.801e-05/3.8e-05, allocations: 4 kB / 305 MB, free: 5.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4206, allocations: 54.85 MB / 359.9 MB, free: 2.707 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7639/1.185, allocations: 283.8 MB / 0.6286 GB, free: 47.95 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/1.185, allocations: 81.08 kB / 0.6286 GB, free: 47.91 MB / 458.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 .... [/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 0.7488/1.934, allocations: 115.8 MB / 0.7417 GB, free: 142.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.623e-06/1.934, allocations: 3.781 kB / 0.7417 GB, free: 142.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.137e-05/1.934, allocations: 15.44 kB / 0.7417 GB, free: 142.6 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001986/1.936, allocations: 0.8615 MB / 0.7426 GB, free: 142 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/1.936, allocations: 10.97 kB / 0.7426 GB, free: 142 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001545/1.936, allocations: 88.5 kB / 0.7427 GB, free: 142 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004817/1.937, allocations: 80.19 kB / 0.7428 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/1.938, allocations: 0.5406 MB / 0.7433 GB, free: 141.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/1.938, allocations: 34.19 kB / 0.7433 GB, free: 141.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.522e-05/1.938, allocations: 46.06 kB / 0.7434 GB, free: 141.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/1.94, allocations: 0.628 MB / 0.744 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/1.94, allocations: 2.062 kB / 0.744 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.834e-05/1.94, allocations: 27.98 kB / 0.744 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/1.94, allocations: 11.69 kB / 0.744 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/1.941, allocations: 0.4917 MB / 0.7445 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004716/1.946, allocations: 3.094 MB / 0.7475 GB, free: 139.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005/1.946, allocations: 179.4 kB / 0.7477 GB, free: 139.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/1.947, allocations: 117 kB / 0.7478 GB, free: 139.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001844/1.948, allocations: 1.031 MB / 0.7488 GB, free: 138.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000354/1.949, allocations: 184.5 kB / 0.749 GB, free: 138.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 5.44e-06/1.949, allocations: 0 / 0.749 GB, free: 138.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008421/1.95, allocations: 297.5 kB / 0.7493 GB, free: 138.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/1.95, allocations: 161.1 kB / 0.7494 GB, free: 138.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006806/1.95, allocations: 423.4 kB / 0.7498 GB, free: 138.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/1.95, allocations: 32.45 kB / 0.7499 GB, free: 138.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/1.951, allocations: 410.7 kB / 0.7502 GB, free: 138 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.002e-05/1.951, allocations: 85.25 kB / 0.7503 GB, free: 138 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/1.951, allocations: 7.188 kB / 0.7503 GB, free: 138 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.486e-05/1.951, allocations: 341.5 kB / 0.7507 GB, free: 137.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/1.951, allocations: 101.9 kB / 0.7508 GB, free: 137.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004364/1.952, allocations: 393.7 kB / 0.7511 GB, free: 137.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/1.952, allocations: 214.6 kB / 0.7513 GB, free: 137.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/1.952, allocations: 2.688 kB / 0.7513 GB, free: 137.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001251/1.953, allocations: 0.5138 MB / 0.7518 GB, free: 137.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009026/1.954, allocations: 3.694 MB / 0.7555 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/1.954, allocations: 14.64 kB / 0.7555 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.236e-05/1.955, allocations: 13.28 kB / 0.7555 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002039/1.957, allocations: 195.2 kB / 0.7557 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005276/1.957, allocations: 0.6181 MB / 0.7563 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008278/1.958, allocations: 76.7 kB / 0.7563 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.552e-05/1.958, allocations: 38.53 kB / 0.7564 GB, free: 132.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/1.958, allocations: 3.125 kB / 0.7564 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0011/1.959, allocations: 487.8 kB / 0.7568 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/1.959, allocations: 6.812 kB / 0.7569 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/1.959, allocations: 14.75 kB / 0.7569 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000701/1.96, allocations: 137.4 kB / 0.757 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-05/1.96, allocations: 20.38 kB / 0.757 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005031/1.961, allocations: 54.2 kB / 0.7571 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.16e-05/1.961, allocations: 38.73 kB / 0.7571 GB, free: 132.6 MB / 490.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: 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 (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.0002385/1.961, allocations: 177.2 kB / 0.7573 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/1.961, allocations: 58.69 kB / 0.7573 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/1.963, allocations: 0.642 MB / 0.758 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/1.963, allocations: 0 / 0.758 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.963, allocations: 7.719 kB / 0.758 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/1.963, allocations: 3.891 kB / 0.758 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008175/1.964, allocations: 482.3 kB / 0.7584 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/1.964, allocations: 3.391 kB / 0.7584 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009726/1.965, allocations: 97.64 kB / 0.7585 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/1.965, allocations: 2.906 kB / 0.7585 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/1.965, allocations: 15.14 kB / 0.7585 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003185/1.965, allocations: 0.5916 MB / 0.7591 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.965, allocations: 0 / 0.7591 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000853/1.966, allocations: 412.6 kB / 0.7595 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/1.966, allocations: 192.5 kB / 0.7597 GB, free: 131.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/1.967, allocations: 6.875 kB / 0.7597 GB, free: 131.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003963/1.967, allocations: 27.8 kB / 0.7597 GB, free: 131.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/1.967, allocations: 23.47 kB / 0.7598 GB, free: 131.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.923e-05/1.967, allocations: 18.05 kB / 0.7598 GB, free: 131.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005644/1.968, allocations: 346.1 kB / 0.7601 GB, free: 131.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.968, allocations: 5.469 kB / 0.7601 GB, free: 131.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001901/1.97, allocations: 432.5 kB / 0.7605 GB, free: 131 MB / 490.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: 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 (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.00223/1.972, allocations: 1.279 MB / 0.7618 GB, free: 130.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003197/1.975, allocations: 0.79 MB / 0.7625 GB, free: 129.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.975, allocations: 0 / 0.7625 GB, free: 129.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001447/1.977, allocations: 317.5 kB / 0.7628 GB, free: 129.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/1.978, allocations: 190.3 kB / 0.763 GB, free: 129.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/1.982, allocations: 1.075 MB / 0.7641 GB, free: 129.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/1.983, allocations: 0.9028 MB / 0.765 GB, free: 128.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004448/1.983, allocations: 225.8 kB / 0.7652 GB, free: 128.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.533e-06/1.983, allocations: 0 / 0.7652 GB, free: 128.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.959/4.942, allocations: 15.9 MB / 0.7807 GB, free: 124.8 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice_res.mat does not exist to compare? outputFormat=mat