Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001605/0.001605, allocations: 107.8 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.001372/0.001372, allocations: 187.2 kB / 17.35 MB, free: 5.711 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.5/1.5, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002169/0.00217, allocations: 289.4 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9769/0.9769, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.793e-05/2.818e-05, allocations: 2.281 kB / 0.682 GB, free: 7.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6783/0.6783, allocations: 167.3 MB / 0.8455 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003652/0.682, allocations: 1.559 MB / 0.847 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006316/0.6827, allocations: 15.88 kB / 0.847 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007163/0.6834, allocations: 146.9 kB / 0.8471 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.6857, allocations: 0.7352 MB / 0.8479 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.6879, allocations: 0.6042 MB / 0.8484 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001385/0.6893, allocations: 0.7749 MB / 0.8492 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006538/0.69, allocations: 266 kB / 0.8495 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009983/0.691, allocations: 378.7 kB / 0.8498 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000544/0.6915, allocations: 223.1 kB / 0.85 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.943e-05/0.6916, allocations: 28 kB / 0.8501 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.6935, allocations: 0.8377 MB / 0.8509 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.0006239/0.6942, allocations: 0.5731 MB / 0.8514 GB, free: 488 kB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.0003371/0.6945, allocations: 383.3 kB / 0.8518 GB, free: 100 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001932/0.6947, allocations: 59.81 kB / 0.8519 GB, free: 40 kB / 0.6075 GB Notification: Performance of FrontEnd: time 0.0001022/0.6948, allocations: 8 kB / 0.8519 GB, free: 32 kB / 0.6075 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.001726/0.6965, allocations: 1.493 MB / 0.8533 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of FunctionAlias: time 0.000121/0.6967, allocations: 55.88 kB / 0.8534 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of Early Inline: time 0.001089/0.6978, allocations: 0.943 MB / 0.8543 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of simplify1: time 0.000105/0.6979, allocations: 67.91 kB / 0.8544 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of Alias: time 0.001498/0.6994, allocations: 1.063 MB / 0.8554 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of simplify2: time 0.0001257/0.6995, allocations: 75.89 kB / 0.8555 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of Detect States: time 0.003815/0.7034, allocations: 176.5 kB / 0.8556 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of Events: time 0.0003176/0.7037, allocations: 151.4 kB / 0.8558 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of Partitioning: time 0.0004352/0.7041, allocations: 277.4 kB / 0.856 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of Causalize: time 0.00146/0.7056, allocations: 1.068 MB / 0.8571 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of After Index Reduction Inline: time 0.0007361/0.7064, allocations: 0.6196 MB / 0.8577 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of Inline: time 0.001731/0.7081, allocations: 1.186 MB / 0.8589 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of Partitioning: time 6.993e-05/0.7082, allocations: 54.3 kB / 0.8589 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of Cleanup: time 0.0001095/0.7083, allocations: 47.94 kB / 0.8589 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of Causalize: time 0.001889/0.7102, allocations: 1.307 MB / 0.8602 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of Tearing: time 1.654e-05/0.7102, allocations: 0 / 0.8602 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of Initialization: time 1.453e-06/0.7102, allocations: 0 / 0.8602 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of Tearing: time 8.186e-06/0.7102, allocations: 0 / 0.8602 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of Categorize: time 1.788e-05/0.7103, allocations: 4 kB / 0.8602 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of Solve: time 0.0004662/0.7107, allocations: 197.9 kB / 0.8604 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of Jacobian: time 0.000472/0.7112, allocations: 398 kB / 0.8608 GB, free: 6.438 MB / 0.6231 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 6.935e-05/0.7113, allocations: 27.16 kB / 0.8608 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of SimCode: time 0.00371/0.715, allocations: 2.292 MB / 0.8631 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of Templates: time 0.01281/0.7278, allocations: 5.564 MB / 0.8685 GB, free: 14.55 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.makefile make -j1 -f BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate_functions.o BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate_functions.c BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:757:31: error: use of undeclared identifier '_OMC_LIT16' tmpMeta2 = stringAppend(_OMC_LIT16,_modelName); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:758:40: error: use of undeclared identifier '_OMC_LIT17' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT17); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:760:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT18); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:777:35: error: use of undeclared identifier '_OMC_LIT19' tmpMeta7 = stringAppend(_OMC_LIT19,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:778:44: error: use of undeclared identifier '_OMC_LIT20' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT20); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:780:45: error: use of undeclared identifier '_OMC_LIT21' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT21); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:783:46: error: use of undeclared identifier '_OMC_LIT22' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT22); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:786:46: error: use of undeclared identifier '_OMC_LIT23' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT23); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:798:14: error: use of undeclared identifier '_OMC_LIT24' _X_str = _OMC_LIT24; ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:806:41: error: use of undeclared identifier '_OMC_LIT25' tmpMeta21 = stringAppend(_X_str,_OMC_LIT25); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:809:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT26); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:812:44: error: use of undeclared identifier '_OMC_LIT27' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT27); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:814:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT28); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:819:30: error: use of undeclared identifier '_OMC_LIT29' tmpMeta33 = stringAppend(_OMC_LIT29,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:820:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT20); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:822:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT28); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:823:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT30); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:826:40: error: use of undeclared identifier '_OMC_LIT31' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT31); ^ BuildingSystems_BuildingSystems.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: *** [: BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate_functions.o] Error 1