Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") translateModel(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 107.2 kB / 16.42 MB, free: 5.504 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.0008923/0.0008923, allocations: 190.4 kB / 17.35 MB, free: 5.176 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.139/1.139, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00181/0.00181, allocations: 278.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8189/0.8189, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161e-05/1.162e-05, allocations: 6.219 kB / 0.682 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.3815/0.3816, allocations: 167.4 MB / 0.8455 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002093/0.3837, allocations: 1.565 MB / 0.847 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.3839, allocations: 11.94 kB / 0.847 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003684/0.3842, allocations: 150.8 kB / 0.8472 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.3854, allocations: 0.7 MB / 0.8479 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.3865, allocations: 0.6086 MB / 0.8485 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007/0.3872, allocations: 0.7874 MB / 0.8492 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003418/0.3876, allocations: 273.1 kB / 0.8495 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004891/0.3881, allocations: 390.6 kB / 0.8499 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.3883, allocations: 223.2 kB / 0.8501 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.3884, allocations: 27.94 kB / 0.8501 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009457/0.3893, allocations: 0.8338 MB / 0.8509 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.0003781/0.3897, allocations: 0.5924 MB / 0.8515 GB, free: 464 kB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.0002072/0.3899, allocations: 399 kB / 0.8519 GB, free: 60 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.628e-05/0.39, allocations: 59.81 kB / 0.8519 GB, free: 0 / 0.6075 GB Notification: Performance of FrontEnd: time 5.634e-05/0.3901, allocations: 19.98 kB / 0.852 GB, free: 15.98 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 (53) * Number of variables: 55 (53) Notification: Performance of Bindings: time 0.001204/0.3913, allocations: 1.531 MB / 0.8535 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of FunctionAlias: time 6.139e-05/0.3913, allocations: 55.88 kB / 0.8535 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of Early Inline: time 0.0008219/0.3922, allocations: 0.9668 MB / 0.8544 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of simplify1: time 6.82e-05/0.3922, allocations: 79.83 kB / 0.8545 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of Alias: time 0.001085/0.3933, allocations: 1.09 MB / 0.8556 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of simplify2: time 6.741e-05/0.3934, allocations: 67.92 kB / 0.8557 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of Events: time 0.0001655/0.3936, allocations: 137.7 kB / 0.8558 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of Detect States: time 0.0002131/0.3938, allocations: 201.2 kB / 0.856 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of Partitioning: time 0.0002558/0.3941, allocations: 293.2 kB / 0.8563 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of Causalize: time 0.001076/0.3952, allocations: 1.105 MB / 0.8573 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of After Index Reduction Inline: time 0.0005015/0.3957, allocations: 0.6441 MB / 0.858 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of Inline: time 0.0009778/0.3967, allocations: 1.193 MB / 0.8591 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of Partitioning: time 4.928e-05/0.3967, allocations: 54.34 kB / 0.8592 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of Cleanup: time 4.447e-05/0.3968, allocations: 59.88 kB / 0.8592 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of Causalize: time 0.001362/0.3981, allocations: 1.377 MB / 0.8606 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of Tearing: time 7.173e-06/0.3981, allocations: 3.938 kB / 0.8606 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of Initialization: time 2.7e-07/0.3982, allocations: 0 / 0.8606 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of Tearing: time 3.016e-06/0.3982, allocations: 4 kB / 0.8606 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of Categorize: time 8.556e-06/0.3982, allocations: 0 / 0.8606 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of Solve: time 0.000289/0.3985, allocations: 217.9 kB / 0.8608 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of Jacobian: time 0.0003306/0.3988, allocations: 410.8 kB / 0.8612 GB, free: 6.078 MB / 0.6231 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 1 * 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) {senDyn.d} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 9 (9) {$SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 42 (scalar:32, array:10, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 52 (scalar:42, array:10, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.76e-05/0.3989, allocations: 34.48 kB / 0.8612 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of SimCode: time 0.002052/0.4009, allocations: 2.3 MB / 0.8635 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of Templates: time 0.008296/0.4092, allocations: 5.69 MB / 0.869 GB, free: 14.05 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.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=BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.o BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.c 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=BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.o BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:757:31: error: use of undeclared identifier '_OMC_LIT16' tmpMeta2 = stringAppend(_OMC_LIT16,_modelName); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:758:40: error: use of undeclared identifier '_OMC_LIT17' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT17); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:760:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT18); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:777:35: error: use of undeclared identifier '_OMC_LIT19' tmpMeta7 = stringAppend(_OMC_LIT19,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:778:44: error: use of undeclared identifier '_OMC_LIT20' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT20); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:780:45: error: use of undeclared identifier '_OMC_LIT21' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT21); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:783:46: error: use of undeclared identifier '_OMC_LIT22' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT22); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:786:46: error: use of undeclared identifier '_OMC_LIT23' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT23); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:798:14: error: use of undeclared identifier '_OMC_LIT24' _X_str = _OMC_LIT24; ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:806:41: error: use of undeclared identifier '_OMC_LIT25' tmpMeta21 = stringAppend(_X_str,_OMC_LIT25); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:809:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT26); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:812:44: error: use of undeclared identifier '_OMC_LIT27' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT27); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:814:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT28); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:819:30: error: use of undeclared identifier '_OMC_LIT29' tmpMeta33 = stringAppend(_OMC_LIT29,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:820:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT20); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:822:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT28); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:823:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT30); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:826:40: error: use of undeclared identifier '_OMC_LIT31' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT31); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:922:3: warning: implicit declaration of function 'ModelicaError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaError(MMC_STRINGDATA(_string)); ^ 1 warning and 18 errors generated. make: *** [: BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.o] Error 1