Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Fluid.Examples.PumpingSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.PumpingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.PumpingSystem") translateModel(Modelica.Fluid.Examples.PumpingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.PumpingSystem") [: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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.778/0.778, allocations: 110.8 MB / 118 MB, free: 14.56 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002083/0.002083, allocations: 148 kB / 143.7 MB, free: 4.895 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 7.214e-06/7.254e-06, allocations: 0 / 173.4 MB, free: 23.06 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05665/0.05667, allocations: 25.17 MB / 198.6 MB, free: 13.95 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5476/0.6044, allocations: 246.5 MB / 445.1 MB, free: 63.64 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001894/0.6046, allocations: 69.28 kB / 445.2 MB, free: 63.63 MB / 234.7 MB Notification: Performance of FrontEnd: time 0.7099/1.315, allocations: 228.2 MB / 0.6576 GB, free: 20.29 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0003218/1.315, allocations: 29.67 kB / 0.6576 GB, free: 20.29 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 0.006853/1.322, allocations: 1.515 MB / 0.6591 GB, free: 19.38 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/1.322, allocations: 8.812 kB / 0.6591 GB, free: 19.38 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/1.323, allocations: 141.4 kB / 0.6592 GB, free: 19.31 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002737/1.326, allocations: 0.7989 MB / 0.66 GB, free: 18.85 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000316/1.326, allocations: 176.8 kB / 0.6602 GB, free: 18.72 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004498/1.327, allocations: 50.06 kB / 0.6602 GB, free: 18.72 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002525/1.329, allocations: 1.089 MB / 0.6613 GB, free: 18.33 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002725/1.332, allocations: 1.267 MB / 0.6625 GB, free: 17.21 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.424e-05/1.332, allocations: 7.375 kB / 0.6626 GB, free: 17.21 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002053/1.332, allocations: 4 kB / 0.6626 GB, free: 17.21 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.862e-05/1.332, allocations: 69.67 kB / 0.6626 GB, free: 17.15 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01093/1.343, allocations: 5.861 MB / 0.6683 GB, free: 11.88 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/1.344, allocations: 0.6785 MB / 0.669 GB, free: 11.26 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007414/1.345, allocations: 495.4 kB / 0.6695 GB, free: 10.82 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004985/1.35, allocations: 3.343 MB / 0.6727 GB, free: 7.16 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008757/1.351, allocations: 0.5629 MB / 0.6733 GB, free: 6.566 MB / 234.7 MB Notification: Performance of pre-optimization done (n=74): time 3.186e-06/1.351, allocations: 4 kB / 0.6733 GB, free: 6.562 MB / 234.7 MB Notification: Performance of matching and sorting (n=99): time 0.2689/1.62, allocations: 11.4 MB / 0.6844 GB, free: 34.62 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/1.62, allocations: 245.7 kB / 0.6847 GB, free: 34.34 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009076/1.621, allocations: 0.6263 MB / 0.6853 GB, free: 34.21 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002254/1.621, allocations: 29.55 kB / 0.6853 GB, free: 34.18 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/1.621, allocations: 457.1 kB / 0.6857 GB, free: 33.95 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003371/1.622, allocations: 333.3 kB / 0.6861 GB, free: 33.78 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.673e-05/1.622, allocations: 0 / 0.6861 GB, free: 33.78 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/1.622, allocations: 415.4 kB / 0.6865 GB, free: 33.46 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009149/1.623, allocations: 0.6696 MB / 0.6871 GB, free: 33.46 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/1.624, allocations: 1.072 MB / 0.6882 GB, free: 33 MB / 234.7 MB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 0.01224/1.636, allocations: 3.783 MB / 0.6919 GB, free: 32.96 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/1.636, allocations: 3.875 kB / 0.6919 GB, free: 32.96 MB / 234.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/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