Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Fittings_TestSuddenExpansion",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.277/2.277, allocations: 235.1 MB / 242 MB, free: 11.29 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3369/2.614, allocations: 57.2 MB / 299.2 MB, free: 5.988 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/2.753, allocations: 54.86 MB / 354.1 MB, free: 15.03 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.883/9.637, allocations: 2.593 GB / 2.939 GB, free: 25.34 MB / 482.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/9.637, allocations: 75.2 kB / 2.939 GB, free: 25.3 MB / 482.8 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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.82/12.46, allocations: 497.9 MB / 3.425 GB, free: 41.13 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/12.46, allocations: 7.938 kB / 3.425 GB, free: 41.13 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008043/12.47, allocations: 0.6492 MB / 3.426 GB, free: 41.05 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005279/12.47, allocations: 0.9489 MB / 3.427 GB, free: 40.72 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/12.47, allocations: 33.91 kB / 3.427 GB, free: 40.72 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004593/12.47, allocations: 53.25 kB / 3.427 GB, free: 40.72 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005347/12.48, allocations: 0.9685 MB / 3.428 GB, free: 40.71 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004521/12.48, allocations: 1.176 MB / 3.429 GB, free: 40.3 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.432e-05/12.48, allocations: 9.906 kB / 3.429 GB, free: 40.29 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/12.48, allocations: 5.156 kB / 3.429 GB, free: 40.29 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.304e-05/12.48, allocations: 25.22 kB / 3.429 GB, free: 40.29 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.612/14.09, allocations: 265.1 MB / 3.688 GB, free: 27.68 MB / 0.5027 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/14.1, allocations: 0.4935 MB / 3.688 GB, free: 27.38 MB / 0.5027 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006388/14.1, allocations: 242.7 kB / 3.689 GB, free: 27.25 MB / 0.5027 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4741/14.57, allocations: 47.39 MB / 3.735 GB, free: 97.89 MB / 0.5027 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.705e-05/14.57, allocations: 39.14 kB / 3.735 GB, free: 97.85 MB / 0.5027 GB Notification: Performance of pre-optimization done (n=41): time 6.553e-06/14.57, allocations: 0 / 3.735 GB, free: 97.85 MB / 0.5027 GB Notification: Performance of matching and sorting (n=41): time 0.01453/14.58, allocations: 1.495 MB / 3.736 GB, free: 97.81 MB / 0.5027 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.617e-05/14.58, allocations: 186.5 kB / 3.736 GB, free: 97.59 MB / 0.5027 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003271/14.59, allocations: 0.8853 MB / 3.737 GB, free: 97.45 MB / 0.5027 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/14.59, allocations: 29.39 kB / 3.737 GB, free: 97.41 MB / 0.5027 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004524/14.59, allocations: 0.566 MB / 3.738 GB, free: 97.12 MB / 0.5027 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002282/14.59, allocations: 152.9 kB / 3.738 GB, free: 97.05 MB / 0.5027 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.786e-05/14.59, allocations: 2.594 kB / 3.738 GB, free: 97.05 MB / 0.5027 GB Notification: Performance of setup shared object (initialization): time 0.0001193/14.59, allocations: 350 kB / 3.738 GB, free: 96.74 MB / 0.5027 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/14.59, allocations: 328.9 kB / 3.739 GB, free: 96.74 MB / 0.5027 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/14.59, allocations: 0.8037 MB / 3.739 GB, free: 96.14 MB / 0.5027 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005507/14.6, allocations: 0.7777 MB / 3.74 GB, free: 96.14 MB / 0.5027 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.249e-05/14.6, allocations: 7.125 kB / 3.74 GB, free: 96.14 MB / 0.5027 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01213/14.61, allocations: 2.341 MB / 3.743 GB, free: 96.04 MB / 0.5027 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/14.61, allocations: 3.875 kB / 3.743 GB, free: 96.04 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-05/14.61, allocations: 19.48 kB / 3.743 GB, free: 96.04 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008001/14.61, allocations: 209.9 kB / 3.743 GB, free: 96.03 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002914/14.61, allocations: 322.7 kB / 3.743 GB, free: 96.03 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003655/14.62, allocations: 1.901 MB / 3.745 GB, free: 94.91 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002282/14.62, allocations: 162.5 kB / 3.745 GB, free: 94.88 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002188/14.62, allocations: 75.38 kB / 3.745 GB, free: 94.88 MB / 0.5027 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.0003121/14.62, allocations: 157 kB / 3.745 GB, free: 94.77 MB / 0.5027 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002728/14.62, allocations: 0.578 MB / 3.746 GB, free: 94.71 MB / 0.5027 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006943/14.63, allocations: 2.485 MB / 3.748 GB, free: 94.51 MB / 0.5027 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.461e-05/14.63, allocations: 19.8 kB / 3.748 GB, free: 94.51 MB / 0.5027 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/14.63, allocations: 2.406 kB / 3.748 GB, free: 94.51 MB / 0.5027 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/14.63, allocations: 1.594 kB / 3.748 GB, free: 94.51 MB / 0.5027 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008235/14.64, allocations: 3.79 MB / 3.752 GB, free: 93.64 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/14.64, allocations: 0 / 3.752 GB, free: 93.64 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001965/14.64, allocations: 129.2 kB / 3.752 GB, free: 93.64 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002666/14.64, allocations: 1.532 MB / 3.754 GB, free: 93.58 MB / 0.5027 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/14.64, allocations: 3.812 kB / 3.754 GB, free: 93.58 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004389/14.65, allocations: 2.569 MB / 3.756 GB, free: 92.43 MB / 0.5027 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/14.65, allocations: 0 / 3.756 GB, free: 92.43 MB / 0.5027 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006445/14.65, allocations: 2.117 MB / 3.758 GB, free: 92.07 MB / 0.5027 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006605/14.66, allocations: 2.538 MB / 3.761 GB, free: 91.36 MB / 0.5027 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008692/14.66, allocations: 316.5 kB / 3.761 GB, free: 91.19 MB / 0.5027 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000396/14.66, allocations: 0 / 3.761 GB, free: 91.19 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/14.66, allocations: 26.38 kB / 3.761 GB, free: 91.18 MB / 0.5027 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.72e-05/14.66, allocations: 28.8 kB / 3.761 GB, free: 91.18 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.234e-05/14.66, allocations: 19.2 kB / 3.761 GB, free: 91.18 MB / 0.5027 GB Notification: Performance of sort global known variables: time 0.00181/14.66, allocations: 0.8079 MB / 3.762 GB, free: 91.07 MB / 0.5027 GB Notification: Performance of remove unused functions: time 0.009907/14.67, allocations: 1.443 MB / 3.763 GB, free: 91.01 MB / 0.5027 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.01747/14.69, allocations: 1.965 MB / 3.765 GB, free: 90.81 MB / 0.5027 GB Notification: Performance of simCode: created initialization part: time 0.005153/14.7, allocations: 1.189 MB / 3.766 GB, free: 90.8 MB / 0.5027 GB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/14.7, allocations: 0 / 3.766 GB, free: 90.8 MB / 0.5027 GB Notification: Performance of simCode: created simulation system equations: time 0.003214/14.7, allocations: 0.7286 MB / 3.767 GB, free: 90.8 MB / 0.5027 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004523/14.71, allocations: 412.7 kB / 3.767 GB, free: 90.8 MB / 0.5027 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1009/14.81, allocations: 22.72 MB / 3.79 GB, free: 89.68 MB / 0.5027 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001754/14.81, allocations: 1.307 MB / 3.791 GB, free: 88.95 MB / 0.5027 GB Notification: Performance of SimCode: time 2.204e-06/14.81, allocations: 0 / 3.791 GB, free: 88.95 MB / 0.5027 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion_res.mat does not exist to compare? outputFormat=mat