Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity") translateModel(IBPSA.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0022/0.0022, allocations: 114 kB / 17.1 MB, free: 5.957 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.002853/0.002853, allocations: 192.8 kB / 18.03 MB, free: 5.035 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.575/1.575, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8281/0.8281, allocations: 115.3 MB / 407.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.31e-05/3.312e-05, allocations: 2.281 kB / 0.5583 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.2364/0.2364, allocations: 167.4 MB / 0.7218 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003337/0.2398, allocations: 1.569 MB / 0.7233 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000462/0.2403, allocations: 11.94 kB / 0.7233 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005936/0.2409, allocations: 150.8 kB / 0.7235 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.2429, allocations: 0.7429 MB / 0.7242 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.2449, allocations: 0.6029 MB / 0.7248 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001101/0.246, allocations: 0.7913 MB / 0.7256 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004894/0.2465, allocations: 261.2 kB / 0.7258 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000802/0.2473, allocations: 398.6 kB / 0.7262 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.2476, allocations: 227.1 kB / 0.7264 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.2477, allocations: 27.94 kB / 0.7264 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.2492, allocations: 0.8377 MB / 0.7272 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0005084/0.2497, allocations: 0.5956 MB / 0.7278 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0002816/0.25, allocations: 399.2 kB / 0.7282 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.282e-05/0.2501, allocations: 59.81 kB / 0.7283 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.864e-05/0.2502, allocations: 11.94 kB / 0.7283 GB, free: 1.926 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: 55 (53) * Number of variables: 55 (53) Notification: Performance of Bindings: time 0.001648/0.2519, allocations: 1.528 MB / 0.7298 GB, free: 296 kB / 0.5606 GB Notification: Performance of FunctionAlias: time 9.123e-05/0.252, allocations: 63.77 kB / 0.7298 GB, free: 232 kB / 0.5606 GB Notification: Performance of Early Inline: time 0.001113/0.2531, allocations: 0.9637 MB / 0.7308 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of simplify1: time 8.68e-05/0.2532, allocations: 67.91 kB / 0.7308 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of Alias: time 0.001447/0.2547, allocations: 1.096 MB / 0.7319 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of simplify2: time 7.262e-05/0.2547, allocations: 68.39 kB / 0.732 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of Events: time 0.0002112/0.255, allocations: 139.7 kB / 0.7321 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0002724/0.2552, allocations: 213 kB / 0.7323 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0003485/0.2556, allocations: 292.4 kB / 0.7326 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001299/0.2569, allocations: 1.112 MB / 0.7337 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0006344/0.2576, allocations: 0.6286 MB / 0.7343 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of Inline: time 0.001296/0.2589, allocations: 1.206 MB / 0.7355 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of Partitioning: time 6.129e-05/0.2589, allocations: 50.36 kB / 0.7355 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of Cleanup: time 5.389e-05/0.259, allocations: 55.92 kB / 0.7356 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001775/0.2608, allocations: 1.376 MB / 0.7369 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of Tearing: time 1.366e-05/0.2608, allocations: 0 / 0.7369 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of Initialization: time 5.1e-07/0.2608, allocations: 0 / 0.7369 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of Tearing: time 4.448e-06/0.2608, allocations: 0 / 0.7369 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of Categorize: time 1.996e-05/0.2608, allocations: 7.938 kB / 0.7369 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of Solve: time 0.0003877/0.2612, allocations: 217.9 kB / 0.7371 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of Jacobian: time 0.000444/0.2617, allocations: 403 kB / 0.7375 GB, free: 7.992 MB / 0.5762 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 5.709e-05/0.2618, allocations: 29.78 kB / 0.7375 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003387/0.2651, allocations: 2.29 MB / 0.7398 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of Templates: time 0.01201/0.2772, allocations: 5.636 MB / 0.7453 GB, free: 8 kB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.makefile make -j1 -f IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity_functions.o IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity_functions.c IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity_functions.c:757:31: error: use of undeclared identifier '_OMC_LIT16' tmpMeta2 = stringAppend(_OMC_LIT16,_modelName); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity_functions.c:758:40: error: use of undeclared identifier '_OMC_LIT17' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT17); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity_functions.c:760:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT18); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity_functions.c:777:35: error: use of undeclared identifier '_OMC_LIT19' tmpMeta7 = stringAppend(_OMC_LIT19,_mediumName); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity_functions.c:778:44: error: use of undeclared identifier '_OMC_LIT20' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT20); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity_functions.c:780:45: error: use of undeclared identifier '_OMC_LIT21' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT21); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity_functions.c:783:46: error: use of undeclared identifier '_OMC_LIT22' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT22); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity_functions.c:786:46: error: use of undeclared identifier '_OMC_LIT23' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT23); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity_functions.c:798:14: error: use of undeclared identifier '_OMC_LIT24' _X_str = _OMC_LIT24; ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity_functions.c:806:41: error: use of undeclared identifier '_OMC_LIT25' tmpMeta21 = stringAppend(_X_str,_OMC_LIT25); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity_functions.c:809:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT26); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity_functions.c:812:44: error: use of undeclared identifier '_OMC_LIT27' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT27); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity_functions.c:814:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT28); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity_functions.c:819:30: error: use of undeclared identifier '_OMC_LIT29' tmpMeta33 = stringAppend(_OMC_LIT29,_mediumName); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity_functions.c:820:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT20); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity_functions.c:822:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT28); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity_functions.c:823:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT30); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity_functions.c:826:40: error: use of undeclared identifier '_OMC_LIT31' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT31); ^ IBPSA_latest_IBPSA.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: *** [: IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity_functions.o] Error 1