Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction",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.116/2.116, allocations: 234.9 MB / 241.9 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.19/2.306, allocations: 57.21 MB / 299.1 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/2.58, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8986/3.479, allocations: 329 MB / 0.667 GB, free: 109.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004869/3.479, allocations: 85.55 kB / 0.6671 GB, free: 109.1 MB / 474.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 .... Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 1.71/5.19, allocations: 329.6 MB / 0.9889 GB, free: 55.12 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/5.19, allocations: 13.69 kB / 0.9889 GB, free: 55.12 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/5.191, allocations: 178.4 kB / 0.9891 GB, free: 55.04 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004064/5.195, allocations: 1.137 MB / 0.9902 GB, free: 54.76 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/5.195, allocations: 29.78 kB / 0.9902 GB, free: 54.76 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003659/5.196, allocations: 60.47 kB / 0.9903 GB, free: 54.76 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003599/5.199, allocations: 1.198 MB / 0.9915 GB, free: 54.75 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003267/5.203, allocations: 1.298 MB / 0.9927 GB, free: 54.45 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.158e-05/5.203, allocations: 2.062 kB / 0.9927 GB, free: 54.45 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/5.203, allocations: 5.875 kB / 0.9927 GB, free: 54.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.249e-05/5.203, allocations: 54.94 kB / 0.9928 GB, free: 54.45 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01715/5.22, allocations: 6.534 MB / 0.9992 GB, free: 50.74 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/5.222, allocations: 464.6 kB / 0.9996 GB, free: 50.72 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/5.223, allocations: 287.6 kB / 0.9999 GB, free: 50.71 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03382/5.257, allocations: 17.29 MB / 1.017 GB, free: 34.16 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007039/5.258, allocations: 270.3 kB / 1.017 GB, free: 34.08 MB / 474.7 MB Notification: Performance of pre-optimization done (n=42): time 4.539e-06/5.258, allocations: 3.75 kB / 1.017 GB, free: 34.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=42): time 0.009828/5.268, allocations: 1.076 MB / 1.018 GB, free: 33.99 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.209e-05/5.268, allocations: 271.9 kB / 1.018 GB, free: 33.68 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/5.27, allocations: 0.9177 MB / 1.019 GB, free: 33.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001614/5.27, allocations: 36.69 kB / 1.019 GB, free: 33.49 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005558/5.271, allocations: 0.6219 MB / 1.02 GB, free: 33.16 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/5.271, allocations: 150.4 kB / 1.02 GB, free: 33.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.49e-05/5.271, allocations: 0 / 1.02 GB, free: 33.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/5.271, allocations: 354.6 kB / 1.02 GB, free: 32.79 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006754/5.272, allocations: 246.9 kB / 1.021 GB, free: 32.79 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/5.273, allocations: 0.9303 MB / 1.022 GB, free: 31.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01367/5.286, allocations: 1.453 MB / 1.023 GB, free: 31.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.788e-05/5.286, allocations: 7.344 kB / 1.023 GB, free: 31.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0161/5.303, allocations: 2.162 MB / 1.025 GB, free: 31.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002132/5.305, allocations: 9.032 MB / 1.034 GB, free: 38.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.076e-05/5.305, allocations: 22.03 kB / 1.034 GB, free: 38.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.659e-05/5.305, allocations: 39.58 kB / 1.034 GB, free: 38.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004202/5.309, allocations: 438.9 kB / 1.034 GB, free: 38.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002577/5.312, allocations: 1.379 MB / 1.036 GB, free: 37.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002618/5.314, allocations: 162 kB / 1.036 GB, free: 37.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003509/5.315, allocations: 80.75 kB / 1.036 GB, free: 37.15 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/5.315, allocations: 2.125 kB / 1.036 GB, free: 37.15 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01199/5.327, allocations: 1.724 MB / 1.038 GB, free: 37.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.032e-05/5.327, allocations: 21.56 kB / 1.038 GB, free: 37.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.324e-05/5.327, allocations: 39.91 kB / 1.038 GB, free: 37.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/5.329, allocations: 323.7 kB / 1.038 GB, free: 37.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007034/5.33, allocations: 0.6623 MB / 1.039 GB, free: 36.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/5.332, allocations: 114.5 kB / 1.039 GB, free: 36.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000369/5.332, allocations: 73.59 kB / 1.039 GB, free: 36.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005605/5.333, allocations: 205.9 kB / 1.039 GB, free: 36.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004198/5.333, allocations: 119.5 kB / 1.039 GB, free: 36.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009773/5.343, allocations: 1.776 MB / 1.041 GB, free: 36.06 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/5.343, allocations: 3.969 kB / 1.041 GB, free: 36.06 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/5.343, allocations: 0 / 1.041 GB, free: 36.06 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/5.343, allocations: 3.328 kB / 1.041 GB, free: 36.06 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008962/5.352, allocations: 1.994 MB / 1.043 GB, free: 35.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/5.352, allocations: 0 / 1.043 GB, free: 35.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004235/5.356, allocations: 252.9 kB / 1.043 GB, free: 35.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-05/5.357, allocations: 3.875 kB / 1.043 GB, free: 35.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/5.357, allocations: 16 kB / 1.043 GB, free: 35.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002297/5.359, allocations: 1.335 MB / 1.044 GB, free: 34.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/5.359, allocations: 3.906 kB / 1.044 GB, free: 34.57 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006609/5.366, allocations: 1.138 MB / 1.045 GB, free: 34.32 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007157/5.373, allocations: 1.58 MB / 1.047 GB, free: 33.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006639/5.374, allocations: 245.2 kB / 1.047 GB, free: 33.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004365/5.374, allocations: 3.625 kB / 1.047 GB, free: 33.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/5.375, allocations: 41.53 kB / 1.047 GB, free: 33.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/5.375, allocations: 39.61 kB / 1.047 GB, free: 33.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/5.375, allocations: 32.84 kB / 1.047 GB, free: 33.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001487/5.377, allocations: 0.6987 MB / 1.048 GB, free: 33.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008794/5.386, allocations: 1.522 MB / 1.05 GB, free: 33.11 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: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005499/5.391, allocations: 1.321 MB / 1.051 GB, free: 32.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00772/5.399, allocations: 1.536 MB / 1.052 GB, free: 32.65 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/5.399, allocations: 0 / 1.052 GB, free: 32.65 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005425/5.405, allocations: 0.5506 MB / 1.053 GB, free: 32.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003854/5.409, allocations: 377.4 kB / 1.053 GB, free: 32.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006741/5.415, allocations: 2.033 MB / 1.055 GB, free: 32.17 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001589/5.417, allocations: 1.341 MB / 1.057 GB, free: 31.45 MB / 490.7 MB Notification: Performance of SimCode: time 2.765e-06/5.417, allocations: 2.625 kB / 1.057 GB, free: 31.45 MB / 490.7 MB