Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 104.9 kB / 16.42 MB, free: 6.492 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.002187/0.002187, allocations: 189.9 kB / 17.35 MB, free: 5.754 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.52/1.52, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9548/0.9548, allocations: 91.19 MB / 382.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.339e-05/4.341e-05, allocations: 5.234 kB / 0.5174 GB, free: 4.188 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.6612/0.6612, allocations: 145.3 MB / 0.6594 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005403/0.6667, allocations: 3.335 MB / 0.6626 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005633/0.6673, allocations: 15.88 kB / 0.6626 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008427/0.6682, allocations: 210.6 kB / 0.6628 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.6697, allocations: 0.4933 MB / 0.6633 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.6709, allocations: 382.7 kB / 0.6637 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001067/0.6719, allocations: 0.8203 MB / 0.6645 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002406/0.6722, allocations: 124.6 kB / 0.6646 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006961/0.6729, allocations: 366.4 kB / 0.6649 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004001/0.6733, allocations: 342.6 kB / 0.6653 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.161e-05/0.6734, allocations: 40 kB / 0.6653 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.6747, allocations: 0.6238 MB / 0.6659 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.0007431/0.6754, allocations: 0.7842 MB / 0.6667 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.0003976/0.6758, allocations: 0.5351 MB / 0.6672 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.134e-05/0.6759, allocations: 79.75 kB / 0.6673 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.0001356/0.6761, allocations: 39.86 kB / 0.6673 GB, free: 9.633 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: 83 (77) * Number of variables: 83 (83) Notification: Performance of Bindings: time 0.002363/0.6785, allocations: 2.286 MB / 0.6696 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 0.0002/0.6787, allocations: 124 kB / 0.6697 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.001433/0.6801, allocations: 1.396 MB / 0.671 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of simplify1: time 0.0001044/0.6802, allocations: 95.89 kB / 0.6711 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of Alias: time 0.001968/0.6822, allocations: 1.602 MB / 0.6727 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of simplify2: time 8.759e-05/0.6823, allocations: 83.91 kB / 0.6728 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of Events: time 0.000268/0.6826, allocations: 189.1 kB / 0.6729 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of Detect States: time 0.0004882/0.6831, allocations: 332.3 kB / 0.6733 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.0005466/0.6836, allocations: 424.6 kB / 0.6737 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of Causalize: time 0.002344/0.686, allocations: 1.708 MB / 0.6753 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of After Index Reduction Inline: time 0.001095/0.6871, allocations: 0.9651 MB / 0.6763 GB, free: 292 kB / 0.5137 GB Notification: Performance of Inline: time 0.002028/0.6891, allocations: 1.799 MB / 0.678 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.0001112/0.6892, allocations: 87.61 kB / 0.6781 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of Cleanup: time 8.491e-05/0.6893, allocations: 75.86 kB / 0.6782 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of Causalize: time 0.00303/0.6924, allocations: 2.397 MB / 0.6805 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of Tearing: time 0.0003526/0.6927, allocations: 310.1 kB / 0.6808 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of Initialization: time 4.41e-07/0.6927, allocations: 0 / 0.6808 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of Tearing: time 0.0002602/0.693, allocations: 310.2 kB / 0.6811 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of Categorize: time 1.723e-05/0.693, allocations: 0 / 0.6811 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of Solve: time 0.0005034/0.6935, allocations: 239.1 kB / 0.6814 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of Jacobian: time 0.0007559/0.6943, allocations: 0.6846 MB / 0.682 GB, free: 10.23 MB / 0.5294 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: ................. 13 (13) {$SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_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: ........... 63 (scalar:63, 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: ........... 83 (scalar:83, 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 0.0001456/0.6945, allocations: 33.25 kB / 0.6821 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of SimCode: time 0.003229/0.6977, allocations: 2.535 MB / 0.6845 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of Templates: time 0.01453/0.7122, allocations: 6.866 MB / 0.6912 GB, free: 0.7891 MB / 0.5294 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.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_Undirected_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.Undirected.FlowControl.Tests.CheckValve.o ThermofluidStream_ThermofluidStream.Undirected.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_Undirected_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.Undirected.FlowControl.Tests.CheckValve_functions.o ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_functions.c ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_functions.c:464:53: error: use of undeclared identifier '_OMC_LIT24' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT24)); ^ 1 error generated. make: *** [: ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_functions.o] Error 1