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: "" <> buildModelFMU(TAeZoSysPro.FluidDynamics.Components.Orifices.SimpleOpeningComp,fileNamePrefix="TAeZoSysPro_TAeZoSysPro_FluidDynamics_Components_Orifices_SimpleOpeningComp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro.FluidDynamics.Components.Orifices.SimpleOpeningComp,fileNamePrefix="TAeZoSysPro_TAeZoSysPro_FluidDynamics_Components_Orifices_SimpleOpeningComp",fmuType="me",version="2.0",platforms={"static"}) [: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.003526/0.003526, allocations: 181.8 kB / 7.46 MB, free: 2.5 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.515/1.515, allocations: 205.2 MB / 213.1 MB, free: 13.84 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.00102/0.00102, allocations: 99.22 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06208/0.06208, allocations: 10.88 MB / 319.9 MB, free: 2.555 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2256/0.2878, allocations: 55.87 MB / 375.8 MB, free: 77.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09378/0.3816, allocations: 49.76 MB / 425.5 MB, free: 27.92 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7684/1.15, allocations: 350.5 MB / 0.7578 GB, free: 46.53 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/1.15, allocations: 73.45 kB / 0.7579 GB, free: 46.49 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.06234/1.213, allocations: 30.25 MB / 0.7874 GB, free: 21.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/1.213, allocations: 12 kB / 0.7874 GB, free: 21.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/1.213, allocations: 11.84 kB / 0.7874 GB, free: 21.81 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/1.213, allocations: 178.8 kB / 0.7876 GB, free: 21.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/1.213, allocations: 4 kB / 0.7876 GB, free: 21.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/1.213, allocations: 4 kB / 0.7876 GB, free: 21.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002917/1.213, allocations: 156 kB / 0.7878 GB, free: 21.44 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/1.214, allocations: 160.8 kB / 0.7879 GB, free: 21.28 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/1.214, allocations: 4 kB / 0.7879 GB, free: 21.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/1.214, allocations: 0 / 0.7879 GB, free: 21.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/1.214, allocations: 4 kB / 0.7879 GB, free: 21.27 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.0004252/1.214, allocations: 237.8 kB / 0.7881 GB, free: 21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/1.214, allocations: 174.5 kB / 0.7883 GB, free: 20.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/1.214, allocations: 124.8 kB / 0.7884 GB, free: 20.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.42e-05/1.215, allocations: 15.92 kB / 0.7884 GB, free: 20.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/1.215, allocations: 34.56 kB / 0.7885 GB, free: 20.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=26): time 1.162e-06/1.215, allocations: 4 kB / 0.7885 GB, free: 20.63 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! Error: Internal error SimCode: The model TAeZoSysPro.FluidDynamics.Components.Orifices.SimpleOpeningComp could not be translated to FMU