[: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(Modelica): time 1.03/1.03, allocations: 111.2 MB / 118.2 MB, free: 15.64 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.102/1.132, allocations: 27.49 MB / 145.7 MB, free: 4.18 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/1.266, allocations: 25.17 MB / 170.9 MB, free: 1.836 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.049/4.314, allocations: 1.434 GB / 1.601 GB, free: 34.99 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/4.315, allocations: 66.28 kB / 1.601 GB, free: 34.96 MB / 234.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Interfaces.mo:725:9-730:39:writable] Notification: From here: [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Interfaces.mo:335:3-337: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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 3.586/7.901, allocations: 0.6618 GB / 2.263 GB, free: 15.72 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/7.901, allocations: 14.92 kB / 2.263 GB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/7.902, allocations: 154.6 kB / 2.263 GB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005158/7.907, allocations: 1.006 MB / 2.264 GB, free: 15.31 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002317/7.908, allocations: 48.81 kB / 2.264 GB, free: 15.31 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006539/7.908, allocations: 54.5 kB / 2.264 GB, free: 15.31 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008104/7.916, allocations: 1.986 MB / 2.266 GB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007112/7.924, allocations: 1.652 MB / 2.268 GB, free: 15 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-05/7.924, allocations: 7.469 kB / 2.268 GB, free: 15 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003761/7.924, allocations: 3.562 kB / 2.268 GB, free: 15 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001775/7.924, allocations: 89.27 kB / 2.268 GB, free: 15 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0278/7.952, allocations: 9.167 MB / 2.277 GB, free: 9.809 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004584/7.957, allocations: 1.11 MB / 2.278 GB, free: 9.777 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002439/7.959, allocations: 0.6399 MB / 2.279 GB, free: 9.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8384/8.798, allocations: 135 MB / 2.41 GB, free: 54.71 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/8.798, allocations: 51.44 kB / 2.41 GB, free: 54.67 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 4.689e-06/8.798, allocations: 4 kB / 2.41 GB, free: 54.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=147): time 0.1111/8.909, allocations: 9.287 MB / 2.42 GB, free: 54.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.095e-05/8.909, allocations: 223.2 kB / 2.42 GB, free: 53.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/8.911, allocations: 0.6481 MB / 2.42 GB, free: 53.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005916/8.911, allocations: 25.7 kB / 2.42 GB, free: 53.72 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000341/8.912, allocations: 479.6 kB / 2.421 GB, free: 53.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007548/8.912, allocations: 476.5 kB / 2.421 GB, free: 53.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/8.913, allocations: 0.6562 kB / 2.421 GB, free: 53.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/8.913, allocations: 372.8 kB / 2.422 GB, free: 52.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003375/8.916, allocations: 1.172 MB / 2.423 GB, free: 52.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004007/8.92, allocations: 1.6 MB / 2.424 GB, free: 52.33 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01204/8.932, allocations: 1.907 MB / 2.426 GB, free: 52.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.259e-05/8.932, allocations: 4.531 kB / 2.426 GB, free: 52.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=211) (initialization): time 0.06259/8.995, allocations: 6.588 MB / 2.433 GB, free: 51.99 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/8.995, allocations: 6.375 kB / 2.433 GB, free: 51.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.515e-05/8.995, allocations: 11.84 kB / 2.433 GB, free: 51.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02823/9.023, allocations: 3.317 MB / 2.436 GB, free: 51.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003286/9.027, allocations: 345.5 kB / 2.436 GB, free: 51.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02299/9.05, allocations: 10.14 MB / 2.446 GB, free: 45.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005335/9.055, allocations: 169.1 kB / 2.446 GB, free: 45.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007828/9.056, allocations: 129.9 kB / 2.446 GB, free: 45.73 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: $DER.sink2.ports[1].h_outflow:DUMMY_DER(fixed = false ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real [1] Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: $DER.sink1.ports[1].h_outflow:DUMMY_DER(fixed = false ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real [1] Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: $DER.sink.ports[1].h_outflow:DUMMY_DER(fixed = false ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real [1] Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: $DER.source.ports[1].h_outflow:DUMMY_DER(fixed = false ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe2.flowModel.m_flows[1]:DUMMY_DER(fixed = false ) "mass flow rates between states" type: Real [1] $DER.pipe1.flowModel.rhos_act[1]:DUMMY_DER(fixed = false ) "Actual density per segment" type: Real [1] $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.orifice.zeta_nominal:DUMMY_DER(fixed = false ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 11 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,orifice.state_b.phase,orifice.state_a.phase,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {5 19,5 31,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0009227/9.057, allocations: 171.1 kB / 2.447 GB, free: 45.61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0012/9.058, allocations: 250.3 kB / 2.447 GB, free: 45.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02694/9.085, allocations: 7.976 MB / 2.455 GB, free: 45.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-05/9.085, allocations: 56.12 kB / 2.455 GB, free: 45.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/9.085, allocations: 0 / 2.455 GB, free: 45.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.525e-05/9.085, allocations: 8.062 kB / 2.455 GB, free: 45.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03424/9.12, allocations: 11.38 MB / 2.466 GB, free: 44.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.62e-05/9.12, allocations: 0 / 2.466 GB, free: 44.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002287/9.122, allocations: 230.7 kB / 2.466 GB, free: 44.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02115/9.143, allocations: 4.193 MB / 2.47 GB, free: 43.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006298/9.144, allocations: 49.25 kB / 2.47 GB, free: 43.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0279/9.172, allocations: 10.97 MB / 2.481 GB, free: 37.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/9.172, allocations: 3.141 kB / 2.481 GB, free: 37.12 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02787/9.2, allocations: 6.397 MB / 2.487 GB, free: 33.51 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02819/9.228, allocations: 6.935 MB / 2.494 GB, free: 27.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002076/9.23, allocations: 0.5838 MB / 2.494 GB, free: 26.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009134/9.231, allocations: 0 / 2.494 GB, free: 26.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004542/9.236, allocations: 165.7 kB / 2.495 GB, free: 26.76 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007371/9.236, allocations: 128.2 kB / 2.495 GB, free: 26.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004117/9.237, allocations: 81.8 kB / 2.495 GB, free: 26.63 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0009492/9.238, allocations: 478.5 kB / 2.495 GB, free: 26.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.01107/9.249, allocations: 2.087 MB / 2.497 GB, free: 24.34 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 29 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse22.phase,$cse25.phase,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {5 17,1 1,6 42,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01494/9.264, allocations: 2.696 MB / 2.5 GB, free: 22.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.1891/9.453, allocations: 4.171 MB / 2.504 GB, free: 77.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/9.453, allocations: 0 / 2.504 GB, free: 77.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01367/9.467, allocations: 3.17 MB / 2.507 GB, free: 77.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005967/9.473, allocations: 0.5278 MB / 2.508 GB, free: 77.51 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/9.486, allocations: 4.223 MB / 2.512 GB, free: 76.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002306/9.488, allocations: 1.642 MB / 2.513 GB, free: 76.23 MB / 330.7 MB Notification: Performance of SimCode: time 1.873e-06/9.488, allocations: 0 / 2.513 GB, free: 76.23 MB / 330.7 MB