Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.002407/0.002407, allocations: 80.88 kB / 21.57 MB, free: 2.918 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.002757/0.002757, allocations: 165.7 kB / 24.98 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.68/1.68, allocations: 177.1 MB / 205.4 MB, free: 5.477 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.162/3.162, 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.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.76e-05, allocations: 6.25 kB / 0.7759 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.02838/0.02841, allocations: 16.45 MB / 0.792 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01855/0.04695, allocations: 6.18 MB / 0.798 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003585/0.05054, allocations: 103.2 kB / 0.7981 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002463/0.053, allocations: 0.5272 MB / 0.7986 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.007198/0.0602, allocations: 1.811 MB / 0.8004 GB, free: 12.33 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00472/0.06492, allocations: 1.443 MB / 0.8018 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01949/0.08441, allocations: 12.12 MB / 0.8136 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01178/0.09619, allocations: 5.235 MB / 0.8188 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01501/0.1112, allocations: 4.948 MB / 0.8236 GB, free: 4.578 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008654/0.1199, allocations: 3.256 MB / 0.8268 GB, free: 1.316 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.002061/0.1219, allocations: 484 kB / 0.8272 GB, free: 0.8438 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004055/0.126, allocations: 0.714 MB / 0.8279 GB, free: 132 kB / 0.7761 GB Notification: Performance of combineBinaries: time 0.01181/0.1378, allocations: 5.813 MB / 0.8336 GB, free: 10.29 MB / 0.7917 GB Notification: Performance of replaceArrayConstructors: time 0.004874/0.1426, allocations: 2.877 MB / 0.8364 GB, free: 7.395 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.002409/0.1451, allocations: 284 kB / 0.8367 GB, free: 7.117 MB / 0.7917 GB Notification: Performance of FrontEnd: time 0.0009407/0.146, allocations: 75.66 kB / 0.8368 GB, free: 7.043 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 (814) * Number of variables: 1564 (372) Notification: Performance of [SIM] Bindings: time 0.03866/0.1847, allocations: 19.61 MB / 0.8559 GB, free: 2.977 MB / 0.8073 GB Notification: Performance of [SIM] FunctionAlias: time 0.008076/0.1927, allocations: 3.971 MB / 0.8598 GB, free: 15.03 MB / 0.823 GB Notification: Performance of [SIM] Early Inline: time 0.03916/0.2319, allocations: 19.66 MB / 0.879 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of [SIM] Simplify 1: time 0.004724/0.2366, allocations: 1.705 MB / 0.8807 GB, free: 9.43 MB / 0.8386 GB Notification: Performance of [SIM] Alias: time 0.02989/0.2665, allocations: 14.46 MB / 0.8948 GB, free: 9.996 MB / 0.8542 GB Notification: Performance of [SIM] Simplify 2: time 0.003932/0.2704, allocations: 1.521 MB / 0.8963 GB, free: 8.359 MB / 0.8542 GB Notification: Performance of [SIM] Remove Stream: time 0.003113/0.2735, allocations: 1.284 MB / 0.8975 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of [SIM] Detect States: time 0.005868/0.2794, allocations: 3.595 MB / 0.901 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of [SIM] Events: time 0.002453/0.2819, allocations: 1.405 MB / 0.9024 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of [SIM] Partitioning: time 0.01216/0.294, allocations: 5.389 MB / 0.9077 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of [SIM] Causalize: time 0.0446/0.3386, allocations: 18.84 MB / 0.9261 GB, free: 8.895 MB / 0.8855 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.02316/0.3618, allocations: 12.45 MB / 0.9382 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of [INI] Simplify: time 0.01692/0.3787, allocations: 6.589 MB / 0.9447 GB, free: 5.559 MB / 0.9011 GB Notification: Performance of [INI] Inline: time 0.05418/0.4329, allocations: 25.67 MB / 0.9697 GB, free: 11.82 MB / 0.9323 GB Notification: Performance of [INI] Partitioning: time 0.001243/0.4341, allocations: 215.2 kB / 0.9699 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of [INI] Cleanup: time 0.00762/0.4418, allocations: 3.369 MB / 0.9732 GB, free: 8.184 MB / 0.9323 GB Notification: Performance of [INI] Causalize: time 0.07761/0.5194, allocations: 16.89 MB / 0.9897 GB, free: 7.16 MB / 0.948 GB Notification: Performance of [INI] Tearing: time 0.002576/0.5219, allocations: 0.9585 MB / 0.9907 GB, free: 6.195 MB / 0.948 GB Notification: Performance of [SIM] Initialization: time 1.914e-06/0.5219, allocations: 0 / 0.9907 GB, free: 6.195 MB / 0.948 GB Notification: Performance of [SIM] Remove Dummies: time 6.271e-05/0.522, allocations: 8.906 kB / 0.9907 GB, free: 6.184 MB / 0.948 GB Notification: Performance of [SIM] Tearing: time 0.001853/0.5239, allocations: 0.905 MB / 0.9915 GB, free: 5.273 MB / 0.948 GB Notification: Performance of [SIM] Categorize: time 7.949e-05/0.5239, allocations: 19.92 kB / 0.9916 GB, free: 5.254 MB / 0.948 GB Notification: Performance of [SIM] Solve: time 0.01933/0.5433, allocations: 6.213 MB / 0.9976 GB, free: 14.99 MB / 0.9636 GB Notification: Performance of [SIM] Jacobian: time 0.02487/0.5681, allocations: 11.16 MB / 1.009 GB, free: 3.543 MB / 0.9636 GB Notification: Performance of [SIM] Minimize Homotopy System: time 2.835e-06/0.5681, allocations: 0 / 1.009 GB, free: 3.543 MB / 0.9636 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 12 * 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: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 16 (4) {tanEnh.vol.dynBal.UOut, tan.vol.dynBal.UOut, dHTanEnh.y, dHTan.y} * 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: ........... 556 (scalar:544, array:12, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 74 (resizable: 70, 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: ........... 614 (scalar:600, array:14, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:4) * Number of for-loop strong components: ......... 125 (resizable: 121, generic: 0, entwined:4) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 0.000412/0.5686, allocations: 197.6 kB / 1.009 GB, free: 3.355 MB / 0.9636 GB Notification: Performance of SimCode: time 0.05643/0.625, allocations: 25.91 MB / 1.034 GB, free: 8.969 MB / 0.9948 GB Notification: Performance of Templates: time 0.6374/1.262, allocations: 45.26 MB / 1.078 GB, free: 209.9 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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_Storage_Validation_StratifiedLoadingUnloading -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.o Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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_Storage_Validation_StratifiedLoadingUnloading -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_functions.o Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_functions.c Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_functions.c:2265:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 2265 | real_array_copy_data((0.3333333333333333) * ((&data->localData[0]->realVars[307] /* tanEnh.vol[1].dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp31); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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.Storage.Validation.StratifiedLoadingUnloading_functions.c:2316:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 2316 | real_array_copy_data((0.3333333333333333) * ((&data->localData[0]->realVars[937] /* tan.vol[1].dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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.Storage.Validation.StratifiedLoadingUnloading_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 7.94268452655524]