Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(ModelicaTest): time 1.846/1.846, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2334/2.08, allocations: 51.03 MB / 267.3 MB, free: 5.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/2.199, allocations: 48.7 MB / 316 MB, free: 4.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7715/2.971, allocations: 276.8 MB / 0.5789 GB, free: 47.11 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/2.971, allocations: 84.64 kB / 0.579 GB, free: 47.07 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 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.5859/3.557, allocations: 116.1 MB / 0.6923 GB, free: 117.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/3.557, allocations: 9.062 kB / 0.6923 GB, free: 117.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006669/3.558, allocations: 81.73 kB / 0.6924 GB, free: 117.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/3.56, allocations: 0.5338 MB / 0.6929 GB, free: 117.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/3.56, allocations: 14.19 kB / 0.693 GB, free: 117.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.16e-05/3.56, allocations: 29.72 kB / 0.693 GB, free: 117.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001291/3.561, allocations: 467.1 kB / 0.6934 GB, free: 117.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/3.563, allocations: 0.568 MB / 0.694 GB, free: 116.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/3.563, allocations: 5.031 kB / 0.694 GB, free: 116.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.303e-05/3.563, allocations: 1.969 kB / 0.694 GB, free: 116.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/3.563, allocations: 11.72 kB / 0.694 GB, free: 116.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005163/3.568, allocations: 3.002 MB / 0.6969 GB, free: 114 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/3.569, allocations: 170.7 kB / 0.6971 GB, free: 113.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/3.569, allocations: 98.08 kB / 0.6972 GB, free: 113.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002017/3.571, allocations: 1.019 MB / 0.6982 GB, free: 112.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00031/3.571, allocations: 170 kB / 0.6983 GB, free: 112.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 3.056e-06/3.571, allocations: 0 / 0.6983 GB, free: 112.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.004393/3.576, allocations: 0.5344 MB / 0.6989 GB, free: 112.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/3.576, allocations: 166.1 kB / 0.699 GB, free: 112.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006758/3.577, allocations: 390.3 kB / 0.6994 GB, free: 112.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/3.577, allocations: 30.86 kB / 0.6994 GB, free: 112.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/3.577, allocations: 311.9 kB / 0.6997 GB, free: 111.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.532e-05/3.577, allocations: 79.72 kB / 0.6998 GB, free: 111.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/3.577, allocations: 0 / 0.6998 GB, free: 111.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/3.577, allocations: 366 kB / 0.7002 GB, free: 111.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/3.577, allocations: 88.83 kB / 0.7002 GB, free: 111.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/3.578, allocations: 385.2 kB / 0.7006 GB, free: 110.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004081/3.582, allocations: 466.3 kB / 0.7011 GB, free: 110.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/3.582, allocations: 7.562 kB / 0.7011 GB, free: 110.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.005128/3.587, allocations: 0.7625 MB / 0.7018 GB, free: 110.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009021/3.588, allocations: 3.652 MB / 0.7054 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-05/3.588, allocations: 8.688 kB / 0.7054 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.099e-05/3.588, allocations: 14.66 kB / 0.7054 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002433/3.591, allocations: 193.6 kB / 0.7056 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/3.592, allocations: 0.6809 MB / 0.7062 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/3.593, allocations: 62.42 kB / 0.7063 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/3.593, allocations: 36.55 kB / 0.7063 GB, free: 105.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/3.593, allocations: 3.688 kB / 0.7063 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00329/3.597, allocations: 0.5462 MB / 0.7069 GB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/3.597, allocations: 13.28 kB / 0.7069 GB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/3.597, allocations: 17.25 kB / 0.7069 GB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007679/3.598, allocations: 130 kB / 0.707 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/3.598, allocations: 16 kB / 0.707 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007559/3.598, allocations: 46.7 kB / 0.7071 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.283e-05/3.598, allocations: 34.64 kB / 0.7071 GB, free: 105.3 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.0002808/3.599, allocations: 166.1 kB / 0.7073 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/3.599, allocations: 52.81 kB / 0.7073 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00386/3.603, allocations: 0.8283 MB / 0.7081 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/3.603, allocations: 4 kB / 0.7081 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/3.603, allocations: 2 kB / 0.7081 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/3.603, allocations: 7.984 kB / 0.7081 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008329/3.604, allocations: 402.7 kB / 0.7085 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/3.604, allocations: 0 / 0.7085 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/3.605, allocations: 115.8 kB / 0.7086 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/3.605, allocations: 3.938 kB / 0.7086 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/3.605, allocations: 4 kB / 0.7087 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006628/3.605, allocations: 0.6249 MB / 0.7093 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/3.606, allocations: 0 / 0.7093 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00223/3.608, allocations: 477.1 kB / 0.7097 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002125/3.61, allocations: 0.8602 MB / 0.7106 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004413/3.61, allocations: 184.2 kB / 0.7107 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/3.611, allocations: 4 kB / 0.7107 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004235/3.611, allocations: 15.89 kB / 0.7108 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.42e-05/3.611, allocations: 23.97 kB / 0.7108 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.232e-05/3.611, allocations: 17.23 kB / 0.7108 GB, free: 101.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0005284/3.612, allocations: 314.9 kB / 0.7111 GB, free: 101.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004223/3.616, allocations: 475.2 kB / 0.7115 GB, free: 101 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.001356/3.617, allocations: 439.8 kB / 0.712 GB, free: 100.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003306/3.621, allocations: 0.6537 MB / 0.7126 GB, free: 99.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/3.621, allocations: 0 / 0.7126 GB, free: 99.94 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001401/3.622, allocations: 269.9 kB / 0.7129 GB, free: 99.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/3.624, allocations: 167.8 kB / 0.713 GB, free: 99.51 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/3.627, allocations: 0.8486 MB / 0.7138 GB, free: 98.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006017/3.627, allocations: 0.9675 MB / 0.7148 GB, free: 97.66 MB / 426.7 MB Notification: Performance of SimCode: time 1.683e-06/3.627, allocations: 0 / 0.7148 GB, free: 97.66 MB / 426.7 MB