[: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.169/1.169, allocations: 111.2 MB / 118.2 MB, free: 15.64 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1287/1.298, allocations: 27.49 MB / 145.7 MB, free: 4.184 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/1.459, allocations: 25.16 MB / 170.8 MB, free: 1.84 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6065/2.066, allocations: 246.5 MB / 417.3 MB, free: 27.78 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/2.066, allocations: 65.91 kB / 417.4 MB, free: 27.75 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 1.254/3.32, allocations: 229.8 MB / 0.632 GB, free: 24.19 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/3.32, allocations: 11.5 kB / 0.632 GB, free: 24.19 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007763/3.321, allocations: 144.5 kB / 0.6321 GB, free: 24.12 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002764/3.324, allocations: 0.8079 MB / 0.6329 GB, free: 23.85 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003164/3.324, allocations: 180.7 kB / 0.6331 GB, free: 23.72 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002881/3.325, allocations: 54.66 kB / 0.6332 GB, free: 23.72 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003316/3.328, allocations: 1.076 MB / 0.6342 GB, free: 23.71 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003447/3.331, allocations: 1.264 MB / 0.6354 GB, free: 23.5 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.209e-05/3.331, allocations: 2.812 kB / 0.6354 GB, free: 23.5 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000222/3.332, allocations: 3.781 kB / 0.6355 GB, free: 23.5 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001142/3.332, allocations: 75.14 kB / 0.6355 GB, free: 23.5 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01544/3.347, allocations: 5.87 MB / 0.6413 GB, free: 20.71 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/3.35, allocations: 0.6811 MB / 0.6419 GB, free: 20.69 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/3.351, allocations: 0.4883 MB / 0.6424 GB, free: 20.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008333/3.359, allocations: 3.344 MB / 0.6457 GB, free: 18.64 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001406/3.361, allocations: 0.5526 MB / 0.6462 GB, free: 18.55 MB / 250.7 MB Notification: Performance of pre-optimization done (n=74): time 4.318e-06/3.361, allocations: 3.312 kB / 0.6462 GB, free: 18.55 MB / 250.7 MB Notification: Performance of matching and sorting (n=99): time 0.3305/3.691, allocations: 11.41 MB / 0.6573 GB, free: 17 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/3.692, allocations: 243.1 kB / 0.6576 GB, free: 16.72 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/3.693, allocations: 0.6334 MB / 0.6582 GB, free: 16.59 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004112/3.693, allocations: 29.36 kB / 0.6582 GB, free: 16.55 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003921/3.694, allocations: 454.2 kB / 0.6587 GB, free: 16.27 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005497/3.694, allocations: 328.7 kB / 0.659 GB, free: 16.05 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/3.695, allocations: 0 / 0.659 GB, free: 16.05 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001876/3.695, allocations: 413 kB / 0.6594 GB, free: 15.74 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001992/3.697, allocations: 0.6722 MB / 0.66 GB, free: 15.74 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002316/3.699, allocations: 1.069 MB / 0.6611 GB, free: 15.27 MB / 250.7 MB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 0.02268/3.722, allocations: 3.781 MB / 0.6648 GB, free: 15.24 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.67e-05/3.722, allocations: 8.922 kB / 0.6648 GB, free: 15.24 MB / 250.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Blocks/Logical.mo:839:9-841:38:writable] Error: Initialization problem is structurally singular, error found sorting equations 104: PumpRPMGenerator.T = if controller.y and not PumpRPMGenerator.rising > 0.0 or not controller.y and not PumpRPMGenerator.falling > 0.0 or not abs(PumpRPMGenerator.amplitude) > 0.0 or true then time else time + (PumpRPMGenerator.endValue - $PRE.PumpRPMGenerator.y) / PumpRPMGenerator.rate; 103: PumpRPMGenerator.rate = if controller.y and PumpRPMGenerator.rising > 0.0 then PumpRPMGenerator.amplitude / PumpRPMGenerator.rising else if not controller.y and PumpRPMGenerator.falling > 0.0 then (-PumpRPMGenerator.amplitude) / PumpRPMGenerator.falling else 0.0; 102: PumpRPMGenerator.endValue = if controller.y then PumpRPMGenerator.offset + PumpRPMGenerator.amplitude else PumpRPMGenerator.offset; 99: PumpRPMGenerator.y = if time < PumpRPMGenerator.T then PumpRPMGenerator.endValue + (time - PumpRPMGenerator.T) * PumpRPMGenerator.rate else PumpRPMGenerator.endValue; 3: $PRE.PumpRPMGenerator.y = 0.0; 5: $PRE.PumpRPMGenerator.y = PumpRPMGenerator.y; for variables $DER.$STATESET1.x[1](89), $DER.reservoir.medium.T(53), pumps.W_single(57), pumps.medium.p(75), $DER.pumps.N(109), $DER.pumps.medium.h(111), reservoir.portAreas[1](5) Error: No system for the symbolic initialization was generated Error: Internal error SimCode: The model Modelica.Fluid.Examples.PumpingSystem could not be translated to FMU