Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,fileNamePrefix="ModelicaTest_3_2_2_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 2.177/2.177, allocations: 234.9 MB / 241.9 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1727/2.349, allocations: 57.21 MB / 299.1 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/2.606, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.248/8.854, allocations: 2.593 GB / 2.939 GB, free: 123.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/8.854, allocations: 85.03 kB / 2.939 GB, free: 123.3 MB / 490.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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 2.577/11.43, allocations: 497.9 MB / 3.425 GB, free: 18.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/11.43, allocations: 11.19 kB / 3.425 GB, free: 18.35 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007126/11.44, allocations: 0.6422 MB / 3.426 GB, free: 17.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002872/11.44, allocations: 0.9469 MB / 3.427 GB, free: 16.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.947e-05/11.44, allocations: 32 kB / 3.427 GB, free: 16.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/11.44, allocations: 56 kB / 3.427 GB, free: 16.65 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002719/11.44, allocations: 0.9724 MB / 3.428 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/11.45, allocations: 1.178 MB / 3.429 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/11.45, allocations: 3.938 kB / 3.429 GB, free: 14.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/11.45, allocations: 11.91 kB / 3.429 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.773e-05/11.45, allocations: 24 kB / 3.429 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.741/13.19, allocations: 265.1 MB / 3.688 GB, free: 86.03 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/13.19, allocations: 499.1 kB / 3.688 GB, free: 85.98 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005475/13.19, allocations: 238.8 kB / 3.688 GB, free: 85.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.197/13.39, allocations: 47.39 MB / 3.735 GB, free: 57.31 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.527e-05/13.39, allocations: 38.75 kB / 3.735 GB, free: 57.27 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=41): time 6.523e-06/13.39, allocations: 0 / 3.735 GB, free: 57.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41): time 0.01281/13.4, allocations: 1.494 MB / 3.736 GB, free: 57.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.245e-05/13.4, allocations: 186.7 kB / 3.736 GB, free: 56.99 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003167/13.4, allocations: 0.8906 MB / 3.737 GB, free: 56.83 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001629/13.4, allocations: 25.7 kB / 3.737 GB, free: 56.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006595/13.4, allocations: 0.5642 MB / 3.738 GB, free: 56.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002895/13.4, allocations: 150.2 kB / 3.738 GB, free: 56.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/13.4, allocations: 0 / 3.738 GB, free: 56.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000154/13.4, allocations: 354.6 kB / 3.738 GB, free: 56.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/13.41, allocations: 337.8 kB / 3.739 GB, free: 56.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/13.41, allocations: 0.7996 MB / 3.739 GB, free: 55.51 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008075/13.42, allocations: 0.7799 MB / 3.74 GB, free: 55.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.938e-05/13.42, allocations: 3.844 kB / 3.74 GB, free: 55.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01832/13.43, allocations: 2.334 MB / 3.742 GB, free: 55.37 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/13.43, allocations: 8.5 kB / 3.742 GB, free: 55.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.941e-05/13.43, allocations: 14.22 kB / 3.742 GB, free: 55.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008087/13.44, allocations: 212.8 kB / 3.743 GB, free: 55.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/13.44, allocations: 320.1 kB / 3.743 GB, free: 55.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00374/13.44, allocations: 1.904 MB / 3.745 GB, free: 54.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0025/13.44, allocations: 164.8 kB / 3.745 GB, free: 54.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003605/13.45, allocations: 68.17 kB / 3.745 GB, free: 54.19 MB / 0.5261 GB 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.0003161/13.45, allocations: 157.1 kB / 3.745 GB, free: 54.08 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002648/13.45, allocations: 0.5789 MB / 3.746 GB, free: 54.03 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008418/13.46, allocations: 2.494 MB / 3.748 GB, free: 53.81 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.623e-05/13.46, allocations: 16.22 kB / 3.748 GB, free: 53.81 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/13.46, allocations: 0 / 3.748 GB, free: 53.81 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/13.46, allocations: 3.375 kB / 3.748 GB, free: 53.81 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008032/13.46, allocations: 3.794 MB / 3.752 GB, free: 52.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/13.46, allocations: 3.969 kB / 3.752 GB, free: 52.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/13.47, allocations: 131.2 kB / 3.752 GB, free: 52.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002241/13.47, allocations: 1.53 MB / 3.754 GB, free: 52.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.783e-05/13.47, allocations: 7.625 kB / 3.754 GB, free: 52.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004349/13.47, allocations: 2.57 MB / 3.756 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/13.47, allocations: 4.094 kB / 3.756 GB, free: 51.72 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008291/13.48, allocations: 2.1 MB / 3.758 GB, free: 51.37 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009979/13.49, allocations: 2.531 MB / 3.761 GB, free: 50.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/13.49, allocations: 327.6 kB / 3.761 GB, free: 50.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005285/13.49, allocations: 0 / 3.761 GB, free: 50.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/13.49, allocations: 28.17 kB / 3.761 GB, free: 50.46 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/13.5, allocations: 30.77 kB / 3.761 GB, free: 50.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.831e-05/13.5, allocations: 14.03 kB / 3.761 GB, free: 50.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002616/13.5, allocations: 0.8096 MB / 3.762 GB, free: 50.35 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01247/13.51, allocations: 1.438 MB / 3.763 GB, free: 50.34 MB / 0.5261 GB 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.01714/13.53, allocations: 1.975 MB / 3.765 GB, free: 50.06 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006983/13.53, allocations: 1.187 MB / 3.766 GB, free: 50.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/13.53, allocations: 0 / 3.766 GB, free: 50.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004345/13.54, allocations: 0.7351 MB / 3.767 GB, free: 50.04 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006344/13.55, allocations: 418.6 kB / 3.767 GB, free: 50.01 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09461/13.64, allocations: 22.71 MB / 3.79 GB, free: 48.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001621/13.64, allocations: 1.301 MB / 3.791 GB, free: 47.98 MB / 0.5261 GB Notification: Performance of SimCode: time 1.613e-06/13.64, allocations: 0 / 3.791 GB, free: 47.98 MB / 0.5261 GB