Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings",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(Modelica): time 1.613/1.613, allocations: 171.2 MB / 178.1 MB, free: 28 kB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.09999/1.713, allocations: 41.11 MB / 219.3 MB, free: 6.848 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/1.909, allocations: 38.76 MB / 258 MB, free: 15.28 MB / 222.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.913/7.822, allocations: 2.474 GB / 2.726 GB, free: 58.94 MB / 350.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/7.822, allocations: 82.5 kB / 2.726 GB, free: 58.9 MB / 350.1 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 .... [/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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 2.283/10.11, allocations: 487.9 MB / 3.203 GB, free: 8.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/10.11, allocations: 8 kB / 3.203 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008505/10.11, allocations: 0.7036 MB / 3.203 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003487/10.12, allocations: 0.9561 MB / 3.204 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.795e-05/10.12, allocations: 36 kB / 3.204 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002471/10.12, allocations: 59.94 kB / 3.204 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003438/10.12, allocations: 1.066 MB / 3.205 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003729/10.12, allocations: 1.234 MB / 3.207 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.061e-05/10.13, allocations: 7.938 kB / 3.207 GB, free: 4.434 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001912/10.13, allocations: 4 kB / 3.207 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-05/10.13, allocations: 30.5 kB / 3.207 GB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.615/11.74, allocations: 265 MB / 3.466 GB, free: 23.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/11.74, allocations: 0.5347 MB / 3.466 GB, free: 23.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006171/11.74, allocations: 280.4 kB / 3.466 GB, free: 23.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.36/12.1, allocations: 47.39 MB / 3.513 GB, free: 67.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/12.1, allocations: 40.5 kB / 3.513 GB, free: 67.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 4.659e-06/12.1, allocations: 0 / 3.513 GB, free: 67.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.008227/12.11, allocations: 1.569 MB / 3.514 GB, free: 67.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.701e-05/12.11, allocations: 190.8 kB / 3.514 GB, free: 67.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/12.11, allocations: 0.8863 MB / 3.515 GB, free: 67.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001508/12.11, allocations: 29.36 kB / 3.515 GB, free: 67.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003787/12.11, allocations: 0.5701 MB / 3.516 GB, free: 67.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/12.11, allocations: 175.9 kB / 3.516 GB, free: 66.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.925e-05/12.11, allocations: 0 / 3.516 GB, free: 66.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/12.11, allocations: 354.7 kB / 3.516 GB, free: 66.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/12.12, allocations: 365.1 kB / 3.517 GB, free: 66.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/12.12, allocations: 0.8421 MB / 3.517 GB, free: 66.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009532/12.13, allocations: 0.8077 MB / 3.518 GB, free: 66.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.361e-05/12.13, allocations: 5.719 kB / 3.518 GB, free: 66.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01506/12.14, allocations: 2.423 MB / 3.521 GB, free: 65.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/12.14, allocations: 5.75 kB / 3.521 GB, free: 65.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/12.14, allocations: 18.5 kB / 3.521 GB, free: 65.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007406/12.14, allocations: 204.9 kB / 3.521 GB, free: 65.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/12.15, allocations: 343.8 kB / 3.521 GB, free: 65.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003402/12.15, allocations: 1.906 MB / 3.523 GB, free: 64.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/12.15, allocations: 165 kB / 3.523 GB, free: 64.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000206/12.15, allocations: 75.36 kB / 3.523 GB, free: 64.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 20 (rightAdaptor.state_b.phase,rightAdaptor.state_a.phase,rightAdaptor.state_a_nondes.phase,rightAdaptor.state_b_des.phase,leftAdaptor.state_b.phase,leftAdaptor.state_a.phase,leftAdaptor.state_a_nondes.phase,leftAdaptor.state_b_des.phase,suddenExpansion2.state_b.phase,suddenExpansion2.state_a.phase,suddenExpansion2.state_a_nondes.phase,suddenExpansion2.state_b_des.phase,rightBoundary2.medium.phase,leftBoundary2.medium.phase,suddenExpansion1.state_b.phase,suddenExpansion1.state_a.phase,suddenExpansion1.state_a_nondes.phase,suddenExpansion1.state_b_des.phase,rightBoundary1.medium.phase,leftBoundary1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003303/12.15, allocations: 158.3 kB / 3.523 GB, free: 64.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002549/12.15, allocations: 0.5803 MB / 3.524 GB, free: 64.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006964/12.16, allocations: 2.574 MB / 3.527 GB, free: 64.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.19e-05/12.16, allocations: 18.61 kB / 3.527 GB, free: 64.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/12.16, allocations: 4.75 kB / 3.527 GB, free: 64.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/12.16, allocations: 3.188 kB / 3.527 GB, free: 64.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008394/12.17, allocations: 3.92 MB / 3.53 GB, free: 63.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/12.17, allocations: 0.5 kB / 3.53 GB, free: 63.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001859/12.17, allocations: 146.2 kB / 3.531 GB, free: 63.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002266/12.17, allocations: 1.505 MB / 3.532 GB, free: 63.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/12.17, allocations: 13.81 kB / 3.532 GB, free: 63.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003782/12.18, allocations: 2.562 MB / 3.534 GB, free: 62.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/12.18, allocations: 7.719 kB / 3.535 GB, free: 62.32 MB / 414.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005819/12.18, allocations: 2.191 MB / 3.537 GB, free: 61.96 MB / 414.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005959/12.19, allocations: 2.614 MB / 3.539 GB, free: 61.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008428/12.19, allocations: 326.3 kB / 3.54 GB, free: 61.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003338/12.19, allocations: 0 / 3.54 GB, free: 61.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009975/12.19, allocations: 24.97 kB / 3.54 GB, free: 61.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.484e-05/12.19, allocations: 32.67 kB / 3.54 GB, free: 61.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.31e-05/12.19, allocations: 21.34 kB / 3.54 GB, free: 61.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 0.001661/12.19, allocations: 0.8083 MB / 3.54 GB, free: 60.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0117/12.21, allocations: 1.448 MB / 3.542 GB, free: 60.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.01272/12.22, allocations: 1.958 MB / 3.544 GB, free: 60.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005096/12.22, allocations: 1.276 MB / 3.545 GB, free: 60.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/12.22, allocations: 3.75 kB / 3.545 GB, free: 60.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003147/12.23, allocations: 0.7777 MB / 3.546 GB, free: 60.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004306/12.23, allocations: 406.5 kB / 3.546 GB, free: 60.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08255/12.31, allocations: 21.96 MB / 3.568 GB, free: 59.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/12.32, allocations: 1.336 MB / 3.569 GB, free: 58.54 MB / 414.1 MB Notification: Performance of SimCode: time 2.364e-06/12.32, allocations: 0 / 3.569 GB, free: 58.54 MB / 414.1 MB