Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.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.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 98.77 kB / 16.42 MB, free: 6.516 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.001142/0.001142, allocations: 192.2 kB / 17.35 MB, free: 5.758 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.515/1.515, 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.8925/0.8925, allocations: 91.18 MB / 382.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/2.927e-05, allocations: 2.281 kB / 0.5174 GB, free: 4.195 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.6284/0.6284, allocations: 143.8 MB / 0.6578 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004885/0.6333, allocations: 3.592 MB / 0.6613 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000456/0.6338, allocations: 19.88 kB / 0.6614 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007306/0.6346, allocations: 174.9 kB / 0.6615 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.6358, allocations: 377.7 kB / 0.6619 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009098/0.6367, allocations: 295 kB / 0.6622 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006704/0.6374, allocations: 0.5633 MB / 0.6627 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.6376, allocations: 88.81 kB / 0.6628 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005585/0.6382, allocations: 242.9 kB / 0.663 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/0.6385, allocations: 223 kB / 0.6632 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.328e-05/0.6385, allocations: 24 kB / 0.6633 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.6396, allocations: 0.538 MB / 0.6638 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.0005059/0.6401, allocations: 0.6265 MB / 0.6644 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.0002422/0.6404, allocations: 401.9 kB / 0.6648 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.207e-05/0.6405, allocations: 59.81 kB / 0.6649 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.000143/0.6406, allocations: 39.86 kB / 0.6649 GB, free: 12.11 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 (48) * Number of variables: 51 (51) Notification: Performance of Bindings: time 0.001968/0.6426, allocations: 1.66 MB / 0.6665 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 0.0001241/0.6427, allocations: 64.25 kB / 0.6666 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.0008035/0.6435, allocations: 0.7552 MB / 0.6673 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of simplify1: time 6.43e-05/0.6436, allocations: 51.94 kB / 0.6674 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of Alias: time 0.001537/0.6452, allocations: 1.062 MB / 0.6684 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of simplify2: time 4.515e-05/0.6452, allocations: 43.94 kB / 0.6684 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of Events: time 0.0001409/0.6454, allocations: 84.72 kB / 0.6685 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of Detect States: time 0.0002856/0.6457, allocations: 197.9 kB / 0.6687 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.0002449/0.6459, allocations: 215.4 kB / 0.6689 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of Causalize: time 0.001108/0.647, allocations: 0.8485 MB / 0.6697 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of After Index Reduction Inline: time 0.0004626/0.6475, allocations: 498.3 kB / 0.6702 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of Inline: time 0.001174/0.6487, allocations: 1.073 MB / 0.6713 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of Partitioning: time 6.555e-05/0.6488, allocations: 58.36 kB / 0.6713 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of Cleanup: time 4.007e-05/0.6488, allocations: 39.95 kB / 0.6714 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of Causalize: time 0.001572/0.6504, allocations: 1.289 MB / 0.6726 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of Tearing: time 0.0003197/0.6507, allocations: 306.1 kB / 0.6729 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of Initialization: time 4.11e-07/0.6507, allocations: 4 kB / 0.6729 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of Tearing: time 0.0002559/0.651, allocations: 308.2 kB / 0.6732 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of Categorize: time 1.016e-05/0.651, allocations: 4 kB / 0.6732 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of Solve: time 0.000234/0.6512, allocations: 126.4 kB / 0.6733 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of Jacobian: time 0.0003977/0.6516, allocations: 447 kB / 0.6738 GB, free: 2.676 MB / 0.5137 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * 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: ............................. 1 (1) {checkValve.m_flow} * Number of discrete states: .................... 2 (2) {pulse.T_start, pulse.count} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (4) {$SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 30 (scalar:30, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 48 (scalar:48, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 5.857e-05/0.6517, allocations: 34.98 kB / 0.6738 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of SimCode: time 0.002453/0.6542, allocations: 2.032 MB / 0.6758 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of Templates: time 0.01133/0.6655, allocations: 4.694 MB / 0.6804 GB, free: 11.91 MB / 0.5294 GB make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.makefile make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_FlowControl_Tests_CheckValve -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.o ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_FlowControl_Tests_CheckValve -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_functions.o ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_functions.c ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_functions.c:288:53: error: use of undeclared identifier '_OMC_LIT21' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT21)); ^ 1 error generated. make: *** [: ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_functions.o] Error 1