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.0009146/0.0009147, allocations: 107.3 kB / 16.42 MB, free: 5.973 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.0008989/0.0008989, allocations: 191.3 kB / 17.36 MB, free: 5.566 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.142/1.142, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00192/0.00192, allocations: 289.4 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8195/0.8195, allocations: 169.2 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.484e-05, allocations: 2.281 kB / 0.682 GB, free: 7.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4012/0.4012, allocations: 167.3 MB / 0.8455 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002415/0.4037, allocations: 1.564 MB / 0.847 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.4039, allocations: 11.94 kB / 0.847 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004092/0.4043, allocations: 146.9 kB / 0.8471 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001336/0.4056, allocations: 0.6961 MB / 0.8478 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.4069, allocations: 0.6006 MB / 0.8484 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007551/0.4076, allocations: 0.771 MB / 0.8492 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004102/0.408, allocations: 261.2 kB / 0.8494 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005985/0.4087, allocations: 374.7 kB / 0.8498 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002845/0.4089, allocations: 227.1 kB / 0.85 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.93e-05/0.409, allocations: 24 kB / 0.85 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.4102, allocations: 0.8338 MB / 0.8508 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.0004539/0.4106, allocations: 0.5692 MB / 0.8514 GB, free: 496 kB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.0002538/0.4109, allocations: 392.9 kB / 0.8517 GB, free: 100 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.987e-05/0.411, allocations: 55.81 kB / 0.8518 GB, free: 44 kB / 0.6075 GB Notification: Performance of FrontEnd: time 5.052e-05/0.411, allocations: 19.94 kB / 0.8518 GB, free: 24 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.001342/0.4124, allocations: 1.485 MB / 0.8533 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of FunctionAlias: time 6.773e-05/0.4124, allocations: 55.94 kB / 0.8533 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of Early Inline: time 0.0009446/0.4134, allocations: 0.9394 MB / 0.8542 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of simplify1: time 6.551e-05/0.4135, allocations: 71.91 kB / 0.8543 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of Alias: time 0.00122/0.4147, allocations: 1.06 MB / 0.8553 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of simplify2: time 6.338e-05/0.4148, allocations: 75.89 kB / 0.8554 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of Events: time 0.0001799/0.415, allocations: 141.9 kB / 0.8556 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of Detect States: time 0.0002599/0.4152, allocations: 205.1 kB / 0.8557 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of Partitioning: time 0.0002813/0.4155, allocations: 272.6 kB / 0.856 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of Causalize: time 0.00111/0.4166, allocations: 1.076 MB / 0.8571 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of After Index Reduction Inline: time 0.0005165/0.4172, allocations: 0.6157 MB / 0.8577 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of Inline: time 0.001062/0.4182, allocations: 1.161 MB / 0.8588 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of Partitioning: time 4.58e-05/0.4183, allocations: 46.36 kB / 0.8588 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of Cleanup: time 4.898e-05/0.4183, allocations: 51.92 kB / 0.8589 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of Causalize: time 0.001306/0.4196, allocations: 1.303 MB / 0.8602 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of Tearing: time 5.019e-06/0.4197, allocations: 0 / 0.8602 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of Initialization: time 1.643e-06/0.4197, allocations: 0 / 0.8602 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of Tearing: time 1.422e-06/0.4197, allocations: 3.938 kB / 0.8602 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of Categorize: time 9.538e-06/0.4197, allocations: 4 kB / 0.8602 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of Solve: time 0.0002832/0.42, allocations: 201.9 kB / 0.8604 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of Jacobian: time 0.0003258/0.4203, allocations: 405.9 kB / 0.8607 GB, free: 6.441 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 3.779e-05/0.4203, allocations: 29.64 kB / 0.8608 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of SimCode: time 0.002252/0.4226, allocations: 2.267 MB / 0.863 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of Templates: time 0.008365/0.431, allocations: 5.607 MB / 0.8685 GB, free: 14.52 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