Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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/Complex 4.0.0+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/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 2.436e-05/2.437e-05, allocations: 2.281 kB / 0.5922 GB, free: 18.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01279/0.01283, allocations: 14.24 MB / 0.6061 GB, free: 4.762 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004316/0.01719, allocations: 3.183 MB / 0.6093 GB, free: 1.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006559/0.01788, allocations: 19.88 kB / 0.6093 GB, free: 1.551 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008059/0.0187, allocations: 198.7 kB / 0.6095 GB, free: 1.355 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.02041, allocations: 0.5713 MB / 0.61 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.02143, allocations: 325.2 kB / 0.6103 GB, free: 480 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001931/0.02337, allocations: 1.208 MB / 0.6115 GB, free: 15.26 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006685/0.02405, allocations: 327.6 kB / 0.6118 GB, free: 14.93 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.02573, allocations: 432.2 kB / 0.6122 GB, free: 14.51 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005348/0.02628, allocations: 310.7 kB / 0.6125 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.313e-05/0.02634, allocations: 28 kB / 0.6126 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007993/0.02715, allocations: 315.3 kB / 0.6129 GB, free: 13.87 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0006183/0.02777, allocations: 0.688 MB / 0.6135 GB, free: 13.18 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003134/0.02809, allocations: 438.1 kB / 0.6139 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.02821, allocations: 75.75 kB / 0.614 GB, free: 12.67 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0001028/0.02832, allocations: 8 kB / 0.614 GB, free: 12.66 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 (58) * Number of variables: 58 (58) Notification: Performance of Bindings: time 0.001916/0.03025, allocations: 1.875 MB / 0.6159 GB, free: 10.67 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.0001451/0.0304, allocations: 90.5 kB / 0.6159 GB, free: 10.58 MB / 462.1 MB Notification: Performance of Early Inline: time 0.0008053/0.03121, allocations: 0.7675 MB / 0.6167 GB, free: 9.789 MB / 462.1 MB Notification: Performance of simplify1: time 5.875e-05/0.03128, allocations: 51.94 kB / 0.6167 GB, free: 9.738 MB / 462.1 MB Notification: Performance of Alias: time 0.001596/0.03288, allocations: 1.381 MB / 0.6181 GB, free: 8.219 MB / 462.1 MB Notification: Performance of simplify2: time 4.635e-05/0.03296, allocations: 39.95 kB / 0.6181 GB, free: 8.18 MB / 462.1 MB Notification: Performance of Events: time 0.0001678/0.03313, allocations: 92.02 kB / 0.6182 GB, free: 8.09 MB / 462.1 MB Notification: Performance of Detect States: time 0.0003016/0.03344, allocations: 230.2 kB / 0.6184 GB, free: 7.852 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0002493/0.0337, allocations: 212.4 kB / 0.6186 GB, free: 7.613 MB / 462.1 MB Notification: Performance of Causalize: time 0.001288/0.035, allocations: 1.127 MB / 0.6197 GB, free: 6.469 MB / 462.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004797/0.03549, allocations: 470.7 kB / 0.6202 GB, free: 5.98 MB / 462.1 MB Notification: Performance of Inline: time 0.001063/0.03656, allocations: 0.9622 MB / 0.6211 GB, free: 4.992 MB / 462.1 MB Notification: Performance of Partitioning: time 7.72e-05/0.03664, allocations: 54.36 kB / 0.6212 GB, free: 4.93 MB / 462.1 MB Notification: Performance of Cleanup: time 4.041e-05/0.03669, allocations: 35.91 kB / 0.6212 GB, free: 4.895 MB / 462.1 MB Notification: Performance of Causalize: time 0.001595/0.03829, allocations: 1.534 MB / 0.6227 GB, free: 3.367 MB / 462.1 MB Notification: Performance of Tearing: time 8.676e-06/0.03831, allocations: 0 / 0.6227 GB, free: 3.367 MB / 462.1 MB Notification: Performance of Initialization: time 2.765e-06/0.03832, allocations: 0 / 0.6227 GB, free: 3.367 MB / 462.1 MB Notification: Performance of Tearing: time 2.685e-06/0.03833, allocations: 3.938 kB / 0.6227 GB, free: 3.363 MB / 462.1 MB Notification: Performance of Categorize: time 1.443e-05/0.03835, allocations: 0 / 0.6227 GB, free: 3.363 MB / 462.1 MB Notification: Performance of Solve: time 0.0003095/0.03866, allocations: 197.9 kB / 0.6229 GB, free: 3.168 MB / 462.1 MB Notification: Performance of Jacobian: time 0.0005181/0.03919, allocations: 420.1 kB / 0.6233 GB, free: 2.715 MB / 462.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 3 (3) {expVes.m, expVes.H, vol.dynBal.U} * Number of discrete states: .................... 2 (2) {pulse.T_start, pulse.count} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 6 (6) {$SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 31 (scalar:29, array:2, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 50 (scalar:47, array:3, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 6.196e-05/0.03926, allocations: 36.27 kB / 0.6233 GB, free: 2.688 MB / 462.1 MB Notification: Performance of SimCode: time 0.00294/0.04221, allocations: 2.248 MB / 0.6255 GB, free: 408 kB / 462.1 MB Notification: Performance of Templates: time 0.008421/0.05065, allocations: 4.123 MB / 0.6296 GB, free: 12.29 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_3_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.o Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_3_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel_functions.o Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel_functions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_3_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel_records.o Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_3_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel_01exo.o Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_3_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel_02nls.o Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel_02nls.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_3_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel_03lsy.o Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel_03lsy.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_3_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel_04set.o Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel_04set.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_3_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel_05evt.o Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel_05evt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_3_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel_06inz.o Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel_06inz.c Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel_06inz.c:35:103: error: passing 'modelica_real' (aka 'double') to parameter of incompatible type 'real_array' (aka 'struct base_array_s') (data->localData[0]->realVars[14] /* vol.dynBal.ports[1].m_flow variable */) = div_alloc_real_array((data->localData[0]->realVars[20] /* vol.dynBal.mb_flow variable */), tmp0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/real_array.h:174:57: note: passing argument to parameter 'a' here extern real_array div_alloc_real_array(const real_array a,const real_array b); ^ 1 error generated. make: *** [: Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel_06inz.o] Error 1