Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.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.001448/0.001448, allocations: 104.3 kB / 19.77 MB, free: 2.051 MB / 14.72 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.001574/0.001574, allocations: 216.5 kB / 23.07 MB, free: 4.844 MB / 14.72 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.324/1.324, allocations: 230.6 MB / 256.9 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.492/2.492, allocations: 476 MB / 0.7708 GB, free: 4.648 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.654e-05, allocations: 5.094 kB / 1.118 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001762/0.001779, allocations: 1.327 MB / 1.119 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1386/0.1404, allocations: 130.1 MB / 1.246 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.1405, allocations: 1.438 kB / 1.246 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.315e-05/0.1405, allocations: 6.234 kB / 1.246 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.695e-05/0.1406, allocations: 13.09 kB / 1.246 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.1417, allocations: 328.3 kB / 1.247 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.1418, allocations: 71.27 kB / 1.247 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.654e-05/0.1419, allocations: 4.422 kB / 1.247 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.191e-05/0.1419, allocations: 32.33 kB / 1.247 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.003e-05/0.142, allocations: 36.77 kB / 1.247 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.142, allocations: 6.156 kB / 1.247 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007704/0.1428, allocations: 359 kB / 1.247 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of combineBinaries: time 0.0001149/0.1429, allocations: 97.17 kB / 1.247 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of replaceArrayConstructors: time 4.578e-05/0.1429, allocations: 55.72 kB / 1.247 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.143, allocations: 7.188 kB / 1.247 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.978e-06/0.143, allocations: 1.125 kB / 1.247 GB, free: 4.449 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 (12) * Number of variables: 12 (12) Notification: Performance of [SIM] Bindings: time 0.0007338/0.1437, allocations: 452.1 kB / 1.248 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of [SIM] FunctionAlias: time 8.37e-05/0.1438, allocations: 55.61 kB / 1.248 GB, free: 4 MB / 0.9512 GB Notification: Performance of [SIM] Early Inline: time 0.0004208/0.1442, allocations: 279.5 kB / 1.248 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of [SIM] Simplify 1: time 0.0001511/0.1444, allocations: 110 kB / 1.248 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of [SIM] Alias: time 0.0006553/0.145, allocations: 342.8 kB / 1.248 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of [SIM] Simplify 2: time 0.00017/0.1452, allocations: 134.8 kB / 1.248 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of [SIM] Remove Stream: time 9.368e-05/0.1453, allocations: 62.53 kB / 1.249 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of [SIM] Detect States: time 0.0002765/0.1455, allocations: 187.3 kB / 1.249 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of [SIM] Events: time 0.0001241/0.1457, allocations: 68.38 kB / 1.249 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of [SIM] Partitioning: time 0.000179/0.1459, allocations: 122.2 kB / 1.249 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of [SIM] Causalize: time 0.001027/0.1469, allocations: 0.8275 MB / 1.25 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002954/0.1472, allocations: 283.4 kB / 1.25 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of [INI] Simplify: time 0.0003336/0.1475, allocations: 217.1 kB / 1.25 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of [INI] Inline: time 0.0004661/0.148, allocations: 427.2 kB / 1.251 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of [INI] Partitioning: time 2.516e-05/0.148, allocations: 15.02 kB / 1.251 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of [INI] Cleanup: time 8.516e-05/0.1481, allocations: 55.23 kB / 1.251 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of [INI] Causalize: time 0.0005269/0.1486, allocations: 342.1 kB / 1.251 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of [INI] Tearing: time 2.493e-05/0.1486, allocations: 15.75 kB / 1.251 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of [SIM] Initialization: time 1.032e-06/0.1486, allocations: 0 / 1.251 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of [SIM] DAE-Mode: time 0.0001732/0.1488, allocations: 107.8 kB / 1.251 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of [SIM] Remove Dummies: time 3.987e-06/0.1488, allocations: 1.594 kB / 1.251 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of [SIM] Tearing: time 1.16e-05/0.1488, allocations: 22.28 kB / 1.251 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of [SIM] Categorize: time 7.064e-06/0.1488, allocations: 1.797 kB / 1.251 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of [SIM] Solve: time 0.0005447/0.1494, allocations: 363.1 kB / 1.251 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of [SIM] Jacobian: time 0.0006184/0.15, allocations: 0.7763 MB / 1.252 GB, free: 1.074 MB / 0.9512 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 2 * 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: ............................. 5 (5) {hLiqSym, hSteSym, hAirSym, cpSym, cvSym} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {$SEV_4, $SEV_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: ........... 18 (scalar:16, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 23 (scalar:21, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.397e-05/0.15, allocations: 22.59 kB / 1.252 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001543/0.1516, allocations: 0.8221 MB / 1.253 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of Templates: time 0.006889/0.1585, allocations: 3.102 MB / 1.256 GB, free: 268 kB / 0.9512 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] make -j1 -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_11_Buildings_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.o Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_11_Buildings_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_functions.o Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_functions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_11_Buildings_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_records.o Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_11_Buildings_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_01exo.o Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_11_Buildings_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_02nls.o Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_02nls.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_11_Buildings_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_03lsy.o Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_03lsy.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_11_Buildings_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_04set.o Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_04set.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_11_Buildings_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_05evt.o Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_05evt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_11_Buildings_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_06inz.o Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_06inz.c Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_06inz.c:192:24: error: passing 'double' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') real_array_copy_data((0.01) * ((3.0) * ((tmp5 * tmp5))), tmp6); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/generic_array.h:48:76: note: expanded from macro 'real_array_copy_data' #define real_array_copy_data(src,dst) simple_array_copy_data(src, &dst, sizeof(modelica_real)); ^~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/generic_array.h:46:48: note: passing argument to parameter 'src' here void simple_array_copy_data(const base_array_t src, base_array_t* dst, size_t sze); ^ 1 error generated. make: *** [: Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_06inz.o] Error 1 [Calling os._exit(0), Time elapsed: 6.547044718987308] Failed to read output from testmodel.py, exit status != 0: 0.5929903889773414 0.17900353500000002 0.033317398000000005 Calling exit ...