Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(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_latest_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_latest_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.001106/0.001106, allocations: 112.3 kB / 16.42 MB, free: 6.488 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.001057/0.001057, allocations: 185.9 kB / 17.35 MB, free: 5.754 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.117/1.117, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.143/2.143, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003e-05/1.003e-05, allocations: 2.281 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.515/0.515, allocations: 167.4 MB / 1.218 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00225/0.5173, allocations: 1.563 MB / 1.22 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003143/0.5176, allocations: 11.94 kB / 1.22 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003937/0.5181, allocations: 151.2 kB / 1.22 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.5194, allocations: 0.7097 MB / 1.221 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.5207, allocations: 0.5965 MB / 1.221 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000755/0.5214, allocations: 0.7978 MB / 1.222 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003614/0.5218, allocations: 255.3 kB / 1.222 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000577/0.5224, allocations: 389.5 kB / 1.222 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/0.5227, allocations: 231.8 kB / 1.223 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.5227, allocations: 25 kB / 1.223 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.5239, allocations: 0.8303 MB / 1.224 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of combineBinaries: time 0.000398/0.5243, allocations: 0.5939 MB / 1.224 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of replaceArrayConstructors: time 0.0002402/0.5245, allocations: 407.7 kB / 1.225 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.5246, allocations: 59.12 kB / 1.225 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.853e-05/0.5247, allocations: 8.656 kB / 1.225 GB, free: 7.422 MB / 0.9356 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.001226/0.5259, allocations: 1.534 MB / 1.226 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of FunctionAlias: time 8.165e-05/0.526, allocations: 63.3 kB / 1.226 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of Early Inline: time 0.0008247/0.5268, allocations: 0.9582 MB / 1.227 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of simplify1: time 7.044e-05/0.5269, allocations: 73.06 kB / 1.227 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of Alias: time 0.001088/0.528, allocations: 1.08 MB / 1.228 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of simplify2: time 7.457e-05/0.5281, allocations: 72.09 kB / 1.228 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of Events: time 0.0001671/0.5283, allocations: 151.5 kB / 1.228 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of Detect States: time 0.0002109/0.5285, allocations: 217.4 kB / 1.229 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of Partitioning: time 0.0002507/0.5287, allocations: 282.6 kB / 1.229 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of Causalize: time 0.00108/0.5298, allocations: 1.107 MB / 1.23 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of After Index Reduction Inline: time 0.0005132/0.5304, allocations: 0.6403 MB / 1.231 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of Inline: time 0.001036/0.5314, allocations: 1.194 MB / 1.232 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of Partitioning: time 4.881e-05/0.5315, allocations: 58.28 kB / 1.232 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of Cleanup: time 5.191e-05/0.5315, allocations: 51.92 kB / 1.232 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of Causalize: time 0.001422/0.5329, allocations: 1.368 MB / 1.233 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of Tearing: time 8.276e-06/0.533, allocations: 4 kB / 1.233 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of Initialization: time 4.1e-07/0.533, allocations: 0 / 1.233 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of Tearing: time 3.376e-06/0.533, allocations: 4 kB / 1.233 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of Categorize: time 1.277e-05/0.533, allocations: 7.938 kB / 1.233 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of Solve: time 0.000312/0.5333, allocations: 209.8 kB / 1.233 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of Jacobian: time 0.0003339/0.5336, allocations: 414.9 kB / 1.234 GB, free: 14.99 MB / 0.9512 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.58e-05/0.5337, allocations: 32.91 kB / 1.234 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of SimCode: time 0.002168/0.5359, allocations: 2.296 MB / 1.236 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of Templates: time 0.00846/0.5443, allocations: 5.63 MB / 1.242 GB, free: 7.012 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Fluid.Sensors.Examples.Velocity.o Buildings_latest_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_latest_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_latest_Buildings.Fluid.Sensors.Examples.Velocity_functions.o Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_functions.c Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:757:31: error: use of undeclared identifier '_OMC_LIT16' tmpMeta2 = stringAppend(_OMC_LIT16,_modelName); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:758:40: error: use of undeclared identifier '_OMC_LIT17' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT17); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:760:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT18); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:777:35: error: use of undeclared identifier '_OMC_LIT19' tmpMeta7 = stringAppend(_OMC_LIT19,_mediumName); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:778:44: error: use of undeclared identifier '_OMC_LIT20' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT20); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:780:45: error: use of undeclared identifier '_OMC_LIT21' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT21); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:783:46: error: use of undeclared identifier '_OMC_LIT22' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT22); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:786:46: error: use of undeclared identifier '_OMC_LIT23' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT23); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:798:14: error: use of undeclared identifier '_OMC_LIT24' _X_str = _OMC_LIT24; ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:806:41: error: use of undeclared identifier '_OMC_LIT25' tmpMeta21 = stringAppend(_X_str,_OMC_LIT25); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:809:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT26); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:812:44: error: use of undeclared identifier '_OMC_LIT27' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT27); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:814:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT28); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:819:30: error: use of undeclared identifier '_OMC_LIT29' tmpMeta33 = stringAppend(_OMC_LIT29,_mediumName); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:820:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT20); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:822:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT28); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:823:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT30); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:826:40: error: use of undeclared identifier '_OMC_LIT31' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT31); ^ Buildings_latest_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_latest_Buildings.Fluid.Sensors.Examples.Velocity_functions.o] Error 1