Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_10_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.0009742/0.0009743, allocations: 105.6 kB / 16.42 MB, free: 5.945 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.0008546/0.0008547, allocations: 187.4 kB / 17.36 MB, free: 5.547 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.131/1.131, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.061/2.061, allocations: 437 MB / 0.7111 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182e-05/1.184e-05, allocations: 2.281 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.5517/0.5517, allocations: 167.4 MB / 1.183 GB, free: 7.105 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002405/0.5541, allocations: 1.558 MB / 1.184 GB, free: 5.828 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.5543, allocations: 14.59 kB / 1.184 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004197/0.5548, allocations: 152 kB / 1.184 GB, free: 5.688 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.5562, allocations: 0.7346 MB / 1.185 GB, free: 5.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.5575, allocations: 0.6054 MB / 1.186 GB, free: 4.695 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0007298/0.5582, allocations: 0.7963 MB / 1.186 GB, free: 4.23 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003519/0.5586, allocations: 280.4 kB / 1.187 GB, free: 4.051 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005239/0.5591, allocations: 382.6 kB / 1.187 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.5594, allocations: 230.2 kB / 1.187 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.214e-05/0.5594, allocations: 23.91 kB / 1.187 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.5605, allocations: 0.8336 MB / 1.188 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of combineBinaries: time 0.0004019/0.5609, allocations: 0.5934 MB / 1.189 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of replaceArrayConstructors: time 0.0002236/0.5611, allocations: 409 kB / 1.189 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.402e-05/0.5612, allocations: 57.03 kB / 1.189 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.737e-05/0.5612, allocations: 10.06 kB / 1.189 GB, free: 2.531 MB / 0.8887 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.001264/0.5625, allocations: 1.539 MB / 1.191 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of FunctionAlias: time 6.727e-05/0.5626, allocations: 55.52 kB / 1.191 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of Early Inline: time 0.000793/0.5634, allocations: 0.9627 MB / 1.192 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of simplify1: time 5.873e-05/0.5634, allocations: 67.33 kB / 1.192 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of Alias: time 0.001052/0.5645, allocations: 1.095 MB / 1.193 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of simplify2: time 5.841e-05/0.5646, allocations: 70.56 kB / 1.193 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of Detect States: time 0.000278/0.5649, allocations: 183.5 kB / 1.193 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of Events: time 0.0001645/0.565, allocations: 139.1 kB / 1.193 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of Partitioning: time 0.0002384/0.5653, allocations: 293.3 kB / 1.193 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of Causalize: time 0.00103/0.5663, allocations: 1.103 MB / 1.194 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of After Index Reduction Inline: time 0.000477/0.5668, allocations: 0.6376 MB / 1.195 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of Inline: time 0.001059/0.5679, allocations: 1.249 MB / 1.196 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of Partitioning: time 4.624e-05/0.5679, allocations: 46.61 kB / 1.196 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of Cleanup: time 4.486e-05/0.568, allocations: 55.39 kB / 1.196 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of Causalize: time 0.001271/0.5692, allocations: 1.378 MB / 1.198 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of Tearing: time 1.012e-05/0.5693, allocations: 0 / 1.198 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of Initialization: time 3e-07/0.5693, allocations: 0 / 1.198 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of Tearing: time 5.651e-06/0.5693, allocations: 6.812 kB / 1.198 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of Categorize: time 1.185e-05/0.5693, allocations: 2.938 kB / 1.198 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of Solve: time 0.0002785/0.5696, allocations: 218.4 kB / 1.198 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of Jacobian: time 0.000326/0.5699, allocations: 414.9 kB / 1.198 GB, free: 12.12 MB / 0.9044 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.062e-05/0.57, allocations: 38.28 kB / 1.198 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of SimCode: time 0.002251/0.5722, allocations: 2.307 MB / 1.201 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of Templates: time 0.008114/0.5803, allocations: 5.64 MB / 1.206 GB, free: 7.539 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.makefile make -j1 -f Buildings_10_Buildings.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=Buildings_10_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_10_Buildings.Fluid.Sensors.Examples.Velocity.o Buildings_10_Buildings.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=Buildings_10_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_10_Buildings.Fluid.Sensors.Examples.Velocity_functions.o Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_functions.c Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:757:31: error: use of undeclared identifier '_OMC_LIT16' tmpMeta2 = stringAppend(_OMC_LIT16,_modelName); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:758:40: error: use of undeclared identifier '_OMC_LIT17' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT17); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:760:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT18); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:777:35: error: use of undeclared identifier '_OMC_LIT19' tmpMeta7 = stringAppend(_OMC_LIT19,_mediumName); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:778:44: error: use of undeclared identifier '_OMC_LIT20' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT20); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:780:45: error: use of undeclared identifier '_OMC_LIT21' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT21); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:783:46: error: use of undeclared identifier '_OMC_LIT22' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT22); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:786:46: error: use of undeclared identifier '_OMC_LIT23' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT23); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:798:14: error: use of undeclared identifier '_OMC_LIT24' _X_str = _OMC_LIT24; ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:806:41: error: use of undeclared identifier '_OMC_LIT25' tmpMeta21 = stringAppend(_X_str,_OMC_LIT25); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:809:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT26); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:812:44: error: use of undeclared identifier '_OMC_LIT27' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT27); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:814:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT28); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:819:30: error: use of undeclared identifier '_OMC_LIT29' tmpMeta33 = stringAppend(_OMC_LIT29,_mediumName); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:820:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT20); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:822:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT28); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:823:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT30); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:826:40: error: use of undeclared identifier '_OMC_LIT31' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT31); ^ Buildings_10_Buildings.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: *** [: Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_functions.o] Error 1