Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction",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.393/2.393, allocations: 235.1 MB / 242 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1638/2.557, allocations: 57.2 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/2.841, allocations: 54.86 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9519/3.793, allocations: 329 MB / 0.6671 GB, free: 108.6 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/3.793, allocations: 85.73 kB / 0.6672 GB, free: 108.6 MB / 474.7 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 .... 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.909/5.702, allocations: 329.5 MB / 0.989 GB, free: 57.65 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/5.703, allocations: 11.91 kB / 0.989 GB, free: 57.65 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/5.704, allocations: 183.4 kB / 0.9892 GB, free: 57.57 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00475/5.709, allocations: 1.14 MB / 0.9903 GB, free: 57.29 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/5.709, allocations: 30.22 kB / 0.9903 GB, free: 57.29 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004178/5.71, allocations: 56.03 kB / 0.9904 GB, free: 57.29 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003831/5.713, allocations: 1.197 MB / 0.9916 GB, free: 57.29 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003605/5.717, allocations: 1.301 MB / 0.9928 GB, free: 56.98 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.27e-05/5.717, allocations: 3.656 kB / 0.9928 GB, free: 56.98 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002334/5.717, allocations: 9 kB / 0.9928 GB, free: 56.98 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.968e-05/5.718, allocations: 51.16 kB / 0.9929 GB, free: 56.98 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01415/5.732, allocations: 6.53 MB / 0.9993 GB, free: 53.28 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/5.733, allocations: 454.2 kB / 0.9997 GB, free: 53.25 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009152/5.734, allocations: 291.3 kB / 1 GB, free: 53.25 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03921/5.773, allocations: 17.31 MB / 1.017 GB, free: 36.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006173/5.774, allocations: 260.7 kB / 1.017 GB, free: 36.62 MB / 474.7 MB Notification: Performance of pre-optimization done (n=42): time 4.228e-06/5.774, allocations: 0 / 1.017 GB, free: 36.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=42): time 0.01599/5.79, allocations: 1.073 MB / 1.018 GB, free: 36.53 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.707e-05/5.79, allocations: 272.3 kB / 1.018 GB, free: 36.21 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/5.792, allocations: 0.9221 MB / 1.019 GB, free: 36.06 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.219e-05/5.792, allocations: 25.7 kB / 1.019 GB, free: 36.03 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005431/5.793, allocations: 0.6249 MB / 1.02 GB, free: 35.71 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/5.793, allocations: 152.8 kB / 1.02 GB, free: 35.64 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.923e-05/5.793, allocations: 0 / 1.02 GB, free: 35.64 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/5.793, allocations: 355.3 kB / 1.02 GB, free: 35.33 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007678/5.794, allocations: 247.7 kB / 1.021 GB, free: 35.33 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/5.795, allocations: 0.9261 MB / 1.022 GB, free: 34.44 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01575/5.811, allocations: 1.458 MB / 1.023 GB, free: 34.44 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-05/5.811, allocations: 6.844 kB / 1.023 GB, free: 34.44 MB / 474.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.02345/5.835, allocations: 2.158 MB / 1.025 GB, free: 34.34 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002996/5.838, allocations: 9.044 MB / 1.034 GB, free: 24.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001374/5.838, allocations: 21.69 kB / 1.034 GB, free: 24.92 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.324e-05/5.838, allocations: 33.88 kB / 1.034 GB, free: 24.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004983/5.843, allocations: 437.1 kB / 1.034 GB, free: 24.92 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/5.845, allocations: 1.383 MB / 1.036 GB, free: 23.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/5.848, allocations: 159.4 kB / 1.036 GB, free: 23.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002993/5.848, allocations: 80.95 kB / 1.036 GB, free: 23.69 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/5.848, allocations: 6.25 kB / 1.036 GB, free: 23.69 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01341/5.862, allocations: 1.72 MB / 1.038 GB, free: 23.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.815e-05/5.862, allocations: 23.72 kB / 1.038 GB, free: 23.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.824e-05/5.862, allocations: 38.34 kB / 1.038 GB, free: 23.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/5.864, allocations: 319.9 kB / 1.038 GB, free: 23.67 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007042/5.865, allocations: 0.6567 MB / 1.039 GB, free: 23.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/5.867, allocations: 116.8 kB / 1.039 GB, free: 23.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003767/5.868, allocations: 78.03 kB / 1.039 GB, free: 23.04 MB / 474.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.0005431/5.868, allocations: 202.4 kB / 1.039 GB, free: 38.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004201/5.869, allocations: 119.8 kB / 1.039 GB, free: 38.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/5.88, allocations: 1.767 MB / 1.041 GB, free: 38.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/5.88, allocations: 11.12 kB / 1.041 GB, free: 38.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/5.88, allocations: 0 / 1.041 GB, free: 38.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/5.88, allocations: 9.594 kB / 1.041 GB, free: 38.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/5.89, allocations: 1.998 MB / 1.043 GB, free: 38.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/5.89, allocations: 0 / 1.043 GB, free: 38.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003765/5.894, allocations: 249.9 kB / 1.043 GB, free: 38.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.511e-05/5.894, allocations: 3.719 kB / 1.043 GB, free: 38.28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/5.894, allocations: 13.92 kB / 1.043 GB, free: 38.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002404/5.896, allocations: 1.335 MB / 1.044 GB, free: 37.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/5.896, allocations: 0 / 1.044 GB, free: 37.11 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007211/5.904, allocations: 1.15 MB / 1.046 GB, free: 36.85 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0077/5.911, allocations: 1.576 MB / 1.047 GB, free: 36.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000653/5.912, allocations: 249.5 kB / 1.047 GB, free: 36.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000376/5.912, allocations: 3.812 kB / 1.047 GB, free: 36.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/5.914, allocations: 36.39 kB / 1.047 GB, free: 36.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/5.914, allocations: 43.45 kB / 1.047 GB, free: 36.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/5.914, allocations: 28.25 kB / 1.047 GB, free: 36.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001737/5.916, allocations: 0.7054 MB / 1.048 GB, free: 35.94 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0104/5.926, allocations: 1.517 MB / 1.05 GB, free: 35.64 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.006066/5.932, allocations: 1.331 MB / 1.051 GB, free: 35.26 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008418/5.941, allocations: 1.541 MB / 1.052 GB, free: 35.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/5.941, allocations: 3.406 kB / 1.052 GB, free: 35.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006078/5.947, allocations: 0.5401 MB / 1.053 GB, free: 35.14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004042/5.951, allocations: 372.2 kB / 1.053 GB, free: 35.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007237/5.958, allocations: 2.03 MB / 1.055 GB, free: 34.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001599/5.96, allocations: 1.339 MB / 1.057 GB, free: 33.98 MB / 490.7 MB Notification: Performance of SimCode: time 1.664e-06/5.96, allocations: 3.688 kB / 1.057 GB, free: 33.98 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat does not exist to compare? outputFormat=mat