Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001566/0.001566, 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.001678/0.001678, allocations: 218.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.425/1.425, allocations: 230.6 MB / 256.9 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.228/3.228, allocations: 0.5108 GB / 0.8167 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(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_latest_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_latest_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.383e-05, allocations: 6.219 kB / 1.187 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002236/0.00226, allocations: 1.331 MB / 1.188 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1786/0.1808, allocations: 130.1 MB / 1.315 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.917e-05/0.1809, allocations: 0 / 1.315 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.348e-05/0.1809, allocations: 3.984 kB / 1.315 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.1811, allocations: 19.84 kB / 1.315 GB, free: 15.87 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.1823, allocations: 322.7 kB / 1.316 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.1825, allocations: 75.69 kB / 1.316 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.1825, allocations: 4 kB / 1.316 GB, free: 15.47 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.813e-05/0.1826, allocations: 35.91 kB / 1.316 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.47e-05/0.1827, allocations: 35.83 kB / 1.316 GB, free: 15.4 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.1827, allocations: 0 / 1.316 GB, free: 15.4 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008458/0.1835, allocations: 358.8 kB / 1.316 GB, free: 15.05 MB / 1.014 GB Notification: Performance of combineBinaries: time 0.0001225/0.1836, allocations: 99.12 kB / 1.316 GB, free: 14.95 MB / 1.014 GB Notification: Performance of replaceArrayConstructors: time 5.409e-05/0.1837, allocations: 63.23 kB / 1.316 GB, free: 14.89 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.1837, allocations: 8 kB / 1.316 GB, free: 14.88 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.186e-05/0.1837, allocations: 0 / 1.316 GB, free: 14.88 MB / 1.014 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.0006901/0.1844, allocations: 439.9 kB / 1.317 GB, free: 14.33 MB / 1.014 GB Notification: Performance of [SIM] FunctionAlias: time 8.87e-05/0.1845, allocations: 60 kB / 1.317 GB, free: 14.26 MB / 1.014 GB Notification: Performance of [SIM] Early Inline: time 0.0004583/0.185, allocations: 280 kB / 1.317 GB, free: 13.96 MB / 1.014 GB Notification: Performance of [SIM] Simplify 1: time 0.0001767/0.1851, allocations: 120.6 kB / 1.317 GB, free: 13.8 MB / 1.014 GB Notification: Performance of [SIM] Alias: time 0.0007423/0.1859, allocations: 328.3 kB / 1.318 GB, free: 13.42 MB / 1.014 GB Notification: Performance of [SIM] Simplify 2: time 0.0002025/0.1861, allocations: 136.8 kB / 1.318 GB, free: 13.24 MB / 1.014 GB Notification: Performance of [SIM] Remove Stream: time 9.287e-05/0.1862, allocations: 68.39 kB / 1.318 GB, free: 13.14 MB / 1.014 GB Notification: Performance of [SIM] Detect States: time 0.0003203/0.1865, allocations: 184.4 kB / 1.318 GB, free: 12.91 MB / 1.014 GB Notification: Performance of [SIM] Events: time 0.0001464/0.1866, allocations: 69.12 kB / 1.318 GB, free: 12.84 MB / 1.014 GB Notification: Performance of [SIM] Partitioning: time 0.0001948/0.1868, allocations: 120.1 kB / 1.318 GB, free: 12.71 MB / 1.014 GB Notification: Performance of [SIM] Causalize: time 0.001165/0.188, allocations: 0.8327 MB / 1.319 GB, free: 11.79 MB / 1.014 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002935/0.1883, allocations: 279.7 kB / 1.319 GB, free: 11.52 MB / 1.014 GB Notification: Performance of [INI] Simplify: time 0.0003492/0.1887, allocations: 210.8 kB / 1.319 GB, free: 11.24 MB / 1.014 GB Notification: Performance of [INI] Inline: time 0.0004722/0.1891, allocations: 423.5 kB / 1.32 GB, free: 10.82 MB / 1.014 GB Notification: Performance of [INI] Partitioning: time 3.089e-05/0.1892, allocations: 24.06 kB / 1.32 GB, free: 10.79 MB / 1.014 GB Notification: Performance of [INI] Cleanup: time 9.294e-05/0.1892, allocations: 59.86 kB / 1.32 GB, free: 10.73 MB / 1.014 GB Notification: Performance of [INI] Causalize: time 0.0005317/0.1898, allocations: 336.2 kB / 1.32 GB, free: 10.4 MB / 1.014 GB Notification: Performance of [INI] Tearing: time 1.939e-05/0.1898, allocations: 12 kB / 1.32 GB, free: 10.39 MB / 1.014 GB Notification: Performance of [SIM] Initialization: time 7.61e-07/0.1898, allocations: 0 / 1.32 GB, free: 10.39 MB / 1.014 GB Notification: Performance of [SIM] DAE-Mode: time 0.000204/0.19, allocations: 112.1 kB / 1.32 GB, free: 10.26 MB / 1.014 GB Notification: Performance of [SIM] Remove Dummies: time 5.941e-06/0.19, allocations: 0 / 1.32 GB, free: 10.26 MB / 1.014 GB Notification: Performance of [SIM] Tearing: time 1.28e-05/0.19, allocations: 16 kB / 1.32 GB, free: 10.25 MB / 1.014 GB Notification: Performance of [SIM] Categorize: time 9.768e-06/0.19, allocations: 4 kB / 1.32 GB, free: 10.24 MB / 1.014 GB Notification: Performance of [SIM] Solve: time 0.0005791/0.1906, allocations: 365.6 kB / 1.321 GB, free: 9.887 MB / 1.014 GB Notification: Performance of [SIM] Jacobian: time 0.000672/0.1913, allocations: 0.7658 MB / 1.321 GB, free: 8.988 MB / 1.014 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 5.983e-05/0.1913, allocations: 40.42 kB / 1.321 GB, free: 8.953 MB / 1.014 GB Notification: Performance of SimCode: time 0.001879/0.1932, allocations: 0.817 MB / 1.322 GB, free: 8.078 MB / 1.014 GB Notification: Performance of Templates: time 0.00783/0.2011, allocations: 3.086 MB / 1.325 GB, free: 5.016 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Media.Examples.AirDerivativeCheck.o Buildings_latest_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_latest_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_latest_Buildings.Media.Examples.AirDerivativeCheck_functions.o Buildings_latest_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_latest_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_latest_Buildings.Media.Examples.AirDerivativeCheck_records.o Buildings_latest_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_latest_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_latest_Buildings.Media.Examples.AirDerivativeCheck_01exo.o Buildings_latest_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_latest_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_latest_Buildings.Media.Examples.AirDerivativeCheck_02nls.o Buildings_latest_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_latest_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_latest_Buildings.Media.Examples.AirDerivativeCheck_03lsy.o Buildings_latest_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_latest_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_latest_Buildings.Media.Examples.AirDerivativeCheck_04set.o Buildings_latest_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_latest_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_latest_Buildings.Media.Examples.AirDerivativeCheck_05evt.o Buildings_latest_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_latest_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_latest_Buildings.Media.Examples.AirDerivativeCheck_06inz.o Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_06inz.c Buildings_latest_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_latest_Buildings.Media.Examples.AirDerivativeCheck_06inz.o] Error 1 [Calling os._exit(0), Time elapsed: 7.609685511968564] Failed to read output from testmodel.py, exit status != 0: 0.209351273952052 0.224753676 0.037802439 Calling exit ...