Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_3_2_2_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 2.317/2.317, allocations: 235 MB / 241.9 MB, free: 9.684 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1897/2.506, allocations: 57.21 MB / 299.1 MB, free: 364 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/2.797, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8092/3.606, allocations: 283 MB / 0.6221 GB, free: 126.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/3.607, allocations: 79.48 kB / 0.6222 GB, free: 126.8 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 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.413/4.02, allocations: 116.2 MB / 0.7356 GB, free: 54.24 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/4.02, allocations: 15.98 kB / 0.7356 GB, free: 54.23 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005102/4.02, allocations: 75.16 kB / 0.7357 GB, free: 54.15 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/4.022, allocations: 0.5559 MB / 0.7363 GB, free: 53.56 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/4.022, allocations: 16 kB / 0.7363 GB, free: 53.54 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.889e-05/4.022, allocations: 24 kB / 0.7363 GB, free: 53.52 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001169/4.023, allocations: 469.8 kB / 0.7367 GB, free: 53.06 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/4.024, allocations: 0.5786 MB / 0.7373 GB, free: 52.42 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/4.024, allocations: 3.984 kB / 0.7373 GB, free: 52.42 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-05/4.024, allocations: 7.938 kB / 0.7373 GB, free: 52.41 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/4.025, allocations: 16 kB / 0.7373 GB, free: 52.39 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004971/4.029, allocations: 3.008 MB / 0.7403 GB, free: 49.2 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/4.03, allocations: 171 kB / 0.7404 GB, free: 49.02 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/4.03, allocations: 109.2 kB / 0.7405 GB, free: 48.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001958/4.032, allocations: 1.044 MB / 0.7416 GB, free: 47.76 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003088/4.033, allocations: 165 kB / 0.7417 GB, free: 47.58 MB / 474.7 MB Notification: Performance of pre-optimization done (n=25): time 3.888e-06/4.033, allocations: 0 / 0.7417 GB, free: 47.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=25): time 0.004349/4.037, allocations: 0.5472 MB / 0.7422 GB, free: 47.03 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/4.037, allocations: 162.2 kB / 0.7424 GB, free: 46.83 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006247/4.038, allocations: 389.9 kB / 0.7428 GB, free: 46.45 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/4.038, allocations: 25.7 kB / 0.7428 GB, free: 46.41 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/4.038, allocations: 314.5 kB / 0.7431 GB, free: 46.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.983e-05/4.038, allocations: 82.84 kB / 0.7432 GB, free: 46.02 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/4.038, allocations: 3.938 kB / 0.7432 GB, free: 46.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/4.038, allocations: 362.7 kB / 0.7435 GB, free: 45.65 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/4.039, allocations: 97.3 kB / 0.7436 GB, free: 45.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/4.039, allocations: 385.1 kB / 0.744 GB, free: 45.05 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003902/4.043, allocations: 464.4 kB / 0.7444 GB, free: 44.59 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/4.043, allocations: 4 kB / 0.7444 GB, free: 44.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004719/4.048, allocations: 0.7816 MB / 0.7452 GB, free: 43.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007394/4.048, allocations: 3.651 MB / 0.7488 GB, free: 39.87 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/4.048, allocations: 11.94 kB / 0.7488 GB, free: 39.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.522e-05/4.048, allocations: 16 kB / 0.7488 GB, free: 39.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002161/4.051, allocations: 195.6 kB / 0.749 GB, free: 39.65 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/4.052, allocations: 0.6796 MB / 0.7496 GB, free: 38.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007984/4.053, allocations: 67.27 kB / 0.7497 GB, free: 38.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.9e-05/4.053, allocations: 39.98 kB / 0.7497 GB, free: 38.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/4.053, allocations: 4 kB / 0.7497 GB, free: 38.84 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002927/4.056, allocations: 0.5538 MB / 0.7503 GB, free: 38.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/4.056, allocations: 9 kB / 0.7503 GB, free: 38.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/4.056, allocations: 16 kB / 0.7503 GB, free: 38.26 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006807/4.057, allocations: 135.7 kB / 0.7504 GB, free: 38.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/4.057, allocations: 19.92 kB / 0.7505 GB, free: 38.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005643/4.057, allocations: 51.52 kB / 0.7505 GB, free: 38.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.243e-05/4.057, allocations: 32 kB / 0.7505 GB, free: 38.02 MB / 474.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.0001995/4.057, allocations: 163.5 kB / 0.7507 GB, free: 37.85 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/4.058, allocations: 55.34 kB / 0.7507 GB, free: 37.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003617/4.061, allocations: 0.8551 MB / 0.7516 GB, free: 36.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/4.061, allocations: 4 kB / 0.7516 GB, free: 36.93 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/4.061, allocations: 3.938 kB / 0.7516 GB, free: 36.92 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/4.061, allocations: 0 / 0.7516 GB, free: 36.92 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006766/4.062, allocations: 413.7 kB / 0.752 GB, free: 36.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/4.062, allocations: 0 / 0.752 GB, free: 36.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009698/4.063, allocations: 107.8 kB / 0.7521 GB, free: 36.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/4.063, allocations: 4 kB / 0.7521 GB, free: 36.37 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/4.063, allocations: 11.98 kB / 0.7521 GB, free: 36.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005412/4.064, allocations: 0.6133 MB / 0.7527 GB, free: 35.72 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/4.064, allocations: 4 kB / 0.7527 GB, free: 35.72 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001851/4.065, allocations: 492.9 kB / 0.7532 GB, free: 35.22 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001949/4.067, allocations: 0.8839 MB / 0.754 GB, free: 34.31 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000291/4.068, allocations: 188.2 kB / 0.7542 GB, free: 34.11 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/4.068, allocations: 3.906 kB / 0.7542 GB, free: 34.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/4.068, allocations: 15.98 kB / 0.7542 GB, free: 34.09 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/4.068, allocations: 24 kB / 0.7543 GB, free: 34.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-05/4.068, allocations: 19.98 kB / 0.7543 GB, free: 34.05 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0004882/4.069, allocations: 302.9 kB / 0.7546 GB, free: 33.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003812/4.073, allocations: 491.1 kB / 0.755 GB, free: 33.27 MB / 474.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.001381/4.074, allocations: 440.8 kB / 0.7555 GB, free: 32.84 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00428/4.078, allocations: 0.6763 MB / 0.7561 GB, free: 32.15 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.614e-05/4.079, allocations: 4 kB / 0.7561 GB, free: 32.15 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001893/4.08, allocations: 295.5 kB / 0.7564 GB, free: 31.86 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/4.082, allocations: 182.2 kB / 0.7566 GB, free: 31.68 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/4.085, allocations: 0.8449 MB / 0.7574 GB, free: 30.81 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005933/4.086, allocations: 0.9756 MB / 0.7584 GB, free: 29.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.082e-06/4.086, allocations: 0 / 0.7584 GB, free: 29.8 MB / 474.7 MB