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.001098/0.001098, allocations: 113.3 kB / 16.42 MB, free: 6.523 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.001079/0.001079, allocations: 188.2 kB / 17.36 MB, free: 5.746 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.164/1.164, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.591/0.591, allocations: 91.18 MB / 382.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.539e-05, allocations: 2.281 kB / 0.5174 GB, free: 4.176 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.3311/0.3312, allocations: 189.2 MB / 0.7022 GB, free: 5.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007275/0.3385, allocations: 7.333 MB / 0.7094 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005036/0.339, allocations: 27.81 kB / 0.7094 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008428/0.3398, allocations: 377.5 kB / 0.7097 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002824/0.3427, allocations: 1.292 MB / 0.711 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.344, allocations: 0.6617 MB / 0.7117 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003264/0.3473, allocations: 2.545 MB / 0.7141 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.3476, allocations: 206.1 kB / 0.7143 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003613/0.3512, allocations: 2.522 MB / 0.7168 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007282/0.352, allocations: 0.5797 MB / 0.7174 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.3521, allocations: 60 kB / 0.7174 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.3541, allocations: 1.213 MB / 0.7186 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0009112/0.355, allocations: 1.42 MB / 0.72 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0005249/0.3555, allocations: 0.9171 MB / 0.7209 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.3557, allocations: 139.5 kB / 0.721 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0001193/0.3558, allocations: 74.7 kB / 0.7211 GB, free: 2.387 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.003051/0.3589, allocations: 3.734 MB / 0.7247 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0002744/0.3592, allocations: 236.7 kB / 0.725 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.002852/0.362, allocations: 2.722 MB / 0.7276 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simplify1: time 0.000173/0.3622, allocations: 131.8 kB / 0.7278 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of Alias: time 0.002413/0.3647, allocations: 2.359 MB / 0.7301 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of simplify2: time 0.0001325/0.3648, allocations: 115.9 kB / 0.7302 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0005206/0.3653, allocations: 0.5413 MB / 0.7307 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of Events: time 0.0002587/0.3656, allocations: 194.8 kB / 0.7309 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0005317/0.3661, allocations: 0.5281 MB / 0.7314 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of Causalize: time 0.002239/0.3684, allocations: 2.201 MB / 0.7335 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.001093/0.3695, allocations: 1.221 MB / 0.7347 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of Inline: time 0.002499/0.372, allocations: 2.615 MB / 0.7373 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.000124/0.3721, allocations: 107.6 kB / 0.7374 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of Cleanup: time 0.0001258/0.3722, allocations: 103.9 kB / 0.7375 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of Causalize: time 0.225/0.5972, allocations: 3.276 MB / 0.7407 GB, free: 21.62 MB / 0.5762 GB Notification: Performance of Tearing: time 0.0005394/0.5978, allocations: 0.7601 MB / 0.7414 GB, free: 21.15 MB / 0.5762 GB Notification: Performance of Initialization: time 7.11e-07/0.5978, allocations: 0.6875 kB / 0.7414 GB, free: 21.15 MB / 0.5762 GB Notification: Performance of Tearing: time 0.0004729/0.5983, allocations: 0.7621 MB / 0.7422 GB, free: 20.69 MB / 0.5762 GB Notification: Performance of Categorize: time 1.649e-05/0.5983, allocations: 5.828 kB / 0.7422 GB, free: 20.69 MB / 0.5762 GB Notification: Performance of Solve: time 0.000541/0.5989, allocations: 310.3 kB / 0.7425 GB, free: 20.67 MB / 0.5762 GB Notification: Performance of Jacobian: time 0.0006611/0.5995, allocations: 1.019 MB / 0.7435 GB, free: 20.2 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: 2, nonlinear:0) 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: 2, nonlinear:0) Notification: Performance of backend: time 4.375e-05/0.5996, allocations: 36 kB / 0.7435 GB, free: 20.2 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003979/0.6036, allocations: 4.287 MB / 0.7477 GB, free: 18.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.01947/0.623, allocations: 14.08 MB / 0.7614 GB, free: 17.36 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