Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr TAeZoSysPro_TAeZoSysPro.FluidDynamics.Components.Pipes.DynamicPipe.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.Pipes.DynamicPipe,fileNamePrefix="TAeZoSysPro_TAeZoSysPro_FluidDynamics_Components_Pipes_DynamicPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro.FluidDynamics.Components.Pipes.DynamicPipe,fileNamePrefix="TAeZoSysPro_TAeZoSysPro_FluidDynamics_Components_Pipes_DynamicPipe",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.003043/0.003043, allocations: 180.3 kB / 7.458 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.504/1.504, 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.0009442/0.0009442, allocations: 91.02 kB / 261.1 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06406/0.06406, allocations: 10.87 MB / 319.9 MB, free: 2.641 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2342/0.2983, allocations: 55.87 MB / 375.8 MB, free: 77.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09811/0.3965, allocations: 49.77 MB / 425.5 MB, free: 27.92 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8204/1.217, allocations: 371.4 MB / 0.7782 GB, free: 26.33 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/1.217, allocations: 71.66 kB / 0.7783 GB, free: 26.29 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.2795/1.497, allocations: 35.02 MB / 0.8125 GB, free: 154.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/1.497, allocations: 7.812 kB / 0.8125 GB, free: 154.6 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/1.497, allocations: 18.72 kB / 0.8125 GB, free: 154.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/1.497, allocations: 231.5 kB / 0.8127 GB, free: 154.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/1.497, allocations: 3.875 kB / 0.8127 GB, free: 154.4 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/1.497, allocations: 7.344 kB / 0.8127 GB, free: 154.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003132/1.498, allocations: 178.2 kB / 0.8129 GB, free: 154.4 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/1.498, allocations: 253.6 kB / 0.8132 GB, free: 154.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/1.498, allocations: 4.094 kB / 0.8132 GB, free: 154.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/1.498, allocations: 0 / 0.8132 GB, free: 154.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.82e-05/1.498, allocations: 20.33 kB / 0.8132 GB, free: 154.3 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:24:3-42:18:writable] Error: Found equation without time-dependent variables: port_b.m_flow = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008548/1.499, allocations: 0.6062 MB / 0.8138 GB, free: 153.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005361/1.499, allocations: 455.3 kB / 0.8142 GB, free: 153.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/1.5, allocations: 174.8 kB / 0.8144 GB, free: 153.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006032/1.5, allocations: 444.2 kB / 0.8148 GB, free: 153.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/1.5, allocations: 38.38 kB / 0.8148 GB, free: 153.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=26): time 2.164e-06/1.5, allocations: 0 / 0.8148 GB, free: 153.1 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/FluidDynamics/Components/Pipes/DynamicPipe.mo:96:3-96:38:writable] Error: Model is structurally singular, error found sorting equations 22: L = 0.0; 25: 0.0 = 0.0; 26: L = 0.0; for variables port_a.m_flow(21), port_b.p(17), transport[1].CoeffSpaceDer(14), m_flow(22), d_b(25), d_a(26) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Error: Internal error SimCode: The model TAeZoSysPro.FluidDynamics.Components.Pipes.DynamicPipe could not be translated to FMU