Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.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.002337/0.002337, 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.002287/0.002287, allocations: 165.2 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.618/1.618, allocations: 177.1 MB / 205.4 MB, free: 5.469 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.317/3.317, 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.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.328e-05, allocations: 2.969 kB / 0.7759 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.0318/0.03182, allocations: 21.91 MB / 0.7973 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.02875/0.06057, allocations: 11.55 MB / 0.8086 GB, free: 4.012 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004284/0.06485, allocations: 150.8 kB / 0.8087 GB, free: 3.863 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.005848/0.0707, allocations: 1.628 MB / 0.8103 GB, free: 2.234 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.008521/0.07922, allocations: 2.441 MB / 0.8127 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.007951/0.08717, allocations: 2.46 MB / 0.8151 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.02518/0.1123, allocations: 14.26 MB / 0.829 GB, free: 15.08 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01673/0.1291, allocations: 6.579 MB / 0.8354 GB, free: 8.414 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01774/0.1468, allocations: 5.86 MB / 0.8412 GB, free: 2.562 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008297/0.1551, allocations: 3.49 MB / 0.8446 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.002151/0.1573, allocations: 432 kB / 0.845 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01088/0.1681, allocations: 3.726 MB / 0.8486 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of combineBinaries: time 0.0127/0.1808, allocations: 6.296 MB / 0.8548 GB, free: 4.59 MB / 0.8073 GB Notification: Performance of replaceArrayConstructors: time 0.004902/0.1857, allocations: 2.995 MB / 0.8577 GB, free: 1.574 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001986/0.1877, allocations: 268 kB / 0.8579 GB, free: 1.312 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.0007822/0.1885, allocations: 79.66 kB / 0.858 GB, free: 1.234 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 955 (553) * Number of variables: 955 (302) Notification: Performance of [SIM] Bindings: time 0.03623/0.2247, allocations: 20.36 MB / 0.8779 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of [SIM] FunctionAlias: time 0.01012/0.2349, allocations: 4.875 MB / 0.8827 GB, free: 7.484 MB / 0.8386 GB Notification: Performance of [SIM] Early Inline: time 0.04348/0.2783, allocations: 21.84 MB / 0.904 GB, free: 1.551 MB / 0.8542 GB Notification: Performance of [SIM] Simplify 1: time 0.006495/0.2848, allocations: 2.468 MB / 0.9064 GB, free: 14.98 MB / 0.8698 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.03062/0.3155, allocations: 14.09 MB / 0.9202 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of [SIM] Simplify 2: time 0.005332/0.3208, allocations: 2.213 MB / 0.9223 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of [SIM] Remove Stream: time 0.005348/0.3261, allocations: 2.643 MB / 0.9249 GB, free: 11 MB / 0.8855 GB Notification: Performance of [SIM] Detect States: time 0.007784/0.3339, allocations: 3.979 MB / 0.9288 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of [SIM] Events: time 0.003343/0.3373, allocations: 1.764 MB / 0.9305 GB, free: 5.176 MB / 0.8855 GB Notification: Performance of [SIM] Partitioning: time 0.01198/0.3492, allocations: 5.376 MB / 0.9358 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of [SIM] Causalize: time 0.03146/0.3807, allocations: 14.83 MB / 0.9503 GB, free: 492 kB / 0.9011 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.02279/0.4035, allocations: 13.13 MB / 0.9631 GB, free: 3.332 MB / 0.9167 GB Notification: Performance of [INI] Simplify: time 0.01819/0.4217, allocations: 7.619 MB / 0.9705 GB, free: 11.45 MB / 0.9323 GB Notification: Performance of [INI] Inline: time 0.05117/0.4729, allocations: 26.5 MB / 0.9964 GB, free: 0.8867 MB / 0.948 GB Notification: Performance of [INI] Partitioning: time 0.0008302/0.4737, allocations: 174 kB / 0.9966 GB, free: 0.6602 MB / 0.948 GB Notification: Performance of [INI] Cleanup: time 0.01175/0.4854, allocations: 5.737 MB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of [INI] Causalize: time 0.04853/0.534, allocations: 20.69 MB / 1.022 GB, free: 5.918 MB / 0.9792 GB Notification: Performance of [INI] Tearing: time 0.5995/1.133, allocations: 51.41 MB / 1.073 GB, free: 203.9 MB / 1.01 GB Notification: Performance of [SIM] Initialization: time 3.476e-06/1.133, allocations: 1.219 kB / 1.073 GB, free: 203.9 MB / 1.01 GB Notification: Performance of [SIM] Remove Dummies: time 3.773e-05/1.133, allocations: 3.578 kB / 1.073 GB, free: 203.9 MB / 1.01 GB Notification: Performance of [SIM] Tearing: time 0.02982/1.163, allocations: 25.58 MB / 1.098 GB, free: 197.4 MB / 1.01 GB Notification: Performance of [SIM] Categorize: time 5.74e-05/1.163, allocations: 14.14 kB / 1.098 GB, free: 197.4 MB / 1.01 GB Notification: Performance of [SIM] Solve: time 0.01826/1.182, allocations: 11.04 MB / 1.108 GB, free: 196.9 MB / 1.01 GB Notification: Performance of [SIM] Jacobian: time 0.0328/1.214, allocations: 22.77 MB / 1.131 GB, free: 190.9 MB / 1.01 GB Notification: Performance of [SIM] Minimize Homotopy System: time 6.219e-05/1.214, allocations: 7 kB / 1.131 GB, free: 190.9 MB / 1.01 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 7 * 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: ............................. 13 (4) {pump.vol.U, hea.outCon.T, val.y_filtered, senTem.T} * Number of discrete states: .................... 2 (2) {pulse.T_start, pulse.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 3 (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: ........... 298 (scalar:298, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 35 (resizable: 33, generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 0, nonlinear:3) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 393 (scalar:378, array:15, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:5) * Number of for-loop strong components: ......... 67 (resizable: 65, generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 0, nonlinear:3) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 396 (scalar:381, array:15, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:5) * Number of for-loop strong components: ......... 68 (resizable: 66, generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 2, nonlinear:1) Notification: Performance of backend: time 0.0006278/1.215, allocations: 200.1 kB / 1.131 GB, free: 190.7 MB / 1.01 GB Notification: Performance of SimCode: time 0.05894/1.274, allocations: 37.02 MB / 1.167 GB, free: 167.3 MB / 1.01 GB Notification: Performance of Templates: time 0.1489/1.423, allocations: 122.3 MB / 1.286 GB, free: 45.49 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile [Timeout 300] make -j1 -f Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.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_Examples_ResistanceVolumeFlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.o Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.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_Examples_ResistanceVolumeFlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal_functions.o Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal_functions.c Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal_functions.c:1356:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 1356 | if((_nPre == _nPow)) | ~~~~~~^~~~~~~~ Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal_functions.c:1356:17: note: remove extraneous parentheses around the comparison to silence this warning 1356 | if((_nPre == _nPow)) | ~ ^ ~ Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal_functions.c:1356:17: note: use '=' to turn this equality comparison into an assignment 1356 | if((_nPre == _nPow)) | ^~ | = Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal_functions.c:2017:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 2017 | if((_n == ((modelica_integer) 1))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal_functions.c:2017:10: note: remove extraneous parentheses around the comparison to silence this warning 2017 | if((_n == ((modelica_integer) 1))) | ~ ^ ~ Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal_functions.c:2017:10: note: use '=' to turn this equality comparison into an assignment 2017 | if((_n == ((modelica_integer) 1))) | ^~ | = Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal_functions.c:2290:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 2290 | if((_n == ((modelica_integer) 2))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal_functions.c:2290:12: note: remove extraneous parentheses around the comparison to silence this warning 2290 | if((_n == ((modelica_integer) 2))) | ~ ^ ~ Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal_functions.c:2290:12: note: use '=' to turn this equality comparison into an assignment 2290 | if((_n == ((modelica_integer) 2))) | ^~ | = Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal_functions.c:2548:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 2548 | if((_n == ((modelica_integer) 1))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal_functions.c:2548:10: note: remove extraneous parentheses around the comparison to silence this warning 2548 | if((_n == ((modelica_integer) 1))) | ~ ^ ~ Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal_functions.c:2548:10: note: use '=' to turn this equality comparison into an assignment 2548 | if((_n == ((modelica_integer) 1))) | ^~ | = Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal_functions.c:2555:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 2555 | if((_n == ((modelica_integer) 2))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal_functions.c:2555:12: note: remove extraneous parentheses around the comparison to silence this warning 2555 | if((_n == ((modelica_integer) 2))) | ~ ^ ~ Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal_functions.c:2555:12: note: use '=' to turn this equality comparison into an assignment 2555 | if((_n == ((modelica_integer) 2))) | ^~ | = Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal_functions.c:4484:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 4484 | real_array_copy_data((0.5) * ((&data->localData[0]->realVars[486] /* vol[1].dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp9); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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.Examples.ResistanceVolumeFlowReversal_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 8.209689205512404]