Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.Examples.Stratified.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.001815/0.001815, 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.001962/0.001962, allocations: 158.2 kB / 24.97 MB, free: 8.609 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.665/1.665, allocations: 177.1 MB / 205.4 MB, free: 4.465 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.231/3.231, allocations: 389.5 MB / 0.6361 GB, free: 13.35 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.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Examples.Stratified") translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Examples.Stratified") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.237e-05/3.237e-05, allocations: 10.19 kB / 0.776 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.Stratified): time 0.02637/0.02641, allocations: 16.7 MB / 0.7923 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.02114/0.04754, allocations: 7.03 MB / 0.7991 GB, free: 6.098 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005437/0.05298, allocations: 107.2 kB / 0.7992 GB, free: 5.992 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.003237/0.05622, allocations: 0.5778 MB / 0.7998 GB, free: 5.41 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.007482/0.0637, allocations: 1.817 MB / 0.8016 GB, free: 3.582 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.005651/0.06935, allocations: 1.727 MB / 0.8033 GB, free: 1.852 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.5425/0.6118, allocations: 13.05 MB / 0.816 GB, free: 18.82 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01927/0.6311, allocations: 6.715 MB / 0.8226 GB, free: 16.42 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02296/0.6541, allocations: 5.47 MB / 0.8279 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01499/0.6691, allocations: 3.646 MB / 0.8315 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.003675/0.6727, allocations: 0.5949 MB / 0.8321 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007377/0.6801, allocations: 1.251 MB / 0.8333 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of combineBinaries: time 0.01406/0.6942, allocations: 6.306 MB / 0.8394 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of replaceArrayConstructors: time 0.004123/0.6983, allocations: 2.902 MB / 0.8423 GB, free: 8.988 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.002481/0.7008, allocations: 327.4 kB / 0.8426 GB, free: 8.988 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.0008557/0.7016, allocations: 70.92 kB / 0.8426 GB, free: 8.977 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: 2145 (1014) * Number of variables: 2145 (365) Notification: Performance of [SIM] Bindings: time 0.03756/0.7392, allocations: 21.82 MB / 0.864 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of [SIM] FunctionAlias: time 0.01087/0.7501, allocations: 4.758 MB / 0.8686 GB, free: 2.812 MB / 0.7761 GB Notification: Performance of [SIM] Early Inline: time 0.05111/0.8012, allocations: 24.1 MB / 0.8921 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of [SIM] Simplify 1: time 0.0058/0.807, allocations: 2.216 MB / 0.8943 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of [SIM] Alias: time 0.03517/0.8421, allocations: 16.41 MB / 0.9103 GB, free: 7.957 MB / 0.823 GB Notification: Performance of [SIM] Simplify 2: time 0.004016/0.8462, allocations: 1.88 MB / 0.9122 GB, free: 6.023 MB / 0.823 GB Notification: Performance of [SIM] Remove Stream: time 0.003/0.8492, allocations: 1.57 MB / 0.9137 GB, free: 4.379 MB / 0.823 GB Notification: Performance of [SIM] Detect States: time 0.006188/0.8554, allocations: 4.46 MB / 0.918 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of [SIM] Events: time 0.002282/0.8576, allocations: 1.729 MB / 0.9197 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of [SIM] Partitioning: time 0.01157/0.8692, allocations: 6.735 MB / 0.9263 GB, free: 7.18 MB / 0.8386 GB Notification: Performance of [SIM] Causalize: time 0.05242/0.9216, allocations: 25.88 MB / 0.9516 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.02468/0.9463, allocations: 15.88 MB / 0.9671 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of [INI] Simplify: time 0.01592/0.9622, allocations: 7.621 MB / 0.9745 GB, free: 6.273 MB / 0.8855 GB Notification: Performance of [INI] Inline: time 0.05871/1.021, allocations: 32.8 MB / 1.007 GB, free: 5.66 MB / 0.9167 GB Notification: Performance of [INI] Partitioning: time 0.001317/1.022, allocations: 286.7 kB / 1.007 GB, free: 5.312 MB / 0.9167 GB Notification: Performance of [INI] Cleanup: time 0.01201/1.034, allocations: 6.949 MB / 1.014 GB, free: 14.41 MB / 0.9323 GB Notification: Performance of [INI] Causalize: time 0.07343/1.108, allocations: 34.09 MB / 1.047 GB, free: 13.1 MB / 0.9636 GB Notification: Performance of [INI] Tearing: time 0.0009185/1.109, allocations: 0.918 MB / 1.048 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of [SIM] Initialization: time 2.144e-06/1.109, allocations: 0 / 1.048 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of [SIM] Remove Dummies: time 8.246e-05/1.109, allocations: 10.31 kB / 1.048 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of [SIM] Tearing: time 0.0003477/1.109, allocations: 411.9 kB / 1.048 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of [SIM] Categorize: time 4.169e-05/1.109, allocations: 12 kB / 1.048 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of [SIM] Solve: time 0.02321/1.132, allocations: 8.071 MB / 1.056 GB, free: 3.656 MB / 0.9636 GB Notification: Performance of [SIM] Jacobian: time 0.04217/1.174, allocations: 20.9 MB / 1.077 GB, free: 14.51 MB / 0.9948 GB Notification: Performance of [SIM] Minimize Homotopy System: time 1.241e-05/1.174, allocations: 4 kB / 1.077 GB, free: 14.5 MB / 0.9948 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 11 * 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: ............................. 21 (3) {tanSim.vol.dynBal.UOut, tanEnh.vol.dynBal.UOut, dH.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 13 (13) {TWat.a, TWat.b, TWat.last, TWat.nextEvent, TWat.nextEventScaled, P.a, P.b, P.last, P.nextEvent, P.nextEventScaled, $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: ........... 725 (scalar:713, array:12, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 90 (resizable: 86, generic: 0, entwined:4) * 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: ........... 795 (scalar:781, array:14, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 141 (resizable: 137, generic: 0, entwined:4) * 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: ........... 795 (scalar:781, array:14, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 141 (resizable: 137, generic: 0, entwined:4) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0005925/1.175, allocations: 374.9 kB / 1.077 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of SimCode: time 0.0739/1.249, allocations: 35.44 MB / 1.111 GB, free: 10.17 MB / 1.026 GB Notification: Performance of Templates: time 0.1359/1.385, allocations: 59.14 MB / 1.169 GB, free: 15.59 MB / 1.089 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Examples.Stratified.makefile [Timeout 300] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Examples.Stratified.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_Examples_Stratified -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.Examples.Stratified.o Buildings_13_Buildings.Fluid.Storage.Examples.Stratified.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_Examples_Stratified -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.Examples.Stratified_functions.o Buildings_13_Buildings.Fluid.Storage.Examples.Stratified_functions.c Buildings_13_Buildings.Fluid.Storage.Examples.Stratified_functions.c:554:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 554 | if((_next == ((modelica_integer) 1))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_13_Buildings.Fluid.Storage.Examples.Stratified_functions.c:554:17: note: remove extraneous parentheses around the comparison to silence this warning 554 | if((_next == ((modelica_integer) 1))) | ~ ^ ~ Buildings_13_Buildings.Fluid.Storage.Examples.Stratified_functions.c:554:17: note: use '=' to turn this equality comparison into an assignment 554 | if((_next == ((modelica_integer) 1))) | ^~ | = Buildings_13_Buildings.Fluid.Storage.Examples.Stratified_functions.c:706:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 706 | if((_next == ((modelica_integer) 1))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_13_Buildings.Fluid.Storage.Examples.Stratified_functions.c:706:17: note: remove extraneous parentheses around the comparison to silence this warning 706 | if((_next == ((modelica_integer) 1))) | ~ ^ ~ Buildings_13_Buildings.Fluid.Storage.Examples.Stratified_functions.c:706:17: note: use '=' to turn this equality comparison into an assignment 706 | if((_next == ((modelica_integer) 1))) | ^~ | = Buildings_13_Buildings.Fluid.Storage.Examples.Stratified_functions.c:2447:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 2447 | real_array_copy_data((0.3333333333333333) * ((&data->localData[0]->realVars[1146] /* tanEnh.vol[1].dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp25); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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.Examples.Stratified_functions.c:2886:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 2886 | real_array_copy_data((0.3333333333333333) * ((&data->localData[0]->realVars[409] /* tanSim.vol[1].dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 warnings and 2 errors generated. make: *** [: Buildings_13_Buildings.Fluid.Storage.Examples.Stratified_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 8.004722151905298]