Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001068/0.001069, allocations: 110.5 kB / 16.42 MB, free: 6.512 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.001039/0.001039, allocations: 183.2 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.103/1.103, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.855/1.855, allocations: 390.2 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.959e-06/9.979e-06, allocations: 4.812 kB / 0.9515 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.4871/0.4872, allocations: 167.4 MB / 1.115 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.4893, allocations: 1.564 MB / 1.116 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.4894, allocations: 17.34 kB / 1.116 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.4898, allocations: 146.3 kB / 1.117 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.4911, allocations: 0.7433 MB / 1.117 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.4921, allocations: 0.6079 MB / 1.118 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006554/0.4928, allocations: 0.7913 MB / 1.119 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003701/0.4932, allocations: 264.7 kB / 1.119 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004955/0.4937, allocations: 391.6 kB / 1.119 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.4939, allocations: 232.2 kB / 1.12 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.494, allocations: 22.56 kB / 1.12 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009741/0.495, allocations: 0.84 MB / 1.12 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of combineBinaries: time 0.0004075/0.4954, allocations: 0.5932 MB / 1.121 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of replaceArrayConstructors: time 0.0001969/0.4956, allocations: 397.5 kB / 1.121 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.56e-05/0.4957, allocations: 59.12 kB / 1.121 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.503e-05/0.4957, allocations: 10.25 kB / 1.121 GB, free: 6.332 MB / 0.8575 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.001097/0.4968, allocations: 1.541 MB / 1.123 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of FunctionAlias: time 6.558e-05/0.4969, allocations: 55.38 kB / 1.123 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of Early Inline: time 0.0008161/0.4977, allocations: 0.9658 MB / 1.124 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of simplify1: time 6.571e-05/0.4978, allocations: 75.58 kB / 1.124 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of Alias: time 0.001115/0.4989, allocations: 1.083 MB / 1.125 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of simplify2: time 6.473e-05/0.499, allocations: 75.64 kB / 1.125 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of Detect States: time 0.0001883/0.4992, allocations: 181.3 kB / 1.125 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of Events: time 0.0001704/0.4993, allocations: 139 kB / 1.125 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.0002311/0.4996, allocations: 292.5 kB / 1.126 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of Causalize: time 0.0009977/0.5006, allocations: 1.1 MB / 1.127 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of After Index Reduction Inline: time 0.0004641/0.5011, allocations: 0.6418 MB / 1.127 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of Inline: time 0.0008821/0.5019, allocations: 1.205 MB / 1.129 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of Partitioning: time 4.679e-05/0.502, allocations: 56.33 kB / 1.129 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of Cleanup: time 3.745e-05/0.502, allocations: 52.2 kB / 1.129 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of Causalize: time 0.00125/0.5033, allocations: 1.377 MB / 1.13 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of Tearing: time 9.177e-06/0.5033, allocations: 0 / 1.13 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of Initialization: time 3.5e-07/0.5033, allocations: 0 / 1.13 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of Tearing: time 4.549e-06/0.5033, allocations: 7.875 kB / 1.13 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of Categorize: time 9.537e-06/0.5033, allocations: 3.469 kB / 1.13 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of Solve: time 0.0002613/0.5036, allocations: 206.2 kB / 1.13 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of Jacobian: time 0.0002789/0.5039, allocations: 426.4 kB / 1.131 GB, free: 3.941 MB / 0.8575 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.22e-05/0.5039, allocations: 30.11 kB / 1.131 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of SimCode: time 0.00186/0.5058, allocations: 2.306 MB / 1.133 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of Templates: time 0.007715/0.5135, allocations: 5.626 MB / 1.138 GB, free: 2.281 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.Fluid.Sensors.Examples.Velocity.o Buildings_9_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_9_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_9_Buildings.Fluid.Sensors.Examples.Velocity_functions.o Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_functions.c Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:757:31: error: use of undeclared identifier '_OMC_LIT16' tmpMeta2 = stringAppend(_OMC_LIT16,_modelName); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:758:40: error: use of undeclared identifier '_OMC_LIT17' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT17); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:760:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT18); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:777:35: error: use of undeclared identifier '_OMC_LIT19' tmpMeta7 = stringAppend(_OMC_LIT19,_mediumName); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:778:44: error: use of undeclared identifier '_OMC_LIT20' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT20); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:780:45: error: use of undeclared identifier '_OMC_LIT21' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT21); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:783:46: error: use of undeclared identifier '_OMC_LIT22' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT22); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:786:46: error: use of undeclared identifier '_OMC_LIT23' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT23); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:798:14: error: use of undeclared identifier '_OMC_LIT24' _X_str = _OMC_LIT24; ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:806:41: error: use of undeclared identifier '_OMC_LIT25' tmpMeta21 = stringAppend(_X_str,_OMC_LIT25); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:809:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT26); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:812:44: error: use of undeclared identifier '_OMC_LIT27' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT27); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:814:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT28); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:819:30: error: use of undeclared identifier '_OMC_LIT29' tmpMeta33 = stringAppend(_OMC_LIT29,_mediumName); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:820:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT20); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:822:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT28); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:823:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT30); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:826:40: error: use of undeclared identifier '_OMC_LIT31' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT31); ^ Buildings_9_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_9_Buildings.Fluid.Sensors.Examples.Velocity_functions.o] Error 1