Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.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.001894/0.001894, 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.001997/0.001997, allocations: 164.4 kB / 24.97 MB, free: 9.125 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.621/1.621, allocations: 177.1 MB / 205.4 MB, free: 5.473 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.218/3.218, allocations: 389.5 MB / 0.6361 GB, free: 12.31 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.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics") translateModel(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/2.968e-05, allocations: 2.312 kB / 0.7759 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.04124/0.04127, allocations: 27.93 MB / 0.8032 GB, free: 9.387 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.03218/0.07345, allocations: 11.96 MB / 0.8149 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00637/0.07982, allocations: 206.2 kB / 0.8151 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.004141/0.08396, allocations: 1.044 MB / 0.8161 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.01209/0.09605, allocations: 3.403 MB / 0.8194 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.009347/0.1054, allocations: 3.149 MB / 0.8225 GB, free: 5.727 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.03892/0.1443, allocations: 26.23 MB / 0.8481 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02344/0.1678, allocations: 10.82 MB / 0.8587 GB, free: 0.5039 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03064/0.1984, allocations: 10.23 MB / 0.8687 GB, free: 6.297 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01601/0.2144, allocations: 6.665 MB / 0.8752 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.004956/0.2194, allocations: 1.047 MB / 0.8762 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008691/0.2281, allocations: 1.99 MB / 0.8781 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of combineBinaries: time 0.02398/0.252, allocations: 12.02 MB / 0.8899 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of replaceArrayConstructors: time 0.009687/0.2617, allocations: 5.867 MB / 0.8956 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.004504/0.2662, allocations: 0.543 MB / 0.8961 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.001201/0.2674, allocations: 119.5 kB / 0.8962 GB, free: 9.961 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: 3345 (1554) * Number of variables: 3345 (649) Notification: Performance of [SIM] Bindings: time 0.08123/0.3487, allocations: 40.9 MB / 0.9362 GB, free: 392 kB / 0.8855 GB Notification: Performance of [SIM] FunctionAlias: time 0.01786/0.3665, allocations: 8.853 MB / 0.9448 GB, free: 7.602 MB / 0.9011 GB Notification: Performance of [SIM] Early Inline: time 0.07895/0.4455, allocations: 41.49 MB / 0.9854 GB, free: 13.94 MB / 0.948 GB Notification: Performance of [SIM] Simplify 1: time 0.008978/0.4544, allocations: 3.506 MB / 0.9888 GB, free: 10.28 MB / 0.948 GB Notification: Performance of [SIM] Alias: time 0.06164/0.5161, allocations: 28.93 MB / 1.017 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of [SIM] Simplify 2: time 0.007108/0.5232, allocations: 3.143 MB / 1.02 GB, free: 8.566 MB / 0.9792 GB Notification: Performance of [SIM] Remove Stream: time 0.006163/0.5294, allocations: 2.705 MB / 1.023 GB, free: 5.711 MB / 0.9792 GB Notification: Performance of [SIM] Detect States: time 0.0133/0.5427, allocations: 7.524 MB / 1.03 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of [SIM] Events: time 0.004663/0.5473, allocations: 2.987 MB / 1.033 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of [SIM] Partitioning: time 0.02499/0.5723, allocations: 11.04 MB / 1.044 GB, free: 15.48 MB / 1.01 GB Notification: Performance of [SIM] Causalize: time 1.032/1.604, allocations: 39.29 MB / 1.082 GB, free: 177.1 MB / 1.011 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.03441/1.638, allocations: 26.58 MB / 1.108 GB, free: 176.9 MB / 1.011 GB Notification: Performance of [INI] Simplify: time 0.03009/1.668, allocations: 14.91 MB / 1.123 GB, free: 169.8 MB / 1.011 GB Notification: Performance of [INI] Inline: time 0.101/1.769, allocations: 54.46 MB / 1.176 GB, free: 134.8 MB / 1.011 GB Notification: Performance of [INI] Partitioning: time 0.002274/1.772, allocations: 423.2 kB / 1.176 GB, free: 134.5 MB / 1.011 GB Notification: Performance of [INI] Cleanup: time 0.02083/1.792, allocations: 11.68 MB / 1.188 GB, free: 125.1 MB / 1.011 GB Notification: Performance of [INI] Causalize: time 0.1195/1.912, allocations: 55.41 MB / 1.242 GB, free: 79.37 MB / 1.011 GB Notification: Performance of [INI] Tearing: time 0.01754/1.929, allocations: 14.52 MB / 1.256 GB, free: 65.47 MB / 1.011 GB Notification: Performance of [SIM] Initialization: time 3.136e-06/1.929, allocations: 0 / 1.256 GB, free: 65.47 MB / 1.011 GB Notification: Performance of [SIM] Remove Dummies: time 0.00014/1.93, allocations: 16.42 kB / 1.256 GB, free: 65.46 MB / 1.011 GB Notification: Performance of [SIM] Tearing: time 0.008526/1.938, allocations: 6.484 MB / 1.262 GB, free: 59.25 MB / 1.011 GB Notification: Performance of [SIM] Categorize: time 0.0001932/1.938, allocations: 26.84 kB / 1.262 GB, free: 59.23 MB / 1.011 GB Notification: Performance of [SIM] Solve: time 0.03351/1.972, allocations: 14.17 MB / 1.276 GB, free: 45.82 MB / 1.011 GB Notification: Performance of [SIM] Jacobian: time 0.05957/2.031, allocations: 42.62 MB / 1.318 GB, free: 4.367 MB / 1.011 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.984e-05/2.031, allocations: 0 / 1.318 GB, free: 4.367 MB / 1.011 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 27 * Number of ODE event partitions: ............... 1 * 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: ............................. 30 (4) {tanDyn.vol.dynBal.UOut, tanDyn.indTanHex.vol.dynBal.UOut, tanDyn.indTanHex.cap.T, tanSte.vol.dynBal.UOut} * Number of discrete states: .................... 2 (2) {mHex_flow_in.T_start, mHex_flow_in.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {$SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_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: ........... 912 (scalar:900, array:12, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 168 (resizable: 160, generic: 0, entwined:8) * 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: ........... 1024 (scalar:1010, array:14, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:4) * Number of for-loop strong components: ......... 315 (resizable: 307, generic: 0, entwined:8) * 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: ........... 1024 (scalar:1010, array:14, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:4) * Number of for-loop strong components: ......... 315 (resizable: 307, generic: 0, entwined:8) * Number of algebraic-loop strong components: ... 3 (linear: 0, nonlinear:3) Notification: Performance of backend: time 0.0007719/2.032, allocations: 0.4971 MB / 1.318 GB, free: 3.879 MB / 1.011 GB Notification: Performance of SimCode: time 0.1525/2.185, allocations: 70.59 MB / 1.387 GB, free: 15 MB / 1.089 GB Notification: Performance of Templates: time 0.8523/3.037, allocations: 124.8 MB / 1.509 GB, free: 284.8 MB / 1.182 GB " [Timeout remaining time 297] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.makefile [Timeout 300] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.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_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Buildings_13_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.o Buildings_13_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.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_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Buildings_13_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics_functions.o Buildings_13_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics_functions.c Buildings_13_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics_functions.c:5359:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 5359 | real_array_copy_data((0.5) * ((&data->localData[0]->realVars[2227] /* tanSte.indTanHex.vol[1].dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp40); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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.HeatExchangerDynamics_functions.c:7700:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 7700 | real_array_copy_data((0.5) * ((&data->localData[0]->realVars[949] /* tanDyn.indTanHex.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); | ^ Buildings_13_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics_functions.c:7778:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 7778 | real_array_copy_data((0.3333333333333333) * ((&data->localData[0]->realVars[340] /* tanDyn.vol[1].dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp76); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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.HeatExchangerDynamics_functions.c:7844:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 7844 | real_array_copy_data((0.3333333333333333) * ((&data->localData[0]->realVars[1602] /* tanSte.vol[1].dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp77); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ^ 4 errors generated. make: *** [: Buildings_13_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 10.043667047284544]