Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001652/0.001652, 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.001966/0.001966, allocations: 217.7 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.382/1.382, allocations: 230.7 MB / 256.9 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.997/2.997, allocations: 0.4893 GB / 0.7952 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.626e-05, allocations: 4.531 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002099/0.002115, allocations: 1.334 MB / 1.156 GB, free: 24.56 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1689/0.171, allocations: 130.1 MB / 1.283 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.771e-05/0.1711, allocations: 4 kB / 1.283 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.462e-05/0.1711, allocations: 3.938 kB / 1.283 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.1713, allocations: 11.91 kB / 1.283 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.1724, allocations: 330.6 kB / 1.283 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.1725, allocations: 71.7 kB / 1.283 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.1725, allocations: 7.984 kB / 1.283 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.222e-05/0.1726, allocations: 27.97 kB / 1.283 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.871e-05/0.1727, allocations: 31.84 kB / 1.283 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.1727, allocations: 8 kB / 1.283 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008417/0.1735, allocations: 358.8 kB / 1.284 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of combineBinaries: time 0.0001289/0.1737, allocations: 95.22 kB / 1.284 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of replaceArrayConstructors: time 5.243e-05/0.1737, allocations: 55.3 kB / 1.284 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.873e-05/0.1737, allocations: 8 kB / 1.284 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.203e-05/0.1738, allocations: 0 / 1.284 GB, free: 13.41 MB / 0.9825 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.0006002/0.1744, allocations: 451.8 kB / 1.284 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of [SIM] FunctionAlias: time 7.334e-05/0.1744, allocations: 55.98 kB / 1.284 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of [SIM] Early Inline: time 0.0003921/0.1748, allocations: 276 kB / 1.284 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of [SIM] Simplify 1: time 0.0001496/0.175, allocations: 116.7 kB / 1.285 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of [SIM] Alias: time 0.0006465/0.1756, allocations: 328.3 kB / 1.285 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of [SIM] Simplify 2: time 0.0001785/0.1758, allocations: 144.8 kB / 1.285 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of [SIM] Remove Stream: time 8.417e-05/0.1759, allocations: 72.38 kB / 1.285 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of [SIM] Detect States: time 0.0002744/0.1762, allocations: 185.9 kB / 1.285 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of [SIM] Events: time 0.0001228/0.1763, allocations: 62.19 kB / 1.285 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of [SIM] Partitioning: time 0.0001785/0.1765, allocations: 124.1 kB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of [SIM] Causalize: time 0.001024/0.1775, allocations: 0.8221 MB / 1.286 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002679/0.1778, allocations: 288.2 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of [INI] Simplify: time 0.0003206/0.1781, allocations: 226.1 kB / 1.287 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of [INI] Inline: time 0.0004089/0.1785, allocations: 415.5 kB / 1.287 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of [INI] Partitioning: time 2.486e-05/0.1785, allocations: 16.12 kB / 1.287 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of [INI] Cleanup: time 6.791e-05/0.1786, allocations: 59.91 kB / 1.287 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of [INI] Causalize: time 0.00049/0.1791, allocations: 352.1 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of [INI] Tearing: time 1.506e-05/0.1791, allocations: 8 kB / 1.288 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of [SIM] Initialization: time 5.91e-07/0.1791, allocations: 0 / 1.288 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of [SIM] DAE-Mode: time 0.0001692/0.1792, allocations: 108.1 kB / 1.288 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of [SIM] Remove Dummies: time 6.422e-06/0.1793, allocations: 4 kB / 1.288 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of [SIM] Tearing: time 1.179e-05/0.1793, allocations: 19.94 kB / 1.288 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of [SIM] Categorize: time 7.414e-06/0.1793, allocations: 0 / 1.288 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of [SIM] Solve: time 0.0005331/0.1798, allocations: 373.5 kB / 1.288 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of [SIM] Jacobian: time 0.0006074/0.1804, allocations: 0.7698 MB / 1.289 GB, free: 7.484 MB / 0.9825 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.793e-05/0.1805, allocations: 29 kB / 1.289 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of SimCode: time 0.001481/0.1819, allocations: 0.8123 MB / 1.29 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of Templates: time 0.006998/0.1889, allocations: 3.086 MB / 1.293 GB, free: 3.512 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] make -j1 -f Buildings_12_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_12_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_12_Buildings.Media.Examples.AirDerivativeCheck.o Buildings_12_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_12_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_12_Buildings.Media.Examples.AirDerivativeCheck_functions.o Buildings_12_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_12_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_12_Buildings.Media.Examples.AirDerivativeCheck_records.o Buildings_12_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_12_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_12_Buildings.Media.Examples.AirDerivativeCheck_01exo.o Buildings_12_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_12_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_12_Buildings.Media.Examples.AirDerivativeCheck_02nls.o Buildings_12_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_12_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_12_Buildings.Media.Examples.AirDerivativeCheck_03lsy.o Buildings_12_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_12_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_12_Buildings.Media.Examples.AirDerivativeCheck_04set.o Buildings_12_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_12_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_12_Buildings.Media.Examples.AirDerivativeCheck_05evt.o Buildings_12_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_12_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_12_Buildings.Media.Examples.AirDerivativeCheck_06inz.o Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_06inz.c Buildings_12_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_12_Buildings.Media.Examples.AirDerivativeCheck_06inz.o] Error 1 [Calling os._exit(0), Time elapsed: 7.157303715008311] Failed to read output from testmodel.py, exit status != 0: 0.19609740702435374 0.21036696799999996 0.033716236000000004 Calling exit ...