Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestSuddenExpansion",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.875/1.875, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.255/2.13, allocations: 51.03 MB / 267.3 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/2.246, allocations: 48.69 MB / 316 MB, free: 4.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.183/8.428, allocations: 2.483 GB / 2.791 GB, free: 102.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/8.429, allocations: 85.53 kB / 2.791 GB, free: 102.6 MB / 426.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 .... [/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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 2.546/10.97, allocations: 486.9 MB / 3.267 GB, free: 37.61 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/10.97, allocations: 11.28 kB / 3.267 GB, free: 37.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0071/10.98, allocations: 0.6092 MB / 3.267 GB, free: 37.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004031/10.99, allocations: 0.9483 MB / 3.268 GB, free: 37.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.204e-05/10.99, allocations: 30.59 kB / 3.268 GB, free: 37.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/10.99, allocations: 56.48 kB / 3.268 GB, free: 37.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002995/10.99, allocations: 0.97 MB / 3.269 GB, free: 37.22 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002779/10.99, allocations: 1.18 MB / 3.271 GB, free: 36.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.998e-05/10.99, allocations: 4.75 kB / 3.271 GB, free: 36.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/10.99, allocations: 4.422 kB / 3.271 GB, free: 36.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.099e-05/10.99, allocations: 25.53 kB / 3.271 GB, free: 36.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.396/12.39, allocations: 264.9 MB / 3.529 GB, free: 56.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/12.39, allocations: 0.4895 MB / 3.53 GB, free: 56.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005369/12.39, allocations: 247.3 kB / 3.53 GB, free: 56.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.214/12.6, allocations: 47.38 MB / 3.576 GB, free: 25.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/12.6, allocations: 45.61 kB / 3.576 GB, free: 25.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=41): time 3.277e-06/12.6, allocations: 0 / 3.576 GB, free: 25.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=41): time 0.007482/12.61, allocations: 1.492 MB / 3.578 GB, free: 24.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.644e-05/12.61, allocations: 191.5 kB / 3.578 GB, free: 24.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/12.61, allocations: 0.8941 MB / 3.579 GB, free: 23.85 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.734e-05/12.61, allocations: 25.7 kB / 3.579 GB, free: 23.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003658/12.61, allocations: 0.559 MB / 3.579 GB, free: 23.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/12.61, allocations: 160.2 kB / 3.579 GB, free: 23.36 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-05/12.61, allocations: 0.5469 kB / 3.579 GB, free: 23.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.873e-05/12.61, allocations: 349.7 kB / 3.58 GB, free: 23.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008921/12.62, allocations: 330.9 kB / 3.58 GB, free: 22.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001836/12.62, allocations: 0.801 MB / 3.581 GB, free: 22.03 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009173/12.63, allocations: 0.7796 MB / 3.582 GB, free: 21.67 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.097e-05/12.63, allocations: 5.641 kB / 3.582 GB, free: 21.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01788/12.64, allocations: 2.333 MB / 3.584 GB, free: 20.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/12.64, allocations: 8 kB / 3.584 GB, free: 20.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.749e-05/12.64, allocations: 16 kB / 3.584 GB, free: 20.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/12.65, allocations: 209.5 kB / 3.584 GB, free: 20.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003934/12.65, allocations: 323.1 kB / 3.584 GB, free: 20.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005149/12.65, allocations: 1.902 MB / 3.586 GB, free: 18.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003049/12.66, allocations: 162.5 kB / 3.586 GB, free: 18.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003786/12.66, allocations: 70.8 kB / 3.587 GB, free: 18.34 MB / 490.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 (rightAdapter.state_b.phase,rightAdapter.state_a.phase,rightAdapter.state_a_nondes.phase,rightAdapter.state_b_des.phase,leftAdapter.state_b.phase,leftAdapter.state_a.phase,leftAdapter.state_a_nondes.phase,leftAdapter.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 (130): * Single equations (assignments): 128 * 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.0004374/12.66, allocations: 169.7 kB / 3.587 GB, free: 18.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004099/12.66, allocations: 0.5757 MB / 3.587 GB, free: 17.87 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00957/12.67, allocations: 2.49 MB / 3.59 GB, free: 16.53 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.072e-05/12.67, allocations: 15.33 kB / 3.59 GB, free: 16.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.669e-06/12.67, allocations: 0.5625 kB / 3.59 GB, free: 16.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/12.67, allocations: 3.891 kB / 3.59 GB, free: 16.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1951/12.87, allocations: 3.787 MB / 3.593 GB, free: 118.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/12.87, allocations: 7.562 kB / 3.593 GB, free: 118.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/12.87, allocations: 121.9 kB / 3.594 GB, free: 118.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002252/12.87, allocations: 1.525 MB / 3.595 GB, free: 118.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.651e-05/12.87, allocations: 12.23 kB / 3.595 GB, free: 118.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003767/12.88, allocations: 2.569 MB / 3.598 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/12.88, allocations: 0 / 3.598 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005804/12.88, allocations: 2.106 MB / 3.6 GB, free: 116.7 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005844/12.89, allocations: 2.534 MB / 3.602 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008234/12.89, allocations: 325.2 kB / 3.602 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003772/12.89, allocations: 3.75 kB / 3.602 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008915/12.89, allocations: 29.2 kB / 3.602 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/12.89, allocations: 29.77 kB / 3.602 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/12.89, allocations: 17.28 kB / 3.602 GB, free: 115.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.002215/12.89, allocations: 0.8077 MB / 3.603 GB, free: 115.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009154/12.9, allocations: 1.429 MB / 3.605 GB, free: 115.7 MB / 490.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 (35): * Single equations (assignments): 33 * 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.01179/12.91, allocations: 1.964 MB / 3.607 GB, free: 115.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005026/12.92, allocations: 1.19 MB / 3.608 GB, free: 115.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/12.92, allocations: 0 / 3.608 GB, free: 115.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002847/12.92, allocations: 0.7291 MB / 3.608 GB, free: 115.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004022/12.93, allocations: 420.3 kB / 3.609 GB, free: 115.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08104/13.01, allocations: 21.91 MB / 3.63 GB, free: 115 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/13.01, allocations: 1.312 MB / 3.632 GB, free: 114.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.643e-06/13.01, allocations: 0.875 kB / 3.632 GB, free: 114.3 MB / 490.7 MB