Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.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.002422/0.002422, 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.002631/0.002631, allocations: 165.3 kB / 24.98 MB, free: 8.762 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.702/1.702, allocations: 177.1 MB / 205.4 MB, free: 5.461 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.242/3.242, allocations: 389.5 MB / 0.6361 GB, free: 12.32 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.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.555e-05, allocations: 6.25 kB / 0.7759 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex): time 0.06396/0.06399, allocations: 37.11 MB / 0.8122 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.04237/0.1064, allocations: 16.3 MB / 0.8281 GB, free: 12 kB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00915/0.1155, allocations: 285.7 kB / 0.8283 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.005905/0.1214, allocations: 1.399 MB / 0.8297 GB, free: 14.32 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.01662/0.138, allocations: 4.539 MB / 0.8341 GB, free: 9.754 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.01309/0.1511, allocations: 4.302 MB / 0.8383 GB, free: 5.449 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.05217/0.2033, allocations: 34.44 MB / 0.872 GB, free: 2.941 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02628/0.2296, allocations: 11.66 MB / 0.8834 GB, free: 7.156 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03447/0.264, allocations: 12.91 MB / 0.896 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0203/0.2843, allocations: 8.123 MB / 0.9039 GB, free: 2.137 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.005721/0.2901, allocations: 1.156 MB / 0.905 GB, free: 0.9805 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01252/0.3026, allocations: 2.231 MB / 0.9072 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of combineBinaries: time 0.03285/0.3354, allocations: 15.23 MB / 0.9221 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of replaceArrayConstructors: time 0.01394/0.3494, allocations: 7.993 MB / 0.9299 GB, free: 7.422 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.005372/0.3547, allocations: 0.6719 MB / 0.9305 GB, free: 6.75 MB / 0.8855 GB Notification: Performance of FrontEnd: time 0.001352/0.3561, allocations: 163.4 kB / 0.9307 GB, free: 6.59 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3221 (1730) * Number of variables: 3221 (884) Notification: Performance of [SIM] Bindings: time 0.1018/0.4579, allocations: 51.06 MB / 0.9806 GB, free: 2.789 MB / 0.9323 GB Notification: Performance of [SIM] FunctionAlias: time 0.01992/0.4778, allocations: 9.66 MB / 0.99 GB, free: 9.195 MB / 0.948 GB Notification: Performance of [SIM] Early Inline: time 0.1025/0.5804, allocations: 44.65 MB / 1.034 GB, free: 12.37 MB / 0.9948 GB Notification: Performance of [SIM] Simplify 1: time 0.01094/0.5913, allocations: 3.825 MB / 1.037 GB, free: 8.398 MB / 0.9948 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.9928/1.584, allocations: 33.67 MB / 1.07 GB, free: 162 MB / 1.011 GB Notification: Performance of [SIM] Simplify 2: time 0.01076/1.595, allocations: 3.338 MB / 1.073 GB, free: 161.4 MB / 1.011 GB Notification: Performance of [SIM] Remove Stream: time 0.008638/1.604, allocations: 2.711 MB / 1.076 GB, free: 160.9 MB / 1.011 GB Notification: Performance of [SIM] Detect States: time 0.02497/1.628, allocations: 7.88 MB / 1.084 GB, free: 160.4 MB / 1.011 GB Notification: Performance of [SIM] Events: time 0.007223/1.636, allocations: 2.852 MB / 1.087 GB, free: 160.3 MB / 1.011 GB Notification: Performance of [SIM] Partitioning: time 0.02758/1.663, allocations: 11.54 MB / 1.098 GB, free: 158.3 MB / 1.011 GB Notification: Performance of [SIM] Causalize: time 0.08042/1.744, allocations: 39.75 MB / 1.137 GB, free: 150 MB / 1.011 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.04629/1.79, allocations: 27.36 MB / 1.163 GB, free: 133.7 MB / 1.011 GB Notification: Performance of [INI] Simplify: time 0.04197/1.832, allocations: 17.16 MB / 1.18 GB, free: 125.5 MB / 1.011 GB Notification: Performance of [INI] Inline: time 0.09263/1.925, allocations: 56.36 MB / 1.235 GB, free: 76.35 MB / 1.011 GB Notification: Performance of [INI] Partitioning: time 0.00244/1.927, allocations: 446.4 kB / 1.236 GB, free: 75.84 MB / 1.011 GB Notification: Performance of [INI] Cleanup: time 0.02039/1.947, allocations: 12.11 MB / 1.247 GB, free: 63.83 MB / 1.011 GB Notification: Performance of [INI] Causalize: time 0.1245/2.072, allocations: 58.01 MB / 1.304 GB, free: 7.914 MB / 1.011 GB Notification: Performance of [INI] Tearing: time 0.05666/2.129, allocations: 36.75 MB / 1.34 GB, free: 4.551 MB / 1.042 GB Notification: Performance of [SIM] Initialization: time 3.417e-06/2.129, allocations: 4 kB / 1.34 GB, free: 4.547 MB / 1.042 GB Notification: Performance of [SIM] Remove Dummies: time 0.0001434/2.129, allocations: 20.03 kB / 1.34 GB, free: 4.527 MB / 1.042 GB Notification: Performance of [SIM] Tearing: time 0.02412/2.153, allocations: 13.46 MB / 1.353 GB, free: 7.438 MB / 1.057 GB Notification: Performance of [SIM] Categorize: time 0.0002011/2.153, allocations: 31.03 kB / 1.353 GB, free: 7.414 MB / 1.057 GB Notification: Performance of [SIM] Solve: time 0.04963/2.203, allocations: 16.45 MB / 1.369 GB, free: 7.848 MB / 1.073 GB Notification: Performance of [SIM] Jacobian: time 0.09347/2.296, allocations: 47.79 MB / 1.416 GB, free: 8.84 MB / 1.12 GB Notification: Performance of [SIM] Minimize Homotopy System: time 8.878e-05/2.296, allocations: 0 / 1.416 GB, free: 8.84 MB / 1.12 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 40 * 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: ............................. 30 (6) {tanSte.vol.dynBal.UOut, tanDyn.vol.dynBal.UOut, tanDyn.indTanHex.vol.dynBal.UOut, tanDyn.indTanHex.cap.T, tanDynSol.vol.dynBal.UOut, tanDynSol.indTanHex.cap.T} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (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: ........... 926 (scalar:908, array:18, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 225 (resizable: 215, generic: 0, entwined:10) * Number of algebraic-loop strong components: ... 18 (linear: 0, nonlinear:18) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1017 (scalar:995, array:22, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 426 (resizable: 416, generic: 0, entwined:10) * Number of algebraic-loop strong components: ... 18 (linear: 0, nonlinear:18) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1023 (scalar:1001, array:22, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 426 (resizable: 416, generic: 0, entwined:10) * Number of algebraic-loop strong components: ... 15 (linear: 0, nonlinear:15) Notification: Performance of backend: time 0.001233/2.297, allocations: 0.5463 MB / 1.416 GB, free: 8.305 MB / 1.12 GB Notification: Performance of SimCode: time 1.257/3.555, allocations: 107.2 MB / 1.521 GB, free: 211.1 MB / 1.198 GB Notification: Performance of Templates: time 0.2843/3.839, allocations: 174.2 MB / 1.691 GB, free: 150.3 MB / 1.198 GB " [Timeout remaining time 296] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile [Timeout 300] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.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_Examples_StratifiedEnhancedInternalHex -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=33 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Buildings_13_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.o Buildings_13_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.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_Examples_StratifiedEnhancedInternalHex -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=33 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Buildings_13_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex_functions.o Buildings_13_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex_functions.c Buildings_13_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex_functions.c:9686:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 9686 | real_array_copy_data((0.5) * ((&data->localData[0]->realVars[1383] /* tanDyn.indTanHex.vol[1].dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp89); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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.Examples.StratifiedEnhancedInternalHex_functions.c:9809:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 9809 | real_array_copy_data((0.3333333333333333) * ((&data->localData[0]->realVars[1827] /* tanDynSol.vol[1].dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp90); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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.Examples.StratifiedEnhancedInternalHex_functions.c:9875:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 9875 | real_array_copy_data((0.3333333333333333) * ((&data->localData[0]->realVars[992] /* tanDyn.vol[1].dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp91); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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.Examples.StratifiedEnhancedInternalHex_functions.c:9941:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') 9941 | real_array_copy_data((0.3333333333333333) * ((&data->localData[0]->realVars[244] /* tanSte.vol[1].dynBal.mb_flow variable */)[_omcQ_24i1 - 1]), tmp92); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ^ 4 errors generated. make: *** [: Buildings_13_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 11.442530944012105]