Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Examples.Performance.Example1v2.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.001943/0.001943, allocations: 80.88 kB / 21.56 MB, free: 2.938 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.002216/0.002216, allocations: 170 kB / 24.98 MB, free: 9.188 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.596/1.596, allocations: 177.1 MB / 205.4 MB, free: 5.039 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.157/3.157, allocations: 389.5 MB / 0.6361 GB, free: 12.34 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.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Examples.Performance.Example1v2") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.964e-05/2.964e-05, allocations: 8.781 kB / 0.7759 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.03475/0.03478, allocations: 21.58 MB / 0.797 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.03067/0.06545, allocations: 11.43 MB / 0.8082 GB, free: 4.445 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005557/0.07101, allocations: 155.8 kB / 0.8083 GB, free: 4.293 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.006052/0.07706, allocations: 1.608 MB / 0.8099 GB, free: 2.684 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.009392/0.08645, allocations: 2.382 MB / 0.8122 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.007394/0.09385, allocations: 2.369 MB / 0.8145 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0255/0.1193, allocations: 14.83 MB / 0.829 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0273/0.1466, allocations: 16.19 MB / 0.8448 GB, free: 14.81 MB / 0.8074 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0234/0.17, allocations: 8.073 MB / 0.8527 GB, free: 6.75 MB / 0.8074 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01476/0.1848, allocations: 6.698 MB / 0.8592 GB, free: 44 kB / 0.8074 GB Notification: Performance of NFPackage.collectConstants: time 0.004404/0.1892, allocations: 0.8868 MB / 0.8601 GB, free: 15.15 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01374/0.203, allocations: 4.167 MB / 0.8642 GB, free: 10.98 MB / 0.823 GB Notification: Performance of combineBinaries: time 0.02112/0.2241, allocations: 10.41 MB / 0.8743 GB, free: 0.543 MB / 0.823 GB Notification: Performance of replaceArrayConstructors: time 0.004749/0.2288, allocations: 2.871 MB / 0.8771 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.003952/0.2328, allocations: 292 kB / 0.8774 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.0007123/0.2335, allocations: 91.58 kB / 0.8775 GB, free: 13.27 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1422 (732) * Number of variables: 1422 (287) Notification: Performance of [SIM] Bindings: time 0.05285/0.2863, allocations: 29.68 MB / 0.9065 GB, free: 15.11 MB / 0.8699 GB Notification: Performance of [SIM] FunctionAlias: time 0.02895/0.3153, allocations: 15.64 MB / 0.9218 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of [SIM] Early Inline: time 0.09786/0.4131, allocations: 46.72 MB / 0.9674 GB, free: 60 kB / 0.9167 GB Notification: Performance of [SIM] Simplify 1: time 0.0149/0.428, allocations: 5.856 MB / 0.9731 GB, free: 10.1 MB / 0.9324 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.05706/0.4851, allocations: 22.74 MB / 0.9953 GB, free: 2.547 MB / 0.948 GB Notification: Performance of [SIM] Simplify 2: time 0.01313/0.4982, allocations: 5.579 MB / 1.001 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of [SIM] Remove Stream: time 0.01577/0.514, allocations: 8.37 MB / 1.009 GB, free: 4.348 MB / 0.9636 GB Notification: Performance of [SIM] Detect States: time 0.01907/0.5331, allocations: 9.066 MB / 1.018 GB, free: 11.19 MB / 0.9792 GB Notification: Performance of [SIM] Events: time 0.009106/0.5422, allocations: 4.384 MB / 1.022 GB, free: 6.801 MB / 0.9792 GB Notification: Performance of [SIM] Partitioning: time 0.03342/0.5756, allocations: 12.16 MB / 1.034 GB, free: 10.4 MB / 0.9949 GB Notification: Performance of [SIM] Causalize: time 0.7508/1.326, allocations: 31.87 MB / 1.065 GB, free: 204.3 MB / 1.01 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.05803/1.384, allocations: 31.97 MB / 1.096 GB, free: 203.1 MB / 1.01 GB Notification: Performance of [INI] Simplify: time 0.0337/1.418, allocations: 13.83 MB / 1.11 GB, free: 198.5 MB / 1.01 GB Notification: Performance of [INI] Inline: time 0.1023/1.52, allocations: 62.01 MB / 1.17 GB, free: 164.6 MB / 1.01 GB Notification: Performance of [INI] Partitioning: time 0.001271/1.522, allocations: 198 kB / 1.171 GB, free: 164.3 MB / 1.01 GB Notification: Performance of [INI] Cleanup: time 0.02729/1.549, allocations: 12.73 MB / 1.183 GB, free: 152.5 MB / 1.01 GB Notification: Performance of [INI] Causalize: time 0.08078/1.63, allocations: 38.59 MB / 1.221 GB, free: 115.1 MB / 1.01 GB Notification: Performance of [INI] Tearing: time 0.01254/1.642, allocations: 11.69 MB / 1.232 GB, free: 104 MB / 1.01 GB Notification: Performance of [SIM] Initialization: time 3.517e-06/1.642, allocations: 0 / 1.232 GB, free: 104 MB / 1.01 GB Notification: Performance of [SIM] Remove Dummies: time 6.205e-05/1.642, allocations: 4.656 kB / 1.232 GB, free: 104 MB / 1.01 GB Notification: Performance of [SIM] Tearing: time 0.006357/1.649, allocations: 5.696 MB / 1.238 GB, free: 98.51 MB / 1.01 GB Notification: Performance of [SIM] Categorize: time 6.862e-05/1.649, allocations: 15.27 kB / 1.238 GB, free: 98.5 MB / 1.01 GB Notification: Performance of [SIM] Solve: time 0.04064/1.689, allocations: 22.94 MB / 1.26 GB, free: 76.73 MB / 1.01 GB Notification: Performance of [SIM] Jacobian: time 0.04034/1.73, allocations: 22.2 MB / 1.282 GB, free: 54.42 MB / 1.01 GB Notification: Performance of [SIM] Minimize Homotopy System: time 7.548e-05/1.73, allocations: 0 / 1.282 GB, free: 54.42 MB / 1.01 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 6 * 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 (3) {pump.vol.U, hea.outCon.T, vol.dynBal.UOut} * 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: ........... 566 (scalar:566, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 28 (resizable: 26, generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 2, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 685 (scalar:670, array:15, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:5) * Number of for-loop strong components: ......... 58 (resizable: 56, generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 2, nonlinear:2) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 688 (scalar:673, array:15, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:5) * Number of for-loop strong components: ......... 59 (resizable: 57, generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 4, nonlinear:0) Notification: Performance of backend: time 0.0007678/1.731, allocations: 300.1 kB / 1.282 GB, free: 54.13 MB / 1.01 GB Notification: Performance of SimCode: time 0.06792/1.798, allocations: 39.03 MB / 1.32 GB, free: 16.01 MB / 1.01 GB Notification: Performance of Templates: time 0.2305/2.029, allocations: 129 MB / 1.446 GB, free: 15.43 MB / 1.135 GB " [Timeout remaining time 298] make -j1 -f Buildings_13_Buildings.Fluid.Examples.Performance.Example1v2.makefile [Timeout 300] make -j1 -f Buildings_13_Buildings.Fluid.Examples.Performance.Example1v2.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_Performance_Example1v2 -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.Performance.Example1v2.o Buildings_13_Buildings.Fluid.Examples.Performance.Example1v2.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_Performance_Example1v2 -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.Performance.Example1v2_functions.o Buildings_13_Buildings.Fluid.Examples.Performance.Example1v2_functions.c Buildings_13_Buildings.Fluid.Examples.Performance.Example1v2_functions.c:1323:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 1323 | if((_nPre == _nPow)) | ~~~~~~^~~~~~~~ Buildings_13_Buildings.Fluid.Examples.Performance.Example1v2_functions.c:1323:17: note: remove extraneous parentheses around the comparison to silence this warning 1323 | if((_nPre == _nPow)) | ~ ^ ~ Buildings_13_Buildings.Fluid.Examples.Performance.Example1v2_functions.c:1323:17: note: use '=' to turn this equality comparison into an assignment 1323 | if((_nPre == _nPow)) | ^~ | = Buildings_13_Buildings.Fluid.Examples.Performance.Example1v2_functions.c:1984:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 1984 | if((_n == ((modelica_integer) 1))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_13_Buildings.Fluid.Examples.Performance.Example1v2_functions.c:1984:10: note: remove extraneous parentheses around the comparison to silence this warning 1984 | if((_n == ((modelica_integer) 1))) | ~ ^ ~ Buildings_13_Buildings.Fluid.Examples.Performance.Example1v2_functions.c:1984:10: note: use '=' to turn this equality comparison into an assignment 1984 | if((_n == ((modelica_integer) 1))) | ^~ | = Buildings_13_Buildings.Fluid.Examples.Performance.Example1v2_functions.c:2257:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 2257 | if((_n == ((modelica_integer) 2))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_13_Buildings.Fluid.Examples.Performance.Example1v2_functions.c:2257:12: note: remove extraneous parentheses around the comparison to silence this warning 2257 | if((_n == ((modelica_integer) 2))) | ~ ^ ~ Buildings_13_Buildings.Fluid.Examples.Performance.Example1v2_functions.c:2257:12: note: use '=' to turn this equality comparison into an assignment 2257 | if((_n == ((modelica_integer) 2))) | ^~ | = Buildings_13_Buildings.Fluid.Examples.Performance.Example1v2_functions.c:2515:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 2515 | if((_n == ((modelica_integer) 1))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_13_Buildings.Fluid.Examples.Performance.Example1v2_functions.c:2515:10: note: remove extraneous parentheses around the comparison to silence this warning 2515 | if((_n == ((modelica_integer) 1))) | ~ ^ ~ Buildings_13_Buildings.Fluid.Examples.Performance.Example1v2_functions.c:2515:10: note: use '=' to turn this equality comparison into an assignment 2515 | if((_n == ((modelica_integer) 1))) | ^~ | = Buildings_13_Buildings.Fluid.Examples.Performance.Example1v2_functions.c:2522:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 2522 | if((_n == ((modelica_integer) 2))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_13_Buildings.Fluid.Examples.Performance.Example1v2_functions.c:2522:12: note: remove extraneous parentheses around the comparison to silence this warning 2522 | if((_n == ((modelica_integer) 2))) | ~ ^ ~ Buildings_13_Buildings.Fluid.Examples.Performance.Example1v2_functions.c:2522:12: note: use '=' to turn this equality comparison into an assignment 2522 | if((_n == ((modelica_integer) 2))) | ^~ | = Buildings_13_Buildings.Fluid.Examples.Performance.Example1v2_functions.c:4326:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 4326 | real_array_copy_data((0.5) * ((&data->localData[0]->realVars[843] /* vol[1].dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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.Performance.Example1v2_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 8.85705135203898]