Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.FixedResistances.Examples.Pipe.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.001946/0.001946, 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.003145/0.003145, allocations: 162.6 kB / 24.97 MB, free: 8.191 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.752/1.752, allocations: 177.1 MB / 205.4 MB, free: 5.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.213/3.213, 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.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.FixedResistances.Examples.Pipe") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.333e-05, allocations: 2.312 kB / 0.7759 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.02187/0.0219, allocations: 13.98 MB / 0.7896 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01548/0.03737, allocations: 6.509 MB / 0.7959 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002589/0.03996, allocations: 83.31 kB / 0.796 GB, free: 0.8672 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.04167, allocations: 396.9 kB / 0.7964 GB, free: 488 kB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00592/0.04759, allocations: 1.711 MB / 0.7981 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.004149/0.05174, allocations: 1.286 MB / 0.7993 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01523/0.06697, allocations: 10.36 MB / 0.8094 GB, free: 3.176 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01047/0.07745, allocations: 4.301 MB / 0.8136 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01083/0.08827, allocations: 3.958 MB / 0.8175 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005602/0.09388, allocations: 2.449 MB / 0.8199 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.001422/0.0953, allocations: 332 kB / 0.8202 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003509/0.09881, allocations: 0.854 MB / 0.821 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of combineBinaries: time 0.007786/0.1066, allocations: 4.284 MB / 0.8252 GB, free: 2.926 MB / 0.7761 GB Notification: Performance of replaceArrayConstructors: time 0.003376/0.11, allocations: 2.144 MB / 0.8273 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001169/0.1111, allocations: 208 kB / 0.8275 GB, free: 0.5664 MB / 0.7761 GB Notification: Performance of FrontEnd: time 0.0003913/0.1115, allocations: 51.8 kB / 0.8276 GB, free: 0.5156 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: 1302 (549) * Number of variables: 1302 (202) Notification: Performance of [SIM] Bindings: time 0.02415/0.1357, allocations: 14.58 MB / 0.8418 GB, free: 1.516 MB / 0.7917 GB Notification: Performance of [SIM] FunctionAlias: time 0.005753/0.1414, allocations: 3.174 MB / 0.8449 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of [SIM] Early Inline: time 0.02628/0.1677, allocations: 14.47 MB / 0.859 GB, free: 15.73 MB / 0.823 GB Notification: Performance of [SIM] Simplify 1: time 0.003145/0.1709, allocations: 1.248 MB / 0.8603 GB, free: 14.36 MB / 0.823 GB Notification: Performance of [SIM] Alias: time 0.02119/0.1921, allocations: 10.29 MB / 0.8703 GB, free: 3.426 MB / 0.823 GB Notification: Performance of [SIM] Simplify 2: time 0.00253/0.1946, allocations: 1.143 MB / 0.8714 GB, free: 2.156 MB / 0.823 GB Notification: Performance of [SIM] Remove Stream: time 0.001943/0.1965, allocations: 0.9478 MB / 0.8724 GB, free: 1.086 MB / 0.823 GB Notification: Performance of [SIM] Detect States: time 0.004668/0.2012, allocations: 2.674 MB / 0.875 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of [SIM] Events: time 0.00163/0.2028, allocations: 0.9934 MB / 0.8759 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of [SIM] Partitioning: time 0.008142/0.211, allocations: 4.056 MB / 0.8799 GB, free: 9.004 MB / 0.8386 GB Notification: Performance of [SIM] Causalize: time 0.03053/0.2415, allocations: 14.76 MB / 0.8943 GB, free: 9.949 MB / 0.8542 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01542/0.2569, allocations: 9.153 MB / 0.9032 GB, free: 0.7891 MB / 0.8542 GB Notification: Performance of [INI] Simplify: time 0.0123/0.2692, allocations: 5.317 MB / 0.9084 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of [INI] Inline: time 0.03621/0.3054, allocations: 19.85 MB / 0.9278 GB, free: 7.23 MB / 0.8855 GB Notification: Performance of [INI] Partitioning: time 0.0008559/0.3063, allocations: 187.7 kB / 0.928 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of [INI] Cleanup: time 0.008143/0.3144, allocations: 4.375 MB / 0.9323 GB, free: 2.578 MB / 0.8855 GB Notification: Performance of [INI] Causalize: time 0.04758/0.362, allocations: 21.86 MB / 0.9536 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of [INI] Tearing: time 0.0009448/0.3629, allocations: 0.6731 MB / 0.9543 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of [SIM] Initialization: time 3.236e-06/0.3629, allocations: 0 / 0.9543 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of [SIM] Remove Dummies: time 4.673e-05/0.363, allocations: 7.438 kB / 0.9543 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of [SIM] Tearing: time 0.0004148/0.3634, allocations: 311.4 kB / 0.9546 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of [SIM] Categorize: time 4.889e-05/0.3635, allocations: 15.94 kB / 0.9546 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of [SIM] Solve: time 0.01485/0.3783, allocations: 5.18 MB / 0.9597 GB, free: 6.227 MB / 0.9167 GB Notification: Performance of [SIM] Jacobian: time 0.0268/0.4051, allocations: 12.55 MB / 0.9719 GB, free: 9.266 MB / 0.9323 GB Notification: Performance of [SIM] Minimize Homotopy System: time 2.735e-05/0.4051, allocations: 0 / 0.9719 GB, free: 9.266 MB / 0.9323 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 9 * 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: ............................. 22 (4) {pip.vol.dynBal.UOut, pip1.vol.dynBal.UOut, assEqu.u1, senTem1.T} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (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: ........... 382 (scalar:382, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 62 (resizable: 58, generic: 0, entwined:4) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 461 (scalar:461, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:8) * Number of for-loop strong components: ......... 108 (resizable: 104, generic: 0, entwined:4) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 465 (scalar:465, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:8) * Number of for-loop strong components: ......... 108 (resizable: 104, generic: 0, entwined:4) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0008249/0.406, allocations: 236.8 kB / 0.9721 GB, free: 9.043 MB / 0.9323 GB Notification: Performance of SimCode: time 0.05405/0.46, allocations: 25.52 MB / 0.9971 GB, free: 15.03 MB / 0.9636 GB Notification: Performance of Templates: time 0.09584/0.5559, allocations: 41.18 MB / 1.037 GB, free: 6.219 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile [Timeout 300] make -j1 -f Buildings_13_Buildings.Fluid.FixedResistances.Examples.Pipe.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_FixedResistances_Examples_Pipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Buildings_13_Buildings.Fluid.FixedResistances.Examples.Pipe.o Buildings_13_Buildings.Fluid.FixedResistances.Examples.Pipe.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_FixedResistances_Examples_Pipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Buildings_13_Buildings.Fluid.FixedResistances.Examples.Pipe_functions.o Buildings_13_Buildings.Fluid.FixedResistances.Examples.Pipe_functions.c Buildings_13_Buildings.Fluid.FixedResistances.Examples.Pipe_functions.c:2260:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 2260 | real_array_copy_data((0.5) * ((&data->localData[0]->realVars[840] /* pip1.vol[1].dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp18); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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.FixedResistances.Examples.Pipe_functions.c:2300:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 2300 | real_array_copy_data((0.5) * ((&data->localData[0]->realVars[354] /* pip.vol[1].dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp19); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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.Fluid.FixedResistances.Examples.Pipe_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 7.248670941218734]