Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 109.1 kB / 16.42 MB, free: 6.434 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.001072/0.001072, allocations: 185.5 kB / 17.36 MB, free: 5.684 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.15/1.15, 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.105/2.105, allocations: 437 MB / 0.7111 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.527e-05, allocations: 6.219 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5509/0.551, allocations: 167.4 MB / 1.183 GB, free: 7.148 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002275/0.5533, allocations: 1.548 MB / 1.184 GB, free: 5.887 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/0.5535, allocations: 12.06 kB / 1.184 GB, free: 5.883 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.5539, allocations: 155.2 kB / 1.184 GB, free: 5.746 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.5552, allocations: 0.7302 MB / 1.185 GB, free: 5.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.5564, allocations: 0.6042 MB / 1.186 GB, free: 4.758 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0007486/0.5571, allocations: 0.7773 MB / 1.186 GB, free: 4.309 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004047/0.5575, allocations: 256 kB / 1.187 GB, free: 4.152 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005489/0.5581, allocations: 382.8 kB / 1.187 GB, free: 3.941 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.5584, allocations: 228.7 kB / 1.187 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.289e-05/0.5584, allocations: 23.38 kB / 1.187 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.5596, allocations: 0.8281 MB / 1.188 GB, free: 3.336 MB / 0.8887 GB Notification: Performance of combineBinaries: time 0.0004436/0.56, allocations: 0.5792 MB / 1.189 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of replaceArrayConstructors: time 0.0002511/0.5603, allocations: 389.5 kB / 1.189 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.549e-05/0.5604, allocations: 55.25 kB / 1.189 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.979e-05/0.5604, allocations: 11.28 kB / 1.189 GB, free: 2.656 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: 53 (51) * Number of variables: 53 (51) Notification: Performance of Bindings: time 0.001392/0.5618, allocations: 1.489 MB / 1.19 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of FunctionAlias: time 7.316e-05/0.5619, allocations: 53.66 kB / 1.19 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of Early Inline: time 0.0008797/0.5628, allocations: 0.9386 MB / 1.191 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of simplify1: time 7.508e-05/0.5629, allocations: 72.3 kB / 1.191 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of Alias: time 0.001376/0.5642, allocations: 1.062 MB / 1.193 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of simplify2: time 6.597e-05/0.5643, allocations: 66.06 kB / 1.193 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of Detect States: time 0.0002529/0.5646, allocations: 186.1 kB / 1.193 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of Events: time 0.000198/0.5648, allocations: 142.8 kB / 1.193 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of Partitioning: time 0.0002965/0.5651, allocations: 282.6 kB / 1.193 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of Causalize: time 0.001152/0.5663, allocations: 1.072 MB / 1.194 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of After Index Reduction Inline: time 0.0006199/0.5669, allocations: 0.6225 MB / 1.195 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of Inline: time 0.001272/0.5682, allocations: 1.176 MB / 1.196 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of Partitioning: time 6.006e-05/0.5682, allocations: 54.78 kB / 1.196 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of Cleanup: time 6.579e-05/0.5683, allocations: 55.86 kB / 1.196 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of Causalize: time 0.00144/0.5698, allocations: 1.296 MB / 1.197 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of Tearing: time 1.234e-05/0.5698, allocations: 2.781 kB / 1.197 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of Initialization: time 3.71e-07/0.5698, allocations: 7.938 kB / 1.197 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of Tearing: time 4.87e-06/0.5698, allocations: 0 / 1.197 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of Categorize: time 1.287e-05/0.5698, allocations: 10.42 kB / 1.197 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of Solve: time 0.0002915/0.5701, allocations: 209.6 kB / 1.198 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of Jacobian: time 0.0003278/0.5704, allocations: 388.2 kB / 1.198 GB, free: 12.45 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: ........... 40 (scalar:30, 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: ........... 48 (scalar:38, 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.845e-05/0.5705, allocations: 31.53 kB / 1.198 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of SimCode: time 0.002332/0.5728, allocations: 2.29 MB / 1.2 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of Templates: time 0.008061/0.5809, allocations: 5.552 MB / 1.206 GB, free: 7.926 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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_VolumeFlowRate -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.VolumeFlowRate.o Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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_VolumeFlowRate -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.VolumeFlowRate_functions.o Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:757:31: error: use of undeclared identifier '_OMC_LIT16' tmpMeta2 = stringAppend(_OMC_LIT16,_modelName); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:758:40: error: use of undeclared identifier '_OMC_LIT17' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT17); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:760:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT18); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:777:35: error: use of undeclared identifier '_OMC_LIT19' tmpMeta7 = stringAppend(_OMC_LIT19,_mediumName); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:778:44: error: use of undeclared identifier '_OMC_LIT20' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT20); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:780:45: error: use of undeclared identifier '_OMC_LIT21' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT21); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:783:46: error: use of undeclared identifier '_OMC_LIT22' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT22); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:786:46: error: use of undeclared identifier '_OMC_LIT23' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT23); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:798:14: error: use of undeclared identifier '_OMC_LIT24' _X_str = _OMC_LIT24; ^ Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:806:41: error: use of undeclared identifier '_OMC_LIT25' tmpMeta21 = stringAppend(_X_str,_OMC_LIT25); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:809:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT26); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:812:44: error: use of undeclared identifier '_OMC_LIT27' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT27); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:814:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT28); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:819:30: error: use of undeclared identifier '_OMC_LIT29' tmpMeta33 = stringAppend(_OMC_LIT29,_mediumName); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:820:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT20); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:822:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT28); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:823:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT30); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:826:40: error: use of undeclared identifier '_OMC_LIT31' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT31); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_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.VolumeFlowRate_functions.o] Error 1