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.001141/0.001141, allocations: 108 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.00134/0.001341, allocations: 187.2 kB / 17.35 MB, free: 5.703 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.264/1.264, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6716/0.6716, allocations: 91.19 MB / 382.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.534e-05, allocations: 2.281 kB / 0.5174 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.3665/0.3666, allocations: 145.3 MB / 0.6593 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00382/0.3704, allocations: 3.334 MB / 0.6626 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.3707, allocations: 23.88 kB / 0.6626 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005798/0.3713, allocations: 210.6 kB / 0.6628 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008857/0.3722, allocations: 0.4972 MB / 0.6633 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007907/0.373, allocations: 390.7 kB / 0.6637 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007612/0.3738, allocations: 0.8136 MB / 0.6645 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.374, allocations: 122.4 kB / 0.6646 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005949/0.3746, allocations: 374.3 kB / 0.665 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003881/0.375, allocations: 346.6 kB / 0.6653 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.271e-05/0.3751, allocations: 36 kB / 0.6653 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.3761, allocations: 0.6277 MB / 0.6659 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.000522/0.3766, allocations: 0.785 MB / 0.6667 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.0002948/0.3769, allocations: 0.5312 MB / 0.6672 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.377, allocations: 83.75 kB / 0.6673 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.000115/0.3772, allocations: 39.86 kB / 0.6673 GB, free: 9.566 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.00199/0.3792, allocations: 2.289 MB / 0.6696 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 0.0001482/0.3793, allocations: 118 kB / 0.6697 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.001403/0.3807, allocations: 1.39 MB / 0.671 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of simplify1: time 9.363e-05/0.3808, allocations: 103.9 kB / 0.6711 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of Alias: time 0.001764/0.3826, allocations: 1.592 MB / 0.6727 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of simplify2: time 7.364e-05/0.3827, allocations: 83.91 kB / 0.6728 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of Detect States: time 0.0003144/0.383, allocations: 304.7 kB / 0.6731 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of Events: time 0.0002205/0.3832, allocations: 192.5 kB / 0.6732 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.0004398/0.3837, allocations: 419.4 kB / 0.6736 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of Causalize: time 0.001702/0.3854, allocations: 1.702 MB / 0.6753 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of After Index Reduction Inline: time 0.0007756/0.3862, allocations: 0.9651 MB / 0.6763 GB, free: 268 kB / 0.5137 GB Notification: Performance of Inline: time 0.00166/0.3879, allocations: 1.797 MB / 0.678 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of Partitioning: time 9.157e-05/0.388, allocations: 91.61 kB / 0.6781 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of Cleanup: time 6.847e-05/0.388, allocations: 79.89 kB / 0.6782 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of Causalize: time 0.002589/0.3906, allocations: 2.396 MB / 0.6805 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of Tearing: time 0.0003845/0.391, allocations: 394 kB / 0.6809 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of Initialization: time 5.31e-07/0.391, allocations: 0 / 0.6809 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of Tearing: time 0.0003087/0.3913, allocations: 394.2 kB / 0.6813 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of Categorize: time 7.865e-06/0.3914, allocations: 4 kB / 0.6813 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of Solve: time 0.0003462/0.3917, allocations: 239.1 kB / 0.6815 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of Jacobian: time 0.0005832/0.3923, allocations: 0.6807 MB / 0.6822 GB, free: 10.03 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: 1, nonlinear:0) 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: 1, nonlinear:0) Notification: Performance of backend: time 0.0001053/0.3924, allocations: 30.84 kB / 0.6822 GB, free: 10 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002819/0.3952, allocations: 2.562 MB / 0.6847 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of Templates: time 0.01156/0.4068, allocations: 6.743 MB / 0.6913 GB, free: 0.6953 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