Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr TAeZoSysPro_TAeZoSysPro.FluidDynamics.Components.Orifices.OpeningAnalytic.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.OpeningAnalytic,fileNamePrefix="TAeZoSysPro_TAeZoSysPro_FluidDynamics_Components_Orifices_OpeningAnalytic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro.FluidDynamics.Components.Orifices.OpeningAnalytic,fileNamePrefix="TAeZoSysPro_TAeZoSysPro_FluidDynamics_Components_Orifices_OpeningAnalytic",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.003337/0.003337, allocations: 188 kB / 7.461 MB, free: 2.523 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.432/1.432, allocations: 205.2 MB / 213.1 MB, free: 13.9 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.0009825/0.0009821, allocations: 94.34 kB / 261.1 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06069/0.06069, allocations: 10.86 MB / 319.9 MB, free: 2.57 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2297/0.2904, allocations: 55.87 MB / 375.7 MB, free: 77.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09783/0.3883, allocations: 49.77 MB / 425.5 MB, free: 27.91 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.806/1.194, allocations: 359.8 MB / 0.7669 GB, free: 35.39 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/1.195, allocations: 76.17 kB / 0.767 GB, free: 35.35 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.05883/1.254, allocations: 29.1 MB / 0.7954 GB, free: 11.11 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/1.254, allocations: 8 kB / 0.7954 GB, free: 11.1 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.885e-05/1.254, allocations: 11.91 kB / 0.7955 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/1.254, allocations: 174.9 kB / 0.7956 GB, free: 10.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/1.254, allocations: 4 kB / 0.7956 GB, free: 10.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/1.254, allocations: 4 kB / 0.7956 GB, free: 10.87 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002657/1.254, allocations: 139.9 kB / 0.7958 GB, free: 10.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/1.254, allocations: 141.5 kB / 0.7959 GB, free: 10.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/1.254, allocations: 0 / 0.7959 GB, free: 10.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/1.254, allocations: 0 / 0.7959 GB, free: 10.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001451/1.255, allocations: 27.98 kB / 0.7959 GB, free: 10.56 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.000571/1.255, allocations: 253.8 kB / 0.7962 GB, free: 10.28 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/1.255, allocations: 162.5 kB / 0.7963 GB, free: 10.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/1.256, allocations: 136.8 kB / 0.7965 GB, free: 9.973 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.606e-05/1.256, allocations: 8 kB / 0.7965 GB, free: 9.965 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/1.256, allocations: 38.5 kB / 0.7965 GB, free: 9.918 MB / 442.7 MB Notification: Performance of pre-optimization done (n=26): time 2.384e-06/1.256, allocations: 3.938 kB / 0.7965 GB, free: 9.914 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 port_a.H_flow(7), state_a.T(15), state_a.p(16), port_b.d[1](5), state_b.T(13), rho_A(23), dp(24) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Error: Internal error SimCode: The model TAeZoSysPro.FluidDynamics.Components.Orifices.OpeningAnalytic could not be translated to FMU