Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr TAeZoSysPro_TAeZoSysPro.FluidDynamics.Components.Orifices.SimpleOpeningComp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(TAeZoSysPro.FluidDynamics.Components.Orifices.SimpleOpeningComp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_TAeZoSysPro.FluidDynamics.Components.Orifices.SimpleOpeningComp") translateModel(TAeZoSysPro.FluidDynamics.Components.Orifices.SimpleOpeningComp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_TAeZoSysPro.FluidDynamics.Components.Orifices.SimpleOpeningComp") [: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/Complex 3.2.3+maint.om/package.mo): time 0.003957/0.003957, allocations: 179.2 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.2 MB / 213.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008987/0.0008987, allocations: 96.16 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06193/0.06193, allocations: 10.88 MB / 319.9 MB, free: 2.566 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.223e-06/7.243e-06, allocations: 0 / 375.7 MB, free: 77.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1137, allocations: 49.76 MB / 425.4 MB, free: 28.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8421/0.9559, allocations: 350.5 MB / 0.7577 GB, free: 46.75 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003587/0.9563, allocations: 79.56 kB / 0.7578 GB, free: 46.71 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.06548/1.022, allocations: 29.75 MB / 0.7868 GB, free: 22.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/1.022, allocations: 0 / 0.7868 GB, free: 22.57 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001161/1.023, allocations: 0.498 MB / 0.7873 GB, free: 22.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.023, allocations: 8.031 kB / 0.7873 GB, free: 22.02 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.408e-05/1.023, allocations: 11.91 kB / 0.7873 GB, free: 22 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/1.023, allocations: 186.8 kB / 0.7875 GB, free: 21.78 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/1.023, allocations: 0 / 0.7875 GB, free: 21.78 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/1.023, allocations: 11.98 kB / 0.7875 GB, free: 21.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003134/1.024, allocations: 156 kB / 0.7877 GB, free: 21.62 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/1.024, allocations: 144.9 kB / 0.7878 GB, free: 21.47 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.024, allocations: 0 / 0.7878 GB, free: 21.47 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/1.024, allocations: 3.984 kB / 0.7878 GB, free: 21.47 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/1.024, allocations: 0 / 0.7878 GB, free: 21.47 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/FluidDynamics/Interfaces/FlowPort_a.mo:3:1-11:15:writable] Error: Found equation without time-dependent variables: port_b.m_flow[1] = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/1.024, allocations: 233.8 kB / 0.788 GB, free: 21.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/1.025, allocations: 194.4 kB / 0.7882 GB, free: 21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/1.025, allocations: 124.8 kB / 0.7883 GB, free: 20.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.311e-05/1.025, allocations: 11.98 kB / 0.7884 GB, free: 20.87 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/1.025, allocations: 34.56 kB / 0.7884 GB, free: 20.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/1.025, allocations: 0 / 0.7884 GB, free: 20.82 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/FluidDynamics/Interfaces/FlowPort_b.mo:3:1-11:15:writable] Error: Model is structurally singular, error found sorting equations 25: port_b.H_flow = 0.0; 22: port_a.H_flow + port_b.H_flow = 0.0; 23: port_a.H_flow = 0.0; 26: port_b.m_flow[1] = 0.0; 20: port_a.m_flow[1] + port_b.m_flow[1] = 0.0; 24: port_a.m_flow[1] = 0.0; for variables M(18), state_upstream.p(16), gamma(19), port_a.d[1](9), state_a.T(13), T(17), m_flow(23), c(24) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed!