Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.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.0019/0.0019, 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.002016/0.002016, allocations: 169.9 kB / 24.97 MB, free: 8.699 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.591/1.591, 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.295/3.295, allocations: 389.5 MB / 0.6361 GB, free: 13.39 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.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.123e-05, allocations: 2.312 kB / 0.776 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.7036/0.7037, allocations: 172.7 MB / 0.9446 GB, free: 5.543 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.03869/0.7423, allocations: 15.2 MB / 0.9595 GB, free: 6.336 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007764/0.7501, allocations: 234.1 kB / 0.9597 GB, free: 6.105 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.008971/0.7591, allocations: 2.273 MB / 0.9619 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.01369/0.7728, allocations: 4.302 MB / 0.9661 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.01071/0.7835, allocations: 3.726 MB / 0.9698 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0366/0.8201, allocations: 21 MB / 0.9903 GB, free: 6.742 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01219/0.8323, allocations: 4.48 MB / 0.9946 GB, free: 2.215 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02259/0.8549, allocations: 8.009 MB / 1.002 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007905/0.8628, allocations: 3.067 MB / 1.005 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.001841/0.8646, allocations: 428 kB / 1.006 GB, free: 6.801 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01097/0.8756, allocations: 4.136 MB / 1.01 GB, free: 2.66 MB / 0.9167 GB Notification: Performance of combineBinaries: time 0.01598/0.8916, allocations: 8.969 MB / 1.019 GB, free: 9.641 MB / 0.9323 GB Notification: Performance of replaceArrayConstructors: time 0.008483/0.9, allocations: 5.458 MB / 1.024 GB, free: 4.152 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.002307/0.9023, allocations: 428 kB / 1.024 GB, free: 3.734 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.0011/0.9034, allocations: 159.1 kB / 1.025 GB, free: 3.578 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 864 (734) * Number of variables: 864 (641) Notification: Performance of [SIM] Bindings: time 0.04508/0.9485, allocations: 28.34 MB / 1.052 GB, free: 6.621 MB / 0.9636 GB Notification: Performance of [SIM] FunctionAlias: time 0.006832/0.9554, allocations: 3.695 MB / 1.056 GB, free: 2.863 MB / 0.9636 GB Notification: Performance of [SIM] Early Inline: time 0.03628/0.9916, allocations: 22.2 MB / 1.078 GB, free: 12.51 MB / 0.9948 GB Notification: Performance of [SIM] Simplify 1: time 0.003834/0.9955, allocations: 1.602 MB / 1.079 GB, free: 10.8 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.03497/1.03, allocations: 18.35 MB / 1.097 GB, free: 7.004 MB / 1.01 GB Notification: Performance of [SIM] Simplify 2: time 0.003183/1.034, allocations: 1.277 MB / 1.098 GB, free: 5.641 MB / 1.01 GB Notification: Performance of [SIM] Remove Stream: time 0.002269/1.036, allocations: 1.049 MB / 1.099 GB, free: 4.504 MB / 1.01 GB Notification: Performance of [SIM] Detect States: time 0.00562/1.042, allocations: 3.299 MB / 1.103 GB, free: 1.102 MB / 1.01 GB Notification: Performance of [SIM] Events: time 0.001913/1.043, allocations: 1.197 MB / 1.104 GB, free: 15.9 MB / 1.026 GB Notification: Performance of [SIM] Partitioning: time 0.008312/1.052, allocations: 4.702 MB / 1.108 GB, free: 10.89 MB / 1.026 GB Notification: Performance of [SIM] Causalize: time 0.01396/1.066, allocations: 6.759 MB / 1.115 GB, free: 3.914 MB / 1.026 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01656/1.082, allocations: 10.01 MB / 1.125 GB, free: 9.895 MB / 1.042 GB Notification: Performance of [INI] Simplify: time 0.02474/1.107, allocations: 9.75 MB / 1.134 GB, free: 15.86 MB / 1.057 GB Notification: Performance of [INI] Inline: time 0.03865/1.146, allocations: 20.65 MB / 1.154 GB, free: 11.11 MB / 1.073 GB Notification: Performance of [INI] Partitioning: time 0.001025/1.147, allocations: 206.1 kB / 1.155 GB, free: 10.85 MB / 1.073 GB Notification: Performance of [INI] Cleanup: time 0.008664/1.155, allocations: 4.529 MB / 1.159 GB, free: 6.277 MB / 1.073 GB Notification: Performance of [INI] Causalize: time 0.04551/1.201, allocations: 17.39 MB / 1.176 GB, free: 4.609 MB / 1.089 GB Notification: Performance of [INI] Tearing: time 0.0006964/1.202, allocations: 0.6058 MB / 1.177 GB, free: 4.004 MB / 1.089 GB Notification: Performance of [SIM] Initialization: time 3.075e-06/1.202, allocations: 0 / 1.177 GB, free: 4.004 MB / 1.089 GB Notification: Performance of [SIM] Remove Dummies: time 7.365e-05/1.202, allocations: 7.797 kB / 1.177 GB, free: 3.996 MB / 1.089 GB Notification: Performance of [SIM] Tearing: time 0.0007831/1.202, allocations: 455.8 kB / 1.177 GB, free: 3.547 MB / 1.089 GB Notification: Performance of [SIM] Categorize: time 9.142e-05/1.202, allocations: 19.94 kB / 1.177 GB, free: 3.527 MB / 1.089 GB Notification: Performance of [SIM] Solve: time 0.01893/1.221, allocations: 6.88 MB / 1.184 GB, free: 12.57 MB / 1.104 GB Notification: Performance of [SIM] Jacobian: time 0.01206/1.233, allocations: 4.216 MB / 1.188 GB, free: 8.109 MB / 1.104 GB Notification: Performance of [SIM] Minimize Homotopy System: time 1.892e-05/1.234, allocations: 0 / 1.188 GB, free: 8.109 MB / 1.104 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 14 * 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 (4) {conPI.I.y, vol.U, vol.dynBal.m, vol.Xi} * Number of discrete states: .................... 2 (2) {TSet.T_start, TSet.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (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: ........... 465 (scalar:434, array:31, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 31 (resizable: 27, generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 564 (scalar:505, array:59, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:14) * Number of for-loop strong components: ......... 33 (resizable: 29, generic: 4, entwined:0) * 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: ........... 564 (scalar:505, array:59, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:14) * Number of for-loop strong components: ......... 33 (resizable: 29, generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0004198/1.234, allocations: 255.2 kB / 1.188 GB, free: 7.863 MB / 1.104 GB Notification: Performance of SimCode: time 0.0531/1.287, allocations: 19.11 MB / 1.207 GB, free: 4.258 MB / 1.12 GB Notification: Performance of Templates: time 0.5335/1.821, allocations: 51.61 MB / 1.257 GB, free: 194.2 MB / 1.135 GB " [Timeout remaining time 298] make -j1 -f Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile [Timeout 300] make -j1 -f Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.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_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.o Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.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_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_functions.o Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_functions.c Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_functions.c:1461:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 1461 | if((_nPre == _nPow)) | ~~~~~~^~~~~~~~ Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_functions.c:1461:17: note: remove extraneous parentheses around the comparison to silence this warning 1461 | if((_nPre == _nPow)) | ~ ^ ~ Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_functions.c:1461:17: note: use '=' to turn this equality comparison into an assignment 1461 | if((_nPre == _nPow)) | ^~ | = Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_functions.c:2207:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 2207 | if((_n == ((modelica_integer) 1))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_functions.c:2207:10: note: remove extraneous parentheses around the comparison to silence this warning 2207 | if((_n == ((modelica_integer) 1))) | ~ ^ ~ Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_functions.c:2207:10: note: use '=' to turn this equality comparison into an assignment 2207 | if((_n == ((modelica_integer) 1))) | ^~ | = Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_functions.c:2480:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 2480 | if((_n == ((modelica_integer) 2))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_functions.c:2480:12: note: remove extraneous parentheses around the comparison to silence this warning 2480 | if((_n == ((modelica_integer) 2))) | ~ ^ ~ Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_functions.c:2480:12: note: use '=' to turn this equality comparison into an assignment 2480 | if((_n == ((modelica_integer) 2))) | ^~ | = Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_functions.c:2664:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 2664 | if((_n == ((modelica_integer) 1))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_functions.c:2664:10: note: remove extraneous parentheses around the comparison to silence this warning 2664 | if((_n == ((modelica_integer) 1))) | ~ ^ ~ Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_functions.c:2664:10: note: use '=' to turn this equality comparison into an assignment 2664 | if((_n == ((modelica_integer) 1))) | ^~ | = Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_functions.c:2671:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 2671 | if((_n == ((modelica_integer) 2))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_functions.c:2671:12: note: remove extraneous parentheses around the comparison to silence this warning 2671 | if((_n == ((modelica_integer) 2))) | ~ ^ ~ Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_functions.c:2671:12: note: use '=' to turn this equality comparison into an assignment 2671 | if((_n == ((modelica_integer) 2))) | ^~ | = Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_functions.c:4481:24: error: passing 'modelica_real' (aka 'double') to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 4481 | real_array_copy_data((&data->localData[0]->realVars[460] /* $FUN_6[1] variable */)[_omcQ_24i1 - 1], tmp27); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ^ 5 warnings and 1 error generated. make: *** [: Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 8.418620019219816]