Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.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.001853/0.001853, allocations: 80.88 kB / 21.56 MB, free: 2.926 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.001967/0.001967, allocations: 159.2 kB / 24.97 MB, free: 8.629 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.598/1.598, allocations: 177.1 MB / 205.4 MB, free: 5.48 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.182/3.182, allocations: 389.5 MB / 0.6361 GB, free: 12.34 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.Validation.HeatExchangerLocation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Validation.HeatExchangerLocation") translateModel(Buildings.Fluid.Storage.Validation.HeatExchangerLocation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Validation.HeatExchangerLocation") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.598e-05/3.598e-05, allocations: 5.828 kB / 0.7759 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerLocation): time 0.04092/0.04096, allocations: 27.35 MB / 0.8026 GB, free: 9.992 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.03264/0.0736, allocations: 11.7 MB / 0.8141 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006512/0.08011, allocations: 202.8 kB / 0.8142 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.004429/0.08454, allocations: 1.009 MB / 0.8152 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.01184/0.09638, allocations: 3.277 MB / 0.8184 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00975/0.1061, allocations: 3.131 MB / 0.8215 GB, free: 6.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.04034/0.1465, allocations: 27.06 MB / 0.8479 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03349/0.18, allocations: 12.58 MB / 0.8602 GB, free: 14.95 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03201/0.212, allocations: 10.73 MB / 0.8707 GB, free: 4.234 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01625/0.2282, allocations: 7.047 MB / 0.8776 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.004965/0.2332, allocations: 1.172 MB / 0.8787 GB, free: 12 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008881/0.2421, allocations: 2.099 MB / 0.8808 GB, free: 9.902 MB / 0.8386 GB Notification: Performance of combineBinaries: time 0.02495/0.267, allocations: 12.27 MB / 0.8927 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of replaceArrayConstructors: time 0.009751/0.2768, allocations: 5.748 MB / 0.8984 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.004059/0.2808, allocations: 0.582 MB / 0.8989 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.001004/0.2818, allocations: 119.5 kB / 0.899 GB, free: 7.105 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4015 (1809) * Number of variables: 4015 (632) Notification: Performance of [SIM] Bindings: time 0.08067/0.3625, allocations: 42.79 MB / 0.9408 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of [SIM] FunctionAlias: time 0.01735/0.3798, allocations: 9.525 MB / 0.9501 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of [SIM] Early Inline: time 0.0887/0.4685, allocations: 46.32 MB / 0.9954 GB, free: 3.711 MB / 0.948 GB Notification: Performance of [SIM] Simplify 1: time 0.0124/0.481, allocations: 3.955 MB / 0.9992 GB, free: 15.59 MB / 0.9636 GB Notification: Performance of [SIM] Alias: time 0.06976/0.5507, allocations: 31.34 MB / 1.03 GB, free: 14.79 MB / 0.9948 GB Notification: Performance of [SIM] Simplify 2: time 0.01094/0.5616, allocations: 3.511 MB / 1.033 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of [SIM] Remove Stream: time 0.00739/0.569, allocations: 2.971 MB / 1.036 GB, free: 8 MB / 0.9948 GB Notification: Performance of [SIM] Detect States: time 0.01406/0.5831, allocations: 8.463 MB / 1.044 GB, free: 15.39 MB / 1.01 GB Notification: Performance of [SIM] Events: time 0.00459/0.5877, allocations: 3.065 MB / 1.047 GB, free: 12.33 MB / 1.01 GB Notification: Performance of [SIM] Partitioning: time 0.9284/1.516, allocations: 12.57 MB / 1.06 GB, free: 191.4 MB / 1.011 GB Notification: Performance of [SIM] Causalize: time 0.09974/1.616, allocations: 46.14 MB / 1.105 GB, free: 184.9 MB / 1.011 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.04047/1.656, allocations: 30.4 MB / 1.134 GB, free: 176.1 MB / 1.011 GB Notification: Performance of [INI] Simplify: time 0.02952/1.686, allocations: 15.35 MB / 1.149 GB, free: 168.5 MB / 1.011 GB Notification: Performance of [INI] Inline: time 0.08678/1.773, allocations: 62.49 MB / 1.21 GB, free: 114.5 MB / 1.011 GB Notification: Performance of [INI] Partitioning: time 0.002538/1.775, allocations: 458.1 kB / 1.211 GB, free: 113.9 MB / 1.011 GB Notification: Performance of [INI] Cleanup: time 0.02066/1.796, allocations: 13.25 MB / 1.224 GB, free: 100.8 MB / 1.011 GB Notification: Performance of [INI] Causalize: time 0.1177/1.914, allocations: 64.2 MB / 1.287 GB, free: 38.95 MB / 1.011 GB Notification: Performance of [INI] Tearing: time 0.009663/1.923, allocations: 10 MB / 1.296 GB, free: 29.35 MB / 1.011 GB Notification: Performance of [SIM] Initialization: time 4.108e-06/1.923, allocations: 7.984 kB / 1.296 GB, free: 29.34 MB / 1.011 GB Notification: Performance of [SIM] Remove Dummies: time 0.0001756/1.923, allocations: 18.66 kB / 1.296 GB, free: 29.32 MB / 1.011 GB Notification: Performance of [SIM] Tearing: time 0.005318/1.929, allocations: 4.873 MB / 1.301 GB, free: 24.64 MB / 1.011 GB Notification: Performance of [SIM] Categorize: time 0.0002139/1.929, allocations: 29.56 kB / 1.301 GB, free: 24.62 MB / 1.011 GB Notification: Performance of [SIM] Solve: time 0.04048/1.969, allocations: 16.14 MB / 1.317 GB, free: 9.383 MB / 1.011 GB Notification: Performance of [SIM] Jacobian: time 0.09694/2.066, allocations: 50.47 MB / 1.366 GB, free: 8.152 MB / 1.057 GB Notification: Performance of [SIM] Minimize Homotopy System: time 8.764e-05/2.066, allocations: 3.562 kB / 1.366 GB, free: 8.152 MB / 1.057 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 1 * Number of algebraic partitions: ............... 25 * 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: ............................. 48 (6) {tan_aTop.vol.dynBal.UOut, tan_aTop.indTanHex.vol.dynBal.UOut, tan_aTop.indTanHex.cap.T, tan_bTop.vol.dynBal.UOut, tan_bTop.indTanHex.vol.dynBal.UOut, tan_bTop.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: ........... 1247 (scalar:1235, array:12, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 189 (resizable: 185, generic: 0, entwined:4) * Number of algebraic-loop strong components: ... 3 (linear: 0, nonlinear:3) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1377 (scalar:1363, array:14, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 332 (resizable: 328, generic: 0, entwined:4) * Number of algebraic-loop strong components: ... 3 (linear: 0, nonlinear:3) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1379 (scalar:1365, array:14, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 332 (resizable: 328, generic: 0, entwined:4) * Number of algebraic-loop strong components: ... 3 (linear: 0, nonlinear:3) Notification: Performance of backend: time 0.0009971/2.067, allocations: 0.6329 MB / 1.367 GB, free: 7.523 MB / 1.057 GB Notification: Performance of SimCode: time 0.1681/2.235, allocations: 77.5 MB / 1.442 GB, free: 11.98 MB / 1.136 GB Notification: Performance of Templates: time 0.8741/3.11, allocations: 147.2 MB / 1.586 GB, free: 242.5 MB / 1.182 GB " [Timeout remaining time 297] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.makefile [Timeout 300] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.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_Validation_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Buildings_13_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.o Buildings_13_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.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_Validation_HeatExchangerLocation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Buildings_13_Buildings.Fluid.Storage.Validation.HeatExchangerLocation_functions.o Buildings_13_Buildings.Fluid.Storage.Validation.HeatExchangerLocation_functions.c Buildings_13_Buildings.Fluid.Storage.Validation.HeatExchangerLocation_functions.c:6866:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 6866 | real_array_copy_data((0.3333333333333333) * ((&data->localData[0]->realVars[2084] /* tan_bTop.vol[1].dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp74); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ^ Buildings_13_Buildings.Fluid.Storage.Validation.HeatExchangerLocation_functions.c:6932:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 6932 | real_array_copy_data((0.3333333333333333) * ((&data->localData[0]->realVars[554] /* tan_aTop.vol[1].dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp75); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ^ 2 errors generated. make: *** [: Buildings_13_Buildings.Fluid.Storage.Validation.HeatExchangerLocation_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 10.220386878587306]