Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.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.002512/0.002512, 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.002939/0.002939, allocations: 159.5 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.715/1.715, allocations: 177.1 MB / 205.4 MB, free: 4.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.494/3.494, 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.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel") translateModel(Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/2.881e-05, allocations: 2.312 kB / 0.7759 GB, free: 14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel): time 0.5253/0.5253, allocations: 32.32 MB / 0.8075 GB, free: 27.39 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01965/0.545, allocations: 10.14 MB / 0.8174 GB, free: 26.28 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00431/0.5493, allocations: 121.4 kB / 0.8175 GB, free: 26.21 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.003605/0.5529, allocations: 0.8442 MB / 0.8183 GB, free: 25.83 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.009333/0.5622, allocations: 2.39 MB / 0.8207 GB, free: 24.7 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.006187/0.5684, allocations: 1.927 MB / 0.8226 GB, free: 23.87 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.02133/0.5897, allocations: 14.94 MB / 0.8371 GB, free: 18.05 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007767/0.5975, allocations: 3.561 MB / 0.8406 GB, free: 16.01 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01563/0.6131, allocations: 5.55 MB / 0.846 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007078/0.6202, allocations: 3.792 MB / 0.8497 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.001244/0.6214, allocations: 310.7 kB / 0.85 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005352/0.6268, allocations: 1.158 MB / 0.8512 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of combineBinaries: time 0.01074/0.6375, allocations: 6.809 MB / 0.8578 GB, free: 3.52 MB / 0.7605 GB Notification: Performance of replaceArrayConstructors: time 0.005102/0.6426, allocations: 3.853 MB / 0.8616 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002055/0.6447, allocations: 236 kB / 0.8618 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of FrontEnd: time 0.0006057/0.6453, allocations: 71.67 kB / 0.8619 GB, free: 15.35 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 498 (369) * Number of variables: 498 (275) Notification: Performance of [SIM] Bindings: time 0.06771/0.713, allocations: 23.29 MB / 0.8846 GB, free: 7.602 MB / 0.7917 GB Notification: Performance of [SIM] FunctionAlias: time 0.009011/0.722, allocations: 3.779 MB / 0.8883 GB, free: 3.91 MB / 0.7917 GB Notification: Performance of [SIM] Early Inline: time 0.04408/0.7661, allocations: 23.96 MB / 0.9117 GB, free: 12.02 MB / 0.823 GB Notification: Performance of [SIM] Simplify 1: time 0.008017/0.7741, allocations: 4.006 MB / 0.9156 GB, free: 8.062 MB / 0.823 GB Notification: Performance of [SIM] Alias: time 0.02717/0.8013, allocations: 11.26 MB / 0.9266 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of [SIM] Simplify 2: time 0.005501/0.8068, allocations: 2.477 MB / 0.929 GB, free: 9.555 MB / 0.8386 GB Notification: Performance of [SIM] Remove Stream: time 0.004134/0.8109, allocations: 1.912 MB / 0.9309 GB, free: 7.566 MB / 0.8386 GB Notification: Performance of [SIM] Detect States: time 0.006924/0.8178, allocations: 4.044 MB / 0.9349 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of [SIM] Events: time 0.002524/0.8204, allocations: 1.552 MB / 0.9364 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of [SIM] Partitioning: time 0.01013/0.8305, allocations: 5.32 MB / 0.9416 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of [SIM] Causalize: time 0.02931/0.8598, allocations: 12.16 MB / 0.9534 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.02355/0.8833, allocations: 12.88 MB / 0.966 GB, free: 2.848 MB / 0.8698 GB Notification: Performance of [INI] Simplify: time 0.02005/0.9034, allocations: 8.91 MB / 0.9747 GB, free: 9.77 MB / 0.8855 GB Notification: Performance of [INI] Inline: time 0.05941/0.9628, allocations: 27.07 MB / 1.001 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of [INI] Partitioning: time 0.001297/0.9641, allocations: 192.5 kB / 1.001 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of [INI] Cleanup: time 0.0136/0.9777, allocations: 6.046 MB / 1.007 GB, free: 8.305 MB / 0.9167 GB Notification: Performance of [INI] Causalize: time 0.05897/1.037, allocations: 20.12 MB / 1.027 GB, free: 3.84 MB / 0.9323 GB Notification: Performance of [INI] Tearing: time 0.02622/1.063, allocations: 15.51 MB / 1.042 GB, free: 4.402 MB / 0.948 GB Notification: Performance of [SIM] Initialization: time 3.667e-06/1.063, allocations: 4 kB / 1.042 GB, free: 4.398 MB / 0.948 GB Notification: Performance of [SIM] Remove Dummies: time 4.755e-05/1.063, allocations: 10.61 kB / 1.042 GB, free: 4.387 MB / 0.948 GB Notification: Performance of [SIM] Tearing: time 0.01282/1.076, allocations: 7.495 MB / 1.049 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of [SIM] Categorize: time 5.383e-05/1.076, allocations: 15.94 kB / 1.049 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of [SIM] Solve: time 0.02267/1.098, allocations: 9.877 MB / 1.059 GB, free: 2.969 MB / 0.9636 GB Notification: Performance of [SIM] Jacobian: time 0.02896/1.127, allocations: 12.76 MB / 1.071 GB, free: 5.711 MB / 0.9792 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.49e-05/1.127, allocations: 3.984 kB / 1.071 GB, free: 5.707 MB / 0.9792 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 12 * 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: ............................. 4 (2) {chiPar.chi.vol1.dynBal.UOut, chiPar.chi.vol2.dynBal.UOut} * Number of discrete states: .................... 2 (2) {pulse.T_start, pulse.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 21 (16) {chiPar.booToRea.u, chiPar.on, chiPar.chi.on, chiPar.chi.tru.y, chiPar.chi.coo_internal, greaterThreshold.y, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_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: ........... 262 (scalar:262, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:8) * Number of for-loop strong components: ......... 75 (resizable: 71, generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 0, nonlinear:4) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 308 (scalar:304, array:4, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:12) * Number of for-loop strong components: ......... 210 (resizable: 206, generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 0, nonlinear:4) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 310 (scalar:306, array:4, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:12) * Number of for-loop strong components: ......... 212 (resizable: 208, generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 2, nonlinear:2) Notification: Performance of backend: time 0.0003882/1.128, allocations: 217.6 kB / 1.072 GB, free: 5.492 MB / 0.9792 GB Notification: Performance of SimCode: time 0.06172/1.19, allocations: 25.28 MB / 1.096 GB, free: 11.93 MB / 1.01 GB Notification: Performance of Templates: time 0.1494/1.339, allocations: 76.18 MB / 1.171 GB, free: 15.72 MB / 1.089 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.makefile [Timeout 300] make -j1 -f Buildings_13_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.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_Applications_BaseClasses_Equipment_Validation_ElectricChillerParallel -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Buildings_13_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.o Buildings_13_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.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_Applications_BaseClasses_Equipment_Validation_ElectricChillerParallel -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Buildings_13_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel_functions.o Buildings_13_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel_functions.c Buildings_13_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel_functions.c:3675:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 3675 | real_array_copy_data((0.5) * ((&data->localData[0]->realVars[261] /* chiPar.chi[1].vol2.dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp38); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel_functions.c:4120:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 4120 | real_array_copy_data((0.5) * ((&data->localData[0]->realVars[183] /* chiPar.chi[1].vol1.dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp44); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 8.273097443394363]