Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002463/0.002463, allocations: 80.88 kB / 21.56 MB, free: 2.934 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002872/0.002872, allocations: 163.2 kB / 24.97 MB, free: 8.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.605/1.605, allocations: 177.1 MB / 205.4 MB, free: 4.469 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.357/3.357, allocations: 389.5 MB / 0.6361 GB, free: 13.41 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.327e-05, allocations: 2.312 kB / 0.776 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.01661/0.01663, allocations: 10.32 MB / 0.786 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0115/0.02813, allocations: 4.803 MB / 0.7907 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.02951, allocations: 47.62 kB / 0.7908 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.03066, allocations: 258 kB / 0.791 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003329/0.03399, allocations: 0.8543 MB / 0.7919 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.003306/0.03729, allocations: 0.9815 MB / 0.7928 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.008517/0.04581, allocations: 5.336 MB / 0.798 GB, free: 7.297 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004448/0.05026, allocations: 1.382 MB / 0.7994 GB, free: 5.875 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00658/0.05684, allocations: 1.985 MB / 0.8013 GB, free: 3.891 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003599/0.06044, allocations: 1.314 MB / 0.8026 GB, free: 2.574 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0006815/0.06112, allocations: 132 kB / 0.8027 GB, free: 2.445 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003558/0.06467, allocations: 0.9319 MB / 0.8036 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of combineBinaries: time 0.4374/0.502, allocations: 2.388 MB / 0.806 GB, free: 24.12 MB / 0.7605 GB Notification: Performance of replaceArrayConstructors: time 0.002373/0.5044, allocations: 1.371 MB / 0.8073 GB, free: 23.88 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.5056, allocations: 95.19 kB / 0.8074 GB, free: 23.88 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.0004489/0.506, allocations: 34.34 kB / 0.8074 GB, free: 23.88 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 (197) * Number of variables: 348 (135) Notification: Performance of [SIM] Bindings: time 0.01549/0.5215, allocations: 8.154 MB / 0.8154 GB, free: 22.29 MB / 0.7605 GB Notification: Performance of [SIM] FunctionAlias: time 0.003117/0.5246, allocations: 1.542 MB / 0.8169 GB, free: 22.03 MB / 0.7605 GB Notification: Performance of [SIM] Early Inline: time 0.009428/0.5341, allocations: 5.988 MB / 0.8227 GB, free: 18.78 MB / 0.7605 GB Notification: Performance of [SIM] Simplify 1: time 0.001228/0.5353, allocations: 0.5842 MB / 0.8233 GB, free: 18.51 MB / 0.7605 GB Notification: Performance of [SIM] Alias: time 0.007778/0.5431, allocations: 4.638 MB / 0.8278 GB, free: 16.12 MB / 0.7605 GB Notification: Performance of [SIM] Simplify 2: time 0.00107/0.5442, allocations: 0.5116 MB / 0.8283 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of [SIM] Remove Stream: time 0.0007834/0.5449, allocations: 391.2 kB / 0.8287 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of [SIM] Detect States: time 0.001611/0.5465, allocations: 1.125 MB / 0.8298 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of [SIM] Events: time 0.0003654/0.5469, allocations: 340.3 kB / 0.8301 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of [SIM] Partitioning: time 0.00191/0.5488, allocations: 1.459 MB / 0.8316 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of [SIM] Causalize: time 0.007823/0.5566, allocations: 4.838 MB / 0.8363 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00357/0.5602, allocations: 3.511 MB / 0.8397 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of [INI] Simplify: time 0.004722/0.5649, allocations: 2.494 MB / 0.8422 GB, free: 8.715 MB / 0.7605 GB Notification: Performance of [INI] Inline: time 0.006906/0.5718, allocations: 7.132 MB / 0.8491 GB, free: 4.551 MB / 0.7605 GB Notification: Performance of [INI] Partitioning: time 0.0003098/0.5722, allocations: 71.41 kB / 0.8492 GB, free: 4.5 MB / 0.7605 GB Notification: Performance of [INI] Cleanup: time 0.001599/0.5738, allocations: 1.597 MB / 0.8507 GB, free: 3.469 MB / 0.7605 GB Notification: Performance of [INI] Causalize: time 0.01043/0.5842, allocations: 7.486 MB / 0.8581 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of [INI] Tearing: time 0.000235/0.5844, allocations: 227.1 kB / 0.8583 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of [SIM] Initialization: time 2.345e-06/0.5844, allocations: 0 / 0.8583 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of [SIM] Remove Dummies: time 2.427e-05/0.5844, allocations: 5.312 kB / 0.8583 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of [SIM] Tearing: time 7.744e-05/0.5845, allocations: 87.94 kB / 0.8584 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of [SIM] Categorize: time 3.262e-05/0.5845, allocations: 4 kB / 0.8584 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of [SIM] Solve: time 0.003869/0.5884, allocations: 1.445 MB / 0.8598 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of [SIM] Jacobian: time 0.004465/0.5929, allocations: 2.286 MB / 0.862 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of [SIM] Minimize Homotopy System: time 7.424e-06/0.5929, allocations: 0 / 0.862 GB, free: 11.2 MB / 0.7761 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 1 * Number of algebraic partitions: ............... 6 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 6 (2) {indTanHex.vol.dynBal.UOut, indTanHex.cap.T} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 0 (0) {} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 106 (scalar:106, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 55 (resizable: 53, generic: 0, entwined:2) * 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: ........... 119 (scalar:119, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 104 (resizable: 102, generic: 0, entwined:2) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 119 (scalar:119, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 104 (resizable: 102, generic: 0, entwined:2) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001984/0.5931, allocations: 119.6 kB / 0.8621 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of SimCode: time 0.01956/0.6126, allocations: 9.118 MB / 0.871 GB, free: 1.914 MB / 0.7761 GB Notification: Performance of Templates: time 0.04559/0.6582, allocations: 19.22 MB / 0.8898 GB, free: 14.94 MB / 0.8073 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile [Timeout 300] make -j1 -f Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile clang -O2 -DOM_HAVE_PTHREADS -fPIC -DOM_HAVE_PTHREADS -Wno-error=implicit-function-declaration -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_13_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.o Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.c clang -O2 -DOM_HAVE_PTHREADS -fPIC -DOM_HAVE_PTHREADS -Wno-error=implicit-function-declaration -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_13_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger_functions.o Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger_functions.c Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger_functions.c:3530:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 3530 | real_array_copy_data((0.5) * ((&data->localData[0]->realVars[109] /* indTanHex.vol[1].dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp23); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/generic_array.h:47:76: note: expanded from macro 'real_array_copy_data' 47 | #define real_array_copy_data(src,dst) simple_array_copy_data(src, &dst, sizeof(modelica_real)); | ^~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/generic_array.h:43:48: note: passing argument to parameter 'src' here 43 | void simple_array_copy_data(const base_array_t src, base_array_t* dst, size_t sze); | ^ 1 error generated. make: *** [: Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 7.145959186367691]