Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001614/0.001614, allocations: 100.3 kB / 20.51 MB, free: 1.305 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.00173/0.00173, allocations: 213.4 kB / 23.81 MB, free: 4.449 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.411/1.411, allocations: 230.7 MB / 257.6 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9106/0.9106, allocations: 149.9 MB / 463.9 MB, free: 10.3 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck") translateModel(IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.346e-05, allocations: 5.688 kB / 0.6424 GB, free: 9.605 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002584/0.002608, allocations: 1.342 MB / 0.6437 GB, free: 8.281 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.4832/0.4858, allocations: 130 MB / 0.7707 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.849e-05/0.4858, allocations: 0.7656 kB / 0.7707 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.46e-05/0.4858, allocations: 6.672 kB / 0.7707 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.4859, allocations: 18.05 kB / 0.7707 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009042/0.4869, allocations: 323.5 kB / 0.771 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.487, allocations: 71.44 kB / 0.7711 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.487, allocations: 12.58 kB / 0.7711 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.173e-05/0.487, allocations: 28.72 kB / 0.7711 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.599e-05/0.4871, allocations: 31.3 kB / 0.7711 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.4871, allocations: 2.969 kB / 0.7711 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006097/0.4877, allocations: 355.2 kB / 0.7715 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0001046/0.4878, allocations: 106.8 kB / 0.7716 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 3.456e-05/0.4879, allocations: 55.44 kB / 0.7716 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.495e-05/0.4879, allocations: 10.62 kB / 0.7716 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.069e-05/0.4879, allocations: 2.266 kB / 0.7716 GB, free: 7.578 MB / 0.5762 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.0004681/0.4884, allocations: 453.8 kB / 0.7721 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of [SIM] FunctionAlias: time 5.847e-05/0.4884, allocations: 65.36 kB / 0.7721 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of [SIM] Early Inline: time 0.0003415/0.4888, allocations: 270.5 kB / 0.7724 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of [SIM] Simplify 1: time 9.979e-05/0.4889, allocations: 111.9 kB / 0.7725 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of [SIM] Alias: time 0.0005636/0.4894, allocations: 336.8 kB / 0.7728 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of [SIM] Simplify 2: time 0.0001185/0.4896, allocations: 136.5 kB / 0.7729 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of [SIM] Remove Stream: time 5.452e-05/0.4896, allocations: 66.27 kB / 0.773 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of [SIM] Detect States: time 0.0002211/0.4898, allocations: 174.9 kB / 0.7732 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of [SIM] Events: time 0.0001053/0.4899, allocations: 75.55 kB / 0.7732 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of [SIM] Partitioning: time 0.0001264/0.4901, allocations: 119.3 kB / 0.7734 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of [SIM] Causalize: time 0.0007412/0.4908, allocations: 0.8273 MB / 0.7742 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002091/0.491, allocations: 279.4 kB / 0.7744 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of [INI] Simplify: time 0.0002251/0.4912, allocations: 222.8 kB / 0.7746 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of [INI] Inline: time 0.0003338/0.4916, allocations: 418.9 kB / 0.775 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of [INI] Partitioning: time 1.989e-05/0.4916, allocations: 26.2 kB / 0.7751 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of [INI] Cleanup: time 5.858e-05/0.4916, allocations: 60.41 kB / 0.7751 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of [INI] Causalize: time 0.0004281/0.4921, allocations: 343.5 kB / 0.7755 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of [INI] Tearing: time 1.554e-05/0.4921, allocations: 11.41 kB / 0.7755 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of [SIM] Initialization: time 4.2e-07/0.4921, allocations: 0 / 0.7755 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of [SIM] DAE-Mode: time 0.0001437/0.4922, allocations: 101.3 kB / 0.7756 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of [SIM] Remove Dummies: time 5.17e-06/0.4922, allocations: 4 kB / 0.7756 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of [SIM] Tearing: time 1.226e-05/0.4923, allocations: 18.64 kB / 0.7756 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of [SIM] Categorize: time 1.07e-05/0.4923, allocations: 5.062 kB / 0.7756 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of [SIM] Solve: time 0.0004967/0.4928, allocations: 364.7 kB / 0.7759 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of [SIM] Jacobian: time 0.0003558/0.4931, allocations: 0.7759 MB / 0.7767 GB, free: 5.055 MB / 0.5762 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.08e-05/0.4932, allocations: 28.41 kB / 0.7767 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of SimCode: time 0.00123/0.4944, allocations: 0.8093 MB / 0.7775 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of Templates: time 0.00648/0.5009, allocations: 3.083 MB / 0.7805 GB, free: 4.324 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] make -j1 -f IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck_functions.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck_records.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck_01exo.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck_02nls.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck_03lsy.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck_04set.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck_05evt.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck_06inz.o IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck_06inz.c IBPSA_latest_IBPSA.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: *** [: IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck_06inz.o] Error 1 [Calling os._exit(0), Time elapsed: 4.794355917023495] Failed to read output from testmodel.py, exit status != 0: 0.5083915130235255 0.5192128779999999 0.029039506000000003 Calling exit ...