Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.Humidifier_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.Humidifier_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_Humidifier_u",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/BuildingSystems 2.0.0-master/package.mo): time 0.7106/0.7106, allocations: 141.8 MB / 149.1 MB, free: 13.09 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 182.1 kB / 181.9 MB, free: 9.781 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 221.3 MB / 436 MB, free: 2.188 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009342/0.0009342, allocations: 97.78 kB / 0.507 GB, free: 10.96 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001698/0.001698, allocations: 280.3 kB / 0.5885 GB, free: 7.781 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.377/0.3787, allocations: 89.64 MB / 0.676 GB, free: 168.4 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.5327, allocations: 82.77 MB / 0.7568 GB, free: 119 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.337/3.87, allocations: 1.959 GB / 2.716 GB, free: 16.53 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/3.87, allocations: 91.56 kB / 2.716 GB, free: 16.48 MB / 0.6982 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/Interfaces/PartialTwoPortInterface.mo:28:3-37:46:writable] Error: Type mismatch for positional argument 3 in BuildingSystems.Fluid.Interfaces.Examples.Humidifier_u.Humidifier$hea1.Medium.setState_phX(X=actualStream(port_a.Xi_outflow)). The argument has type: Real expected type: Real[:] Error: Error occurred while flattening model BuildingSystems.Fluid.Interfaces.Examples.Humidifier_u Error: Internal error SimCode: The model BuildingSystems.Fluid.Interfaces.Examples.Humidifier_u could not be translated to FMU