Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sawTooth.T_start|sawTooth.count|sawTooth1.T_start|sawTooth1.count|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.inlet.m_flow|transportDelay1.x",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay") translateModel(ThermofluidStream.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sawTooth.T_start|sawTooth.count|sawTooth1.T_start|sawTooth1.count|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.inlet.m_flow|transportDelay1.x",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001829/0.00183, allocations: 104.2 kB / 16.42 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002021/0.002021, allocations: 190 kB / 17.36 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9212/0.9212, allocations: 91.18 MB / 382.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.444e-05/3.445e-05, allocations: 2.281 kB / 0.5174 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.6612/0.6613, allocations: 189.2 MB / 0.7022 GB, free: 5.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00956/0.6709, allocations: 7.34 MB / 0.7094 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.6722, allocations: 31.75 kB / 0.7094 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.6735, allocations: 365.5 kB / 0.7097 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004651/0.6781, allocations: 1.276 MB / 0.711 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.6803, allocations: 0.6719 MB / 0.7116 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005314/0.6857, allocations: 2.534 MB / 0.7141 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004731/0.6862, allocations: 211.8 kB / 0.7143 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005195/0.6914, allocations: 2.515 MB / 0.7168 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.6926, allocations: 0.5758 MB / 0.7173 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.6927, allocations: 56 kB / 0.7174 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003867/0.6966, allocations: 1.209 MB / 0.7186 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.001206/0.6978, allocations: 1.432 MB / 0.72 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0005802/0.6984, allocations: 0.9067 MB / 0.7209 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002765/0.6987, allocations: 135.5 kB / 0.721 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0003195/0.699, allocations: 75.78 kB / 0.7211 GB, free: 2.418 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 (112) * Number of variables: 118 (118) Notification: Performance of Bindings: time 0.003947/0.703, allocations: 3.739 MB / 0.7247 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0003409/0.7033, allocations: 232.7 kB / 0.7249 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.003494/0.7068, allocations: 2.725 MB / 0.7276 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0001642/0.707, allocations: 139.8 kB / 0.7277 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of Alias: time 0.003113/0.7101, allocations: 2.355 MB / 0.73 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of simplify2: time 0.0001212/0.7103, allocations: 111.9 kB / 0.7301 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of Events: time 0.0004001/0.7107, allocations: 297.8 kB / 0.7304 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0005985/0.7113, allocations: 480.5 kB / 0.7309 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0006387/0.7119, allocations: 0.5281 MB / 0.7314 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of Causalize: time 0.002627/0.7146, allocations: 2.2 MB / 0.7335 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.001331/0.7159, allocations: 1.21 MB / 0.7347 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of Inline: time 0.002874/0.7188, allocations: 2.621 MB / 0.7373 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0001349/0.719, allocations: 115.6 kB / 0.7374 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of Cleanup: time 0.0001107/0.7191, allocations: 99.89 kB / 0.7375 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of Causalize: time 0.5298/1.249, allocations: 3.272 MB / 0.7407 GB, free: 21.62 MB / 0.5762 GB Notification: Performance of Tearing: time 0.0007716/1.25, allocations: 0.6043 MB / 0.7413 GB, free: 21.16 MB / 0.5762 GB Notification: Performance of Initialization: time 1.643e-06/1.25, allocations: 1.469 kB / 0.7413 GB, free: 21.16 MB / 0.5762 GB Notification: Performance of Tearing: time 0.0006109/1.25, allocations: 0.6036 MB / 0.7419 GB, free: 20.71 MB / 0.5762 GB Notification: Performance of Categorize: time 4.67e-05/1.25, allocations: 2.688 kB / 0.7419 GB, free: 20.71 MB / 0.5762 GB Notification: Performance of Solve: time 0.001064/1.251, allocations: 311 kB / 0.7422 GB, free: 20.7 MB / 0.5762 GB Notification: Performance of Jacobian: time 0.001262/1.253, allocations: 1.02 MB / 0.7432 GB, free: 20.23 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: ............................. 4 (4) {transportDelay.x, transportDelay1.x, transportDelay.m_flow, transportDelay1.m_flow} * Number of discrete states: .................... 4 (4) {sawTooth1.T_start, sawTooth1.count, sawTooth.T_start, sawTooth.count} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 8 (8) {$SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 70 (scalar:70, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, if:0, tuple:4) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 108 (scalar:108, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:4) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 0.0001127/1.253, allocations: 38.25 kB / 0.7432 GB, free: 20.22 MB / 0.5762 GB Notification: Performance of SimCode: time 0.007897/1.261, allocations: 4.232 MB / 0.7473 GB, free: 18.73 MB / 0.5762 GB Notification: Performance of Templates: time 0.03465/1.295, allocations: 14.23 MB / 0.7612 GB, free: 17.46 MB / 0.5762 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.makefile make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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=ThermofluidStream_ThermofluidStream_Processes_Tests_TransportDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.o ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.c ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.c:947:1: warning: 'optnone' attribute only applies to functions and Objective-C methods [-Wignored-attributes] OMC_DISABLE_OPT ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/../openmodelica.h:187:40: note: expanded from macro 'OMC_DISABLE_OPT' #define OMC_DISABLE_OPT __attribute__((optnone)) ^ 1 warning generated. clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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=ThermofluidStream_ThermofluidStream_Processes_Tests_TransportDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_functions.o ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_functions.c ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_functions.c:78:29: error: use of undeclared identifier '_OMC_LIT0' tmpMeta2 = stringAppend(_OMC_LIT0,tmp1); ^ ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_functions.c:79:38: error: use of undeclared identifier '_OMC_LIT1' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT1); ^ ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_functions.c:80:38: error: use of undeclared identifier '_OMC_LIT2' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT2); ^ ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_functions.c:83:38: error: use of undeclared identifier '_OMC_LIT1' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT1); ^ ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_functions.c:84:38: error: use of undeclared identifier '_OMC_LIT3' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT3); ^ ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_functions.c:87:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta11 = stringAppend(tmpMeta10,_OMC_LIT1); ^ ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_functions.c:88:40: error: use of undeclared identifier '_OMC_LIT4' tmpMeta12 = stringAppend(tmpMeta11,_OMC_LIT4); ^ ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_functions.c:91:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta15 = stringAppend(tmpMeta14,_OMC_LIT1); ^ ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_functions.c:92:40: error: use of undeclared identifier '_OMC_LIT5' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT5); ^ ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_functions.c:417:3: warning: implicit declaration of function 'ModelicaError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaError(MMC_STRINGDATA(_string)); ^ ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_functions.c:585:99: error: use of undeclared identifier '_OMC_LIT25' tmpMeta2 = mmc_mk_box11(2, &ThermofluidStream_Media_myMedia_IdealGases_Common_DataRecord__desc, _OMC_LIT25, _OMC_LIT26, _OMC_LIT27, _OMC_LIT28, _OMC_LIT29, mmc_mk_modelica_array(_OMC_LIT31), mmc_mk_modelica_array(_OMC_LIT32), mmc_mk_modelica_array(_OMC_LIT33), mmc_mk_modelica_array(_OMC_LIT34), _OMC_LIT30); ^ ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_functions.c:585:111: error: use of undeclared identifier '_OMC_LIT26' tmpMeta2 = mmc_mk_box11(2, &ThermofluidStream_Media_myMedia_IdealGases_Common_DataRecord__desc, _OMC_LIT25, _OMC_LIT26, _OMC_LIT27, _OMC_LIT28, _OMC_LIT29, mmc_mk_modelica_array(_OMC_LIT31), mmc_mk_modelica_array(_OMC_LIT32), mmc_mk_modelica_array(_OMC_LIT33), mmc_mk_modelica_array(_OMC_LIT34), _OMC_LIT30); ^ ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_functions.c:585:123: error: use of undeclared identifier '_OMC_LIT27' tmpMeta2 = mmc_mk_box11(2, &ThermofluidStream_Media_myMedia_IdealGases_Common_DataRecord__desc, _OMC_LIT25, _OMC_LIT26, _OMC_LIT27, _OMC_LIT28, _OMC_LIT29, mmc_mk_modelica_array(_OMC_LIT31), mmc_mk_modelica_array(_OMC_LIT32), mmc_mk_modelica_array(_OMC_LIT33), mmc_mk_modelica_array(_OMC_LIT34), _OMC_LIT30); ^ ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_functions.c:585:135: error: use of undeclared identifier '_OMC_LIT28' tmpMeta2 = mmc_mk_box11(2, &ThermofluidStream_Media_myMedia_IdealGases_Common_DataRecord__desc, _OMC_LIT25, _OMC_LIT26, _OMC_LIT27, _OMC_LIT28, _OMC_LIT29, mmc_mk_modelica_array(_OMC_LIT31), mmc_mk_modelica_array(_OMC_LIT32), mmc_mk_modelica_array(_OMC_LIT33), mmc_mk_modelica_array(_OMC_LIT34), _OMC_LIT30); ^ ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_functions.c:585:147: error: use of undeclared identifier '_OMC_LIT29' tmpMeta2 = mmc_mk_box11(2, &ThermofluidStream_Media_myMedia_IdealGases_Common_DataRecord__desc, _OMC_LIT25, _OMC_LIT26, _OMC_LIT27, _OMC_LIT28, _OMC_LIT29, mmc_mk_modelica_array(_OMC_LIT31), mmc_mk_modelica_array(_OMC_LIT32), mmc_mk_modelica_array(_OMC_LIT33), mmc_mk_modelica_array(_OMC_LIT34), _OMC_LIT30); ^ ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_functions.c:585:181: error: use of undeclared identifier '_OMC_LIT31' tmpMeta2 = mmc_mk_box11(2, &ThermofluidStream_Media_myMedia_IdealGases_Common_DataRecord__desc, _OMC_LIT25, _OMC_LIT26, _OMC_LIT27, _OMC_LIT28, _OMC_LIT29, mmc_mk_modelica_array(_OMC_LIT31), mmc_mk_modelica_array(_OMC_LIT32), mmc_mk_modelica_array(_OMC_LIT33), mmc_mk_modelica_array(_OMC_LIT34), _OMC_LIT30); ^ ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_functions.c:585:216: error: use of undeclared identifier '_OMC_LIT32' tmpMeta2 = mmc_mk_box11(2, &ThermofluidStream_Media_myMedia_IdealGases_Common_DataRecord__desc, _OMC_LIT25, _OMC_LIT26, _OMC_LIT27, _OMC_LIT28, _OMC_LIT29, mmc_mk_modelica_array(_OMC_LIT31), mmc_mk_modelica_array(_OMC_LIT32), mmc_mk_modelica_array(_OMC_LIT33), mmc_mk_modelica_array(_OMC_LIT34), _OMC_LIT30); ^ ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_functions.c:585:251: error: use of undeclared identifier '_OMC_LIT33' tmpMeta2 = mmc_mk_box11(2, &ThermofluidStream_Media_myMedia_IdealGases_Common_DataRecord__desc, _OMC_LIT25, _OMC_LIT26, _OMC_LIT27, _OMC_LIT28, _OMC_LIT29, mmc_mk_modelica_array(_OMC_LIT31), mmc_mk_modelica_array(_OMC_LIT32), mmc_mk_modelica_array(_OMC_LIT33), mmc_mk_modelica_array(_OMC_LIT34), _OMC_LIT30); ^ ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_functions.c:585:286: error: use of undeclared identifier '_OMC_LIT34' tmpMeta2 = mmc_mk_box11(2, &ThermofluidStream_Media_myMedia_IdealGases_Common_DataRecord__desc, _OMC_LIT25, _OMC_LIT26, _OMC_LIT27, _OMC_LIT28, _OMC_LIT29, mmc_mk_modelica_array(_OMC_LIT31), mmc_mk_modelica_array(_OMC_LIT32), mmc_mk_modelica_array(_OMC_LIT33), mmc_mk_modelica_array(_OMC_LIT34), _OMC_LIT30); ^ ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_functions.c:585:299: error: use of undeclared identifier '_OMC_LIT30' tmpMeta2 = mmc_mk_box11(2, &ThermofluidStream_Media_myMedia_IdealGases_Common_DataRecord__desc, _OMC_LIT25, _OMC_LIT26, _OMC_LIT27, _OMC_LIT28, _OMC_LIT29, mmc_mk_modelica_array(_OMC_LIT31), mmc_mk_modelica_array(_OMC_LIT32), mmc_mk_modelica_array(_OMC_LIT33), mmc_mk_modelica_array(_OMC_LIT34), _OMC_LIT30); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. make: *** [: ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_functions.o] Error 1