Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.001844/0.001844, 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.001893/0.001893, allocations: 169.1 kB / 24.98 MB, free: 8.617 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.58/1.58, allocations: 177.1 MB / 205.4 MB, free: 4.484 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.31/3.31, allocations: 389.5 MB / 0.6361 GB, free: 13.37 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.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.442e-05, allocations: 6.109 kB / 0.7759 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.02274/0.02276, allocations: 15.31 MB / 0.7909 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01366/0.03643, allocations: 5.694 MB / 0.7965 GB, free: 8.844 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002664/0.03909, allocations: 87.31 kB / 0.7965 GB, free: 8.758 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002396/0.04149, allocations: 0.4884 MB / 0.797 GB, free: 8.266 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.005442/0.04693, allocations: 1.619 MB / 0.7986 GB, free: 6.637 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.003731/0.05066, allocations: 1.22 MB / 0.7998 GB, free: 5.414 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.4976/0.5482, allocations: 10.94 MB / 0.8105 GB, free: 19.62 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009326/0.5575, allocations: 4.559 MB / 0.8149 GB, free: 19.31 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01265/0.5702, allocations: 4.362 MB / 0.8192 GB, free: 18.72 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006459/0.5767, allocations: 2.935 MB / 0.8221 GB, free: 18.02 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.001599/0.5783, allocations: 422.9 kB / 0.8225 GB, free: 18.02 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003433/0.5817, allocations: 0.6615 MB / 0.8231 GB, free: 17.96 MB / 0.7605 GB Notification: Performance of combineBinaries: time 0.008637/0.5903, allocations: 5.147 MB / 0.8281 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of replaceArrayConstructors: time 0.003612/0.5939, allocations: 2.586 MB / 0.8307 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001879/0.5958, allocations: 254.7 kB / 0.8309 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.0004776/0.5963, allocations: 66.72 kB / 0.831 GB, free: 14.34 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 (724) * Number of variables: 1414 (323) Notification: Performance of [SIM] Bindings: time 0.02161/0.6179, allocations: 17.52 MB / 0.8481 GB, free: 4.73 MB / 0.7605 GB Notification: Performance of [SIM] FunctionAlias: time 0.004877/0.6228, allocations: 3.52 MB / 0.8515 GB, free: 2.715 MB / 0.7605 GB Notification: Performance of [SIM] Early Inline: time 0.02604/0.6488, allocations: 17.21 MB / 0.8683 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of [SIM] Simplify 1: time 0.003342/0.6522, allocations: 1.51 MB / 0.8698 GB, free: 2.145 MB / 0.7761 GB Notification: Performance of [SIM] Alias: time 0.02412/0.6763, allocations: 12.69 MB / 0.8822 GB, free: 5.117 MB / 0.7917 GB Notification: Performance of [SIM] Simplify 2: time 0.002948/0.6792, allocations: 1.331 MB / 0.8835 GB, free: 3.703 MB / 0.7917 GB Notification: Performance of [SIM] Remove Stream: time 0.002167/0.6814, allocations: 1.075 MB / 0.8845 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of [SIM] Detect States: time 0.004893/0.6863, allocations: 3.055 MB / 0.8875 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of [SIM] Events: time 0.001566/0.6879, allocations: 1.105 MB / 0.8886 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of [SIM] Partitioning: time 0.009045/0.6969, allocations: 4.701 MB / 0.8932 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of [SIM] Causalize: time 0.03703/0.7339, allocations: 16.54 MB / 0.9093 GB, free: 9.129 MB / 0.823 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.02019/0.7541, allocations: 10.77 MB / 0.9199 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of [INI] Simplify: time 0.01697/0.7711, allocations: 6.111 MB / 0.9258 GB, free: 8.152 MB / 0.8386 GB Notification: Performance of [INI] Inline: time 0.04345/0.8145, allocations: 22.49 MB / 0.9478 GB, free: 1.805 MB / 0.8542 GB Notification: Performance of [INI] Partitioning: time 0.001338/0.8159, allocations: 197.3 kB / 0.948 GB, free: 1.559 MB / 0.8542 GB Notification: Performance of [INI] Cleanup: time 0.00533/0.8212, allocations: 2.939 MB / 0.9508 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of [INI] Causalize: time 0.03529/0.8565, allocations: 15.02 MB / 0.9655 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of [INI] Tearing: time 0.0019/0.8584, allocations: 0.9208 MB / 0.9664 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of [SIM] Initialization: time 3.126e-06/0.8584, allocations: 4 kB / 0.9664 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of [SIM] Remove Dummies: time 7.394e-05/0.8585, allocations: 12.41 kB / 0.9664 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of [SIM] Tearing: time 0.001347/0.8598, allocations: 0.8781 MB / 0.9673 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of [SIM] Categorize: time 7.515e-05/0.8599, allocations: 11.94 kB / 0.9673 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of [SIM] Solve: time 0.01381/0.8737, allocations: 5.465 MB / 0.9726 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of [SIM] Jacobian: time 0.02254/0.8963, allocations: 9.807 MB / 0.9822 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of [SIM] Minimize Homotopy System: time 2.775e-06/0.8963, allocations: 0 / 0.9822 GB, free: 14.86 MB / 0.9011 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 1 * Number of algebraic partitions: ............... 10 * Number of ODE event partitions: ............... 0 * 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) {heaTan.vol.dynBal.UOut, cooTan.vol.dynBal.UOut, dHTanEnh.y, dHTan.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 0 (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: ........... 505 (scalar:493, array:12, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 66 (resizable: 62, 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: ........... 559 (scalar:547, array:12, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:4) * Number of for-loop strong components: ......... 112 (resizable: 108, generic: 0, entwined:4) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 0.0004125/0.8967, allocations: 183.7 kB / 0.9824 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of SimCode: time 0.052/0.9487, allocations: 23.77 MB / 1.006 GB, free: 6.727 MB / 0.9167 GB Notification: Performance of Templates: time 0.1124/1.061, allocations: 39.98 MB / 1.045 GB, free: 15.3 MB / 0.9636 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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_StratifiedNonUniformInitial -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.StratifiedNonUniformInitial.o Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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_StratifiedNonUniformInitial -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.StratifiedNonUniformInitial_functions.o Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_functions.c Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_functions.c:2104:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 2104 | real_array_copy_data((0.3333333333333333) * ((&data->localData[0]->realVars[819] /* cooTan.vol[1].dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp30); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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.StratifiedNonUniformInitial_functions.c:2155:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 2155 | real_array_copy_data((0.3333333333333333) * ((&data->localData[0]->realVars[306] /* heaTan.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); | ^ 2 errors generated. make: *** [: Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 7.522035117261112]