Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.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.001916/0.001916, 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.002205/0.002205, allocations: 164 kB / 24.97 MB, free: 8.672 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.62/1.62, allocations: 177.1 MB / 205.4 MB, free: 5.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.134/3.134, allocations: 389.5 MB / 0.6361 GB, free: 12.29 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.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.704e-05, allocations: 2.312 kB / 0.7759 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.07523/0.07526, allocations: 49.1 MB / 0.8239 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.04612/0.1214, allocations: 19.46 MB / 0.8429 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008181/0.1296, allocations: 325.2 kB / 0.8432 GB, free: 464 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.006431/0.136, allocations: 1.707 MB / 0.8449 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.01864/0.1546, allocations: 5.86 MB / 0.8506 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.01485/0.1695, allocations: 5.178 MB / 0.8556 GB, free: 3.656 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.07257/0.242, allocations: 39.24 MB / 0.894 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02209/0.2641, allocations: 8.517 MB / 0.9023 GB, free: 3.723 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0403/0.3044, allocations: 13.73 MB / 0.9157 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01796/0.3224, allocations: 7.908 MB / 0.9234 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.003632/0.326, allocations: 0.7656 MB / 0.9242 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009237/0.3353, allocations: 1.532 MB / 0.9257 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of combineBinaries: time 0.02892/0.3642, allocations: 14.66 MB / 0.94 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of replaceArrayConstructors: time 0.0142/0.3784, allocations: 8.549 MB / 0.9483 GB, free: 4.488 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.004932/0.3833, allocations: 0.5625 MB / 0.9489 GB, free: 3.926 MB / 0.9011 GB Notification: Performance of FrontEnd: time 0.00194/0.3852, allocations: 187.2 kB / 0.9491 GB, free: 3.742 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1232 (956) * Number of variables: 1232 (735) Notification: Performance of [SIM] Bindings: time 0.1017/0.487, allocations: 47.4 MB / 0.9953 GB, free: 3.59 MB / 0.948 GB Notification: Performance of [SIM] FunctionAlias: time 0.01703/0.504, allocations: 7.372 MB / 1.003 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of [SIM] Early Inline: time 0.06778/0.5718, allocations: 32.58 MB / 1.034 GB, free: 11.53 MB / 0.9948 GB Notification: Performance of [SIM] Simplify 1: time 0.008996/0.5808, allocations: 2.937 MB / 1.037 GB, free: 8.43 MB / 0.9948 GB Warning: NBAlias.selectStartByConfidence: Alias set with conflicting unfixed start values of equal confidence detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.8818/1.463, allocations: 24.23 MB / 1.061 GB, free: 157.3 MB / 1.011 GB Notification: Performance of [SIM] Simplify 2: time 0.004743/1.467, allocations: 2.144 MB / 1.063 GB, free: 157 MB / 1.011 GB Notification: Performance of [SIM] Remove Stream: time 0.003799/1.471, allocations: 1.82 MB / 1.065 GB, free: 156.6 MB / 1.011 GB Notification: Performance of [SIM] Detect States: time 0.009787/1.481, allocations: 5.643 MB / 1.07 GB, free: 156.1 MB / 1.011 GB Notification: Performance of [SIM] Events: time 0.003252/1.484, allocations: 2.027 MB / 1.072 GB, free: 156 MB / 1.011 GB Notification: Performance of [SIM] Partitioning: time 0.01492/1.499, allocations: 7.438 MB / 1.08 GB, free: 154.6 MB / 1.011 GB Notification: Performance of [SIM] Causalize: time 0.0405/1.54, allocations: 21.88 MB / 1.101 GB, free: 151.7 MB / 1.011 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.02246/1.562, allocations: 18.01 MB / 1.118 GB, free: 151.7 MB / 1.011 GB Notification: Performance of [INI] Simplify: time 0.02532/1.587, allocations: 14.64 MB / 1.133 GB, free: 144.7 MB / 1.011 GB Notification: Performance of [INI] Inline: time 0.05215/1.64, allocations: 38.97 MB / 1.171 GB, free: 120.5 MB / 1.011 GB Notification: Performance of [INI] Partitioning: time 0.001807/1.641, allocations: 397.4 kB / 1.171 GB, free: 120.2 MB / 1.011 GB Notification: Performance of [INI] Cleanup: time 0.00582/1.647, allocations: 5.355 MB / 1.176 GB, free: 116.4 MB / 1.011 GB Notification: Performance of [INI] Causalize: time 0.04665/1.694, allocations: 23.51 MB / 1.199 GB, free: 106.7 MB / 1.011 GB Notification: Performance of [INI] Tearing: time 0.0002617/1.694, allocations: 0.5175 MB / 1.2 GB, free: 106.4 MB / 1.011 GB Notification: Performance of [SIM] Initialization: time 2.194e-06/1.694, allocations: 0 / 1.2 GB, free: 106.4 MB / 1.011 GB Notification: Performance of [SIM] Remove Dummies: time 9.427e-05/1.694, allocations: 12.61 kB / 1.2 GB, free: 106.3 MB / 1.011 GB Notification: Performance of [SIM] Tearing: time 0.0001397/1.694, allocations: 349.3 kB / 1.2 GB, free: 106.1 MB / 1.011 GB Notification: Performance of [SIM] Categorize: time 6.378e-05/1.694, allocations: 26.53 kB / 1.2 GB, free: 106.1 MB / 1.011 GB Notification: Performance of [SIM] Solve: time 0.01885/1.713, allocations: 10.36 MB / 1.21 GB, free: 97.93 MB / 1.011 GB Notification: Performance of [SIM] Jacobian: time 0.01864/1.732, allocations: 11.15 MB / 1.221 GB, free: 86.86 MB / 1.011 GB Notification: Performance of [SIM] Minimize Homotopy System: time 2.825e-06/1.732, allocations: 0 / 1.221 GB, free: 86.86 MB / 1.011 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 22 * 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: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 16 (10) {chi.chi.vol1.U, chi.chi.vol2.U, chi.valEva.junInl.vol.dynBal.UOut, chi.valEva.junOut.vol.dynBal.UOut, chi.valEva.val.actPos.y, chi.valCon.junInl.vol.dynBal.UOut, chi.valCon.junOut.vol.dynBal.UOut, chi.valCon.val.actPos.y, chi.temConLvg.T, chi.temEvaLvg.T} * Number of discrete states: .................... 3 (2) {y1.intTimTab.y, y1.intTimTab.idx} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 26 (20) {chi.y1, chi.chi.on, chi.com.booToRea.u, chi.com.mulOr.u, chi.com.mulOr.uTemp, y1.y, booToRea.u, $SEV_1, $SEV_0, $TEV_10, $TEV_9, $TEV_8, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Warning: Cannot classify strong component: BLOCK: Sliced Component (status = Solve.EXPLICIT, size = 2) ------------------------------------------------------------- ### Variable: y1.intTimTab.y[:] ### Equation: [WHEN] (2) ($RES_SIM_74) [----] when {$TEV_0, $TEV_6, $TEV_7, $TEV_8, $TEV_9, $TEV_10} then [----] y1.intTimTab.y[:] := y1.intTimTab.val[y1.intTimTab.idx, :] [----] end when; Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 530 (scalar:530, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, if:0, tuple:0) * Number of for-loop strong components: ......... 145 (resizable: 137, generic: 0, entwined:8) * 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: ........... 672 (scalar:668, array:4, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:22) * Number of for-loop strong components: ......... 363 (resizable: 355, generic: 0, entwined:8) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0003301/1.732, allocations: 269.5 kB / 1.222 GB, free: 86.61 MB / 1.011 GB Notification: Performance of SimCode: time 0.06345/1.796, allocations: 37.21 MB / 1.258 GB, free: 50.41 MB / 1.011 GB Notification: Performance of Templates: time 0.1282/1.924, allocations: 73.23 MB / 1.329 GB, free: 10.27 MB / 1.042 GB " [Timeout remaining time 298] make -j1 -f Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile [Timeout 300] make -j1 -f Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile clang -O2 -DOM_HAVE_PTHREADS -fPIC -DOM_HAVE_PTHREADS -Wno-error=implicit-function-declaration "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -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_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup -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.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.o Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.c clang -O2 -DOM_HAVE_PTHREADS -fPIC -DOM_HAVE_PTHREADS -Wno-error=implicit-function-declaration "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -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_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup -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.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_functions.o Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_functions.c Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_functions.c:4294:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 4294 | real_array_copy_data((0.3333333333333333) * ((&data->localData[0]->realVars[302] /* chi.valEva.junInl[1].vol.dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp41); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_functions.c:4500:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 4500 | real_array_copy_data((0.3333333333333333) * ((&data->localData[0]->realVars[646] /* chi.valCon.junInl[1].vol.dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp46); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_functions.c:4831:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 4831 | real_array_copy_data((0.3333333333333333) * ((&data->localData[0]->realVars[456] /* chi.valEva.junOut[1].vol.dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp52); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_functions.c:5516:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 5516 | real_array_copy_data((0.3333333333333333) * ((&data->localData[0]->realVars[800] /* chi.valCon.junOut[1].vol.dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp62); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 8.945810448378325]