Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001156/0.001157, allocations: 106.1 kB / 16.38 MB, free: 6.484 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.001203/0.001203, allocations: 190.5 kB / 17.31 MB, free: 5.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.723/1.723, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.686e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.6372/0.6373, allocations: 167.4 MB / 0.8363 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003718/0.641, allocations: 1.559 MB / 0.8378 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003989/0.6415, allocations: 15.03 kB / 0.8379 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000646/0.6421, allocations: 150.8 kB / 0.838 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002322/0.6445, allocations: 0.7017 MB / 0.8387 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.6465, allocations: 0.603 MB / 0.8393 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009857/0.6475, allocations: 0.794 MB / 0.8401 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004664/0.648, allocations: 276 kB / 0.8403 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006855/0.6487, allocations: 382.8 kB / 0.8407 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.6491, allocations: 250 kB / 0.8409 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.206e-05/0.6491, allocations: 24.38 kB / 0.8409 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.6504, allocations: 0.8315 MB / 0.8418 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.0005189/0.6509, allocations: 0.5919 MB / 0.8423 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.0002384/0.6512, allocations: 394.1 kB / 0.8427 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.451e-05/0.6512, allocations: 58.12 kB / 0.8428 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of FrontEnd: time 5.92e-05/0.6513, allocations: 14.78 kB / 0.8428 GB, free: 41.47 MB / 0.6544 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.001353/0.6527, allocations: 1.5 MB / 0.8442 GB, free: 40.75 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 8.348e-05/0.6528, allocations: 60.58 kB / 0.8443 GB, free: 40.75 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.0009623/0.6537, allocations: 0.9525 MB / 0.8452 GB, free: 40.65 MB / 0.6544 GB Notification: Performance of simplify1: time 7.156e-05/0.6538, allocations: 74.09 kB / 0.8453 GB, free: 40.64 MB / 0.6544 GB Notification: Performance of Alias: time 0.001146/0.655, allocations: 1.001 MB / 0.8463 GB, free: 40.25 MB / 0.6544 GB Notification: Performance of simplify2: time 7.02e-05/0.655, allocations: 76.67 kB / 0.8464 GB, free: 40.24 MB / 0.6544 GB Notification: Performance of Events: time 0.0002072/0.6553, allocations: 142.7 kB / 0.8465 GB, free: 40.21 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0002496/0.6555, allocations: 214.5 kB / 0.8467 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0003144/0.6558, allocations: 283.4 kB / 0.847 GB, free: 40.05 MB / 0.6544 GB Notification: Performance of Causalize: time 0.001711/0.6576, allocations: 1.604 MB / 0.8485 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.0006365/0.6582, allocations: 0.6312 MB / 0.8491 GB, free: 39.65 MB / 0.6544 GB Notification: Performance of Inline: time 0.001213/0.6594, allocations: 1.189 MB / 0.8503 GB, free: 39.49 MB / 0.6544 GB Notification: Performance of Partitioning: time 6.056e-05/0.6595, allocations: 57.28 kB / 0.8504 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of Cleanup: time 4.756e-05/0.6596, allocations: 51 kB / 0.8504 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of Causalize: time 0.001745/0.6613, allocations: 1.748 MB / 0.8521 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of Tearing: time 8.096e-06/0.6613, allocations: 0 / 0.8521 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of Initialization: time 3.21e-07/0.6613, allocations: 0 / 0.8521 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of Tearing: time 3.116e-06/0.6613, allocations: 1.219 kB / 0.8521 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of Categorize: time 1.67e-05/0.6614, allocations: 6.344 kB / 0.8521 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of Solve: time 0.0003516/0.6617, allocations: 222.9 kB / 0.8523 GB, free: 39.19 MB / 0.6544 GB Notification: Performance of Jacobian: time 0.0003688/0.6621, allocations: 392.2 kB / 0.8527 GB, free: 38.95 MB / 0.6544 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 4.335e-05/0.6621, allocations: 32.95 kB / 0.8527 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002807/0.665, allocations: 2.281 MB / 0.855 GB, free: 37.86 MB / 0.6544 GB Notification: Performance of Templates: time 0.009665/0.6746, allocations: 5.545 MB / 0.8604 GB, free: 36.98 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.makefile make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.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=Buildings_8_Buildings_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 Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.o Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.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=Buildings_8_Buildings_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 Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity_functions.o Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity_functions.c Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:757:31: error: use of undeclared identifier '_OMC_LIT16' tmpMeta2 = stringAppend(_OMC_LIT16,_modelName); ^ Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:758:40: error: use of undeclared identifier '_OMC_LIT17' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT17); ^ Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:760:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT18); ^ Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:777:35: error: use of undeclared identifier '_OMC_LIT19' tmpMeta7 = stringAppend(_OMC_LIT19,_mediumName); ^ Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:778:44: error: use of undeclared identifier '_OMC_LIT20' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT20); ^ Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:780:45: error: use of undeclared identifier '_OMC_LIT21' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT21); ^ Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:783:46: error: use of undeclared identifier '_OMC_LIT22' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT22); ^ Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:786:46: error: use of undeclared identifier '_OMC_LIT23' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT23); ^ Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:798:14: error: use of undeclared identifier '_OMC_LIT24' _X_str = _OMC_LIT24; ^ Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:806:41: error: use of undeclared identifier '_OMC_LIT25' tmpMeta21 = stringAppend(_X_str,_OMC_LIT25); ^ Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:809:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT26); ^ Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:812:44: error: use of undeclared identifier '_OMC_LIT27' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT27); ^ Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:814:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT28); ^ Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:819:30: error: use of undeclared identifier '_OMC_LIT29' tmpMeta33 = stringAppend(_OMC_LIT29,_mediumName); ^ Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:820:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT20); ^ Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:822:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT28); ^ Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:823:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT30); ^ Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:826:40: error: use of undeclared identifier '_OMC_LIT31' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT31); ^ 18 errors generated. make: *** [: Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity_functions.o] Error 1