Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.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.002275/0.002275, allocations: 80.88 kB / 21.56 MB, free: 2.93 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.002763/0.002763, allocations: 165.9 kB / 24.97 MB, free: 9.195 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.657/1.657, allocations: 177.1 MB / 205.4 MB, free: 5.016 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.256/3.256, 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.SolarCollectors.Validation.EN12975NPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.441e-05, allocations: 3.188 kB / 0.7759 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels): time 0.03795/0.03798, allocations: 22.76 MB / 0.7981 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.3063/0.3443, allocations: 153.1 MB / 0.9476 GB, free: 5.152 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006202/0.3505, allocations: 123 kB / 0.9477 GB, free: 5.031 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.004994/0.3555, allocations: 0.9842 MB / 0.9487 GB, free: 4.039 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.01226/0.3678, allocations: 2.593 MB / 0.9512 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.009629/0.3774, allocations: 2.83 MB / 0.954 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.03143/0.4088, allocations: 19.82 MB / 0.9733 GB, free: 10.72 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03659/0.4454, allocations: 14.8 MB / 0.9878 GB, free: 11.79 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02644/0.4719, allocations: 8.688 MB / 0.9963 GB, free: 3.113 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01488/0.4867, allocations: 5.483 MB / 1.002 GB, free: 13.62 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.00559/0.4923, allocations: 1.34 MB / 1.003 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01125/0.5036, allocations: 2.634 MB / 1.006 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of combineBinaries: time 0.02945/0.533, allocations: 11.59 MB / 1.017 GB, free: 14 MB / 0.9792 GB Notification: Performance of replaceArrayConstructors: time 0.01156/0.5446, allocations: 4.801 MB / 1.022 GB, free: 9.172 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.00669/0.5513, allocations: 0.625 MB / 1.022 GB, free: 8.547 MB / 0.9792 GB Notification: Performance of FrontEnd: time 0.001842/0.5531, allocations: 155 kB / 1.022 GB, free: 8.395 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4670 (2261) * Number of variables: 4670 (801) Notification: Performance of [SIM] Bindings: time 0.08323/0.6363, allocations: 39.43 MB / 1.061 GB, free: 284 kB / 1.01 GB Notification: Performance of [SIM] FunctionAlias: time 0.6357/1.272, allocations: 10.25 MB / 1.071 GB, free: 81.09 MB / 1.01 GB Notification: Performance of [SIM] Early Inline: time 0.09892/1.371, allocations: 63.2 MB / 1.133 GB, free: 66.39 MB / 1.01 GB Notification: Performance of [SIM] Simplify 1: time 0.01118/1.382, allocations: 5.155 MB / 1.138 GB, free: 64.46 MB / 1.01 GB Notification: Performance of [SIM] Alias: time 0.0681/1.45, allocations: 41.77 MB / 1.178 GB, free: 44.25 MB / 1.01 GB Notification: Performance of [SIM] Simplify 2: time 0.009992/1.46, allocations: 4.433 MB / 1.183 GB, free: 41.82 MB / 1.01 GB Notification: Performance of [SIM] Remove Stream: time 0.007177/1.467, allocations: 3.399 MB / 1.186 GB, free: 39.29 MB / 1.01 GB Notification: Performance of [SIM] Detect States: time 0.01424/1.482, allocations: 10.73 MB / 1.196 GB, free: 31.27 MB / 1.01 GB Notification: Performance of [SIM] Events: time 0.004365/1.486, allocations: 4.294 MB / 1.201 GB, free: 28.74 MB / 1.01 GB Notification: Performance of [SIM] Partitioning: time 0.02595/1.512, allocations: 15.49 MB / 1.216 GB, free: 19.28 MB / 1.01 GB Notification: Performance of [SIM] Causalize: time 0.1187/1.631, allocations: 51.18 MB / 1.266 GB, free: 7.32 MB / 1.042 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.08946/1.72, allocations: 37.29 MB / 1.302 GB, free: 2.496 MB / 1.073 GB Notification: Performance of [INI] Simplify: time 0.06833/1.788, allocations: 19.35 MB / 1.321 GB, free: 15.52 MB / 1.104 GB Notification: Performance of [INI] Inline: time 0.167/1.955, allocations: 84.94 MB / 1.404 GB, free: 12.3 MB / 1.182 GB Notification: Performance of [INI] Partitioning: time 0.00296/1.958, allocations: 0.5661 MB / 1.405 GB, free: 11.65 MB / 1.182 GB Notification: Performance of [INI] Cleanup: time 0.03978/1.998, allocations: 19.08 MB / 1.423 GB, free: 8.902 MB / 1.198 GB Notification: Performance of [INI] Causalize: time 0.2144/2.213, allocations: 77.96 MB / 1.499 GB, free: 13.75 MB / 1.276 GB Notification: Performance of [INI] Tearing: time 0.002396/2.215, allocations: 1.988 MB / 1.501 GB, free: 11.76 MB / 1.276 GB Notification: Performance of [SIM] Initialization: time 4.638e-06/2.215, allocations: 4 kB / 1.501 GB, free: 11.76 MB / 1.276 GB Notification: Performance of [SIM] Remove Dummies: time 0.0001671/2.215, allocations: 12.48 kB / 1.501 GB, free: 11.74 MB / 1.276 GB Notification: Performance of [SIM] Tearing: time 0.0007314/2.216, allocations: 0.7889 MB / 1.502 GB, free: 10.96 MB / 1.276 GB Notification: Performance of [SIM] Categorize: time 0.0001244/2.216, allocations: 16 kB / 1.502 GB, free: 10.94 MB / 1.276 GB Notification: Performance of [SIM] Solve: time 0.7515/2.967, allocations: 39.28 MB / 1.54 GB, free: 285.8 MB / 1.292 GB Notification: Performance of [SIM] Jacobian: time 0.1498/3.117, allocations: 101.9 MB / 1.64 GB, free: 253 MB / 1.292 GB Notification: Performance of [SIM] Minimize Homotopy System: time 2.442e-05/3.117, allocations: 1.219 kB / 1.64 GB, free: 253 MB / 1.292 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 10 * 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: ............................. 60 (2) {solCol.vol.dynBal.UOut, solCol1.vol.dynBal.UOut} * Number of discrete states: .................... 18 (18) {solCol1.HDirTil.incAng.decAng.tNext, solCol1.HDirTil.incAng.decAng.k, solCol1.HDifTilIso.incAng.decAng.tNext, solCol1.HDifTilIso.incAng.decAng.k, weaDat.decAng.tNext, weaDat.decAng.k, weaDat.eqnTim.tNext, weaDat.eqnTim.k, weaDat.conTim.tNext, weaDat.conTim.k, weaDat.conTimMin.tNext, weaDat.conTimMin.k, weaDat.locTim.tNext, weaDat.locTim.k, solCol.HDirTil.incAng.decAng.tNext, solCol.HDirTil.incAng.decAng.k, solCol.HDifTilIso.incAng.decAng.tNext, solCol.HDifTilIso.incAng.decAng.k} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 129 (13) {$SEV_12, $SEV_11, $SEV_10, $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: ........... 1517 (scalar:1517, array:0, record:0) * Number of multi strong components: ............ 18 (algorithm:0, when:18, if:0, tuple:0) * Number of for-loop strong components: ......... 70 (resizable: 66, 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: ........... 1901 (scalar:1897, array:4, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:2) * Number of for-loop strong components: ......... 126 (resizable: 122, 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: ........... 1901 (scalar:1897, array:4, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:2) * Number of for-loop strong components: ......... 126 (resizable: 122, generic: 0, entwined:4) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.001135/3.118, allocations: 0.7312 MB / 1.641 GB, free: 252.3 MB / 1.292 GB Notification: Performance of SimCode: time 0.1316/3.25, allocations: 82.45 MB / 1.721 GB, free: 220.9 MB / 1.292 GB Notification: Performance of Templates: time 0.2603/3.51, allocations: 160.2 MB / 1.878 GB, free: 81.73 MB / 1.292 GB " [Timeout remaining time 296] make -j1 -f Buildings_13_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.makefile [Timeout 300] make -j1 -f Buildings_13_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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_Fluid_SolarCollectors_Validation_EN12975NPanels -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.SolarCollectors.Validation.EN12975NPanels.o Buildings_13_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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_Fluid_SolarCollectors_Validation_EN12975NPanels -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.SolarCollectors.Validation.EN12975NPanels_functions.o Buildings_13_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_functions.c Buildings_13_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_functions.c:1616:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 1616 | if((_n == ((modelica_integer) 1))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_13_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_functions.c:1616:10: note: remove extraneous parentheses around the comparison to silence this warning 1616 | if((_n == ((modelica_integer) 1))) | ~ ^ ~ Buildings_13_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_functions.c:1616:10: note: use '=' to turn this equality comparison into an assignment 1616 | if((_n == ((modelica_integer) 1))) | ^~ | = Buildings_13_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_functions.c:2076:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 2076 | if((_n == ((modelica_integer) 1))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_13_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_functions.c:2076:10: note: remove extraneous parentheses around the comparison to silence this warning 2076 | if((_n == ((modelica_integer) 1))) | ~ ^ ~ Buildings_13_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_functions.c:2076:10: note: use '=' to turn this equality comparison into an assignment 2076 | if((_n == ((modelica_integer) 1))) | ^~ | = Buildings_13_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_functions.c:2083:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 2083 | if((_n == ((modelica_integer) 2))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_13_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_functions.c:2083:12: note: remove extraneous parentheses around the comparison to silence this warning 2083 | if((_n == ((modelica_integer) 2))) | ~ ^ ~ Buildings_13_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_functions.c:2083:12: note: use '=' to turn this equality comparison into an assignment 2083 | if((_n == ((modelica_integer) 2))) | ^~ | = Buildings_13_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_functions.c:4403:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 4403 | real_array_copy_data((0.5) * ((&data->localData[0]->realVars[2747] /* solCol1.vol[1].dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp24); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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.SolarCollectors.Validation.EN12975NPanels_functions.c:4907:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 4907 | real_array_copy_data((0.5) * ((&data->localData[0]->realVars[1020] /* solCol.vol[1].dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp33); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ^ 3 warnings and 2 errors generated. make: *** [: Buildings_13_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 11.03913311008364]