Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,fileNamePrefix="Modelica_3_2_2_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.78/1.78, allocations: 194.9 MB / 202.5 MB, free: 6.957 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.235/2.015, allocations: 46.84 MB / 249.3 MB, free: 5.367 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09412/2.11, allocations: 44.51 MB / 293.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.504/7.613, allocations: 2.584 GB / 2.871 GB, free: 76.53 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/7.613, allocations: 82.27 kB / 2.871 GB, free: 76.49 MB / 394.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 .... [/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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 2.146/9.76, allocations: 498.8 MB / 3.358 GB, free: 25.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/9.76, allocations: 7.312 kB / 3.358 GB, free: 25.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008306/9.768, allocations: 0.738 MB / 3.359 GB, free: 25.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002808/9.771, allocations: 0.9569 MB / 3.36 GB, free: 24.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.889e-05/9.771, allocations: 37.56 kB / 3.36 GB, free: 24.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/9.771, allocations: 57.16 kB / 3.36 GB, free: 24.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002951/9.774, allocations: 1.071 MB / 3.361 GB, free: 24.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002695/9.777, allocations: 1.235 MB / 3.362 GB, free: 23.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.16e-05/9.777, allocations: 11.81 kB / 3.362 GB, free: 23.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/9.777, allocations: 3.969 kB / 3.362 GB, free: 23.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/9.777, allocations: 32.31 kB / 3.362 GB, free: 23.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.45/11.23, allocations: 265.3 MB / 3.621 GB, free: 81.06 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/11.23, allocations: 0.5334 MB / 3.622 GB, free: 81.01 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006208/11.23, allocations: 286.4 kB / 3.622 GB, free: 80.99 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1757/11.41, allocations: 47.38 MB / 3.668 GB, free: 52.34 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/11.41, allocations: 52.5 kB / 3.668 GB, free: 52.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=49): time 2.996e-06/11.41, allocations: 0 / 3.668 GB, free: 52.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=49): time 0.007782/11.41, allocations: 1.553 MB / 3.67 GB, free: 52.24 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/11.41, allocations: 197.1 kB / 3.67 GB, free: 52.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/11.41, allocations: 0.8877 MB / 3.671 GB, free: 51.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001243/11.42, allocations: 25.7 kB / 3.671 GB, free: 51.83 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003664/11.42, allocations: 0.5643 MB / 3.671 GB, free: 51.53 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/11.42, allocations: 179.6 kB / 3.672 GB, free: 51.45 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.42e-05/11.42, allocations: 0 / 3.672 GB, free: 51.45 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/11.42, allocations: 350.8 kB / 3.672 GB, free: 51.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009156/11.42, allocations: 367.4 kB / 3.672 GB, free: 51.14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/11.42, allocations: 0.8433 MB / 3.673 GB, free: 50.52 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004758/11.42, allocations: 0.8108 MB / 3.674 GB, free: 50.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.667e-05/11.42, allocations: 10.03 kB / 3.674 GB, free: 50.49 MB / 458.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01089/11.43, allocations: 2.414 MB / 3.676 GB, free: 50.37 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/11.43, allocations: 8.578 kB / 3.676 GB, free: 50.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.426e-05/11.43, allocations: 15.62 kB / 3.676 GB, free: 50.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007158/11.43, allocations: 208.1 kB / 3.676 GB, free: 50.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0029/11.44, allocations: 343 kB / 3.677 GB, free: 50.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003342/11.44, allocations: 1.904 MB / 3.679 GB, free: 49.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/11.44, allocations: 163.5 kB / 3.679 GB, free: 49.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/11.44, allocations: 78.98 kB / 3.679 GB, free: 49.2 MB / 458.7 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.0002925/11.44, allocations: 159.1 kB / 3.679 GB, free: 49.09 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002402/11.45, allocations: 0.58 MB / 3.68 GB, free: 49.03 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006282/11.45, allocations: 2.581 MB / 3.682 GB, free: 48.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-05/11.45, allocations: 16.8 kB / 3.682 GB, free: 48.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/11.45, allocations: 0 / 3.682 GB, free: 48.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/11.45, allocations: 3.844 kB / 3.682 GB, free: 48.82 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007648/11.46, allocations: 3.916 MB / 3.686 GB, free: 47.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/11.46, allocations: 0 / 3.686 GB, free: 47.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/11.46, allocations: 156.6 kB / 3.686 GB, free: 47.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002219/11.46, allocations: 1.497 MB / 3.688 GB, free: 47.88 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/11.46, allocations: 13.95 kB / 3.688 GB, free: 47.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003633/11.47, allocations: 2.567 MB / 3.69 GB, free: 46.74 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/11.47, allocations: 0 / 3.69 GB, free: 46.74 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005616/11.47, allocations: 2.185 MB / 3.692 GB, free: 46.38 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005733/11.48, allocations: 2.611 MB / 3.695 GB, free: 45.65 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007657/11.48, allocations: 327.4 kB / 3.695 GB, free: 45.47 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003321/11.48, allocations: 1.031 kB / 3.695 GB, free: 45.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000992/11.48, allocations: 25.94 kB / 3.695 GB, free: 45.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.862e-05/11.48, allocations: 30.84 kB / 3.695 GB, free: 45.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.938e-05/11.48, allocations: 23.23 kB / 3.695 GB, free: 45.46 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.001544/11.48, allocations: 0.8077 MB / 3.696 GB, free: 45.36 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007879/11.49, allocations: 1.457 MB / 3.697 GB, free: 45.27 MB / 458.7 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.01107/11.5, allocations: 1.966 MB / 3.699 GB, free: 44.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004742/11.51, allocations: 1.282 MB / 3.701 GB, free: 44.97 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/11.51, allocations: 0 / 3.701 GB, free: 44.97 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002965/11.51, allocations: 0.7775 MB / 3.701 GB, free: 44.96 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004078/11.51, allocations: 418 kB / 3.702 GB, free: 44.94 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08278/11.6, allocations: 22.74 MB / 3.724 GB, free: 36.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001314/11.6, allocations: 1.331 MB / 3.725 GB, free: 35.36 MB / 458.7 MB Notification: Performance of SimCode: time 1.052e-06/11.6, allocations: 0 / 3.725 GB, free: 35.36 MB / 458.7 MB