Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 111.2 kB / 16.43 MB, free: 6.461 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.001488/0.001488, allocations: 183.2 kB / 17.36 MB, free: 5.73 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.583/1.583, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 295.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.102/1.102, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.793e-05/2.793e-05, allocations: 2.281 kB / 0.682 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.761/0.7611, allocations: 179.4 MB / 0.8572 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009541/0.7706, allocations: 7.832 MB / 0.8649 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007035/0.7714, allocations: 19.88 kB / 0.8649 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007392/0.7721, allocations: 246.2 kB / 0.8651 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003217/0.7753, allocations: 1.221 MB / 0.8663 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001969/0.7774, allocations: 0.7292 MB / 0.867 GB, free: 464 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00152/0.7789, allocations: 1.188 MB / 0.8682 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006434/0.7796, allocations: 436.9 kB / 0.8686 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002591/0.7822, allocations: 0.8755 MB / 0.8695 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006078/0.7828, allocations: 418.5 kB / 0.8699 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 8.362e-05/0.7829, allocations: 36 kB / 0.8699 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/0.7847, allocations: 0.9119 MB / 0.8708 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of combineBinaries: time 0.0006615/0.7854, allocations: 0.8629 MB / 0.8716 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of replaceArrayConstructors: time 0.0003679/0.7858, allocations: 0.5709 MB / 0.8722 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.7859, allocations: 91.75 kB / 0.8723 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of FrontEnd: time 0.000164/0.7861, allocations: 23.88 kB / 0.8723 GB, free: 11.05 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 (91) * Number of variables: 93 (91) Notification: Performance of Bindings: time 0.002114/0.7882, allocations: 2.246 MB / 0.8745 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of FunctionAlias: time 0.0001052/0.7883, allocations: 87.84 kB / 0.8746 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of Early Inline: time 0.001705/0.79, allocations: 1.725 MB / 0.8763 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of simplify1: time 0.000139/0.7902, allocations: 131.8 kB / 0.8764 GB, free: 6.719 MB / 0.6387 GB Notification: Performance of Alias: time 0.002376/0.7926, allocations: 2.017 MB / 0.8783 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of simplify2: time 0.0001196/0.7927, allocations: 119.8 kB / 0.8785 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of Events: time 0.0003278/0.793, allocations: 242.1 kB / 0.8787 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of Detect States: time 0.000376/0.7934, allocations: 310.1 kB / 0.879 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of Partitioning: time 0.0004526/0.7939, allocations: 397.8 kB / 0.8794 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of Causalize: time 0.002256/0.7962, allocations: 1.878 MB / 0.8812 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of After Index Reduction Inline: time 0.001073/0.7972, allocations: 1.076 MB / 0.8823 GB, free: 452 kB / 0.6387 GB Notification: Performance of Inline: time 0.001917/0.7992, allocations: 1.883 MB / 0.8841 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of Partitioning: time 8.327e-05/0.7993, allocations: 67.61 kB / 0.8842 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of Cleanup: time 8.245e-05/0.7994, allocations: 91.81 kB / 0.8842 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of Causalize: time 0.002677/0.802, allocations: 2.328 MB / 0.8865 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of Tearing: time 1.413e-05/0.8021, allocations: 0 / 0.8865 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of Initialization: time 6.61e-07/0.8021, allocations: 4 kB / 0.8865 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of Tearing: time 7.003e-06/0.8021, allocations: 4 kB / 0.8865 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of Categorize: time 1.492e-05/0.8021, allocations: 0 / 0.8865 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of Solve: time 0.0005703/0.8027, allocations: 326.4 kB / 0.8868 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of Jacobian: time 0.001063/0.8038, allocations: 0.8567 MB / 0.8877 GB, free: 10.79 MB / 0.6544 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * 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) {senH.h_out} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 15 (15) {$SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $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: ........... 61 (scalar:43, array:18, 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: ........... 69 (scalar:51, array:18, 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 7.067e-05/0.8038, allocations: 38.11 kB / 0.8877 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of SimCode: time 0.004105/0.8079, allocations: 3.092 MB / 0.8907 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of Templates: time 0.01564/0.8236, allocations: 7.625 MB / 0.8982 GB, free: 28 kB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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_MoistAirEnthalpyFlowRate -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.MoistAirEnthalpyFlowRate.o BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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_MoistAirEnthalpyFlowRate -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.MoistAirEnthalpyFlowRate_functions.o BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_functions.c BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_functions.c:927:31: error: use of undeclared identifier '_OMC_LIT13' tmpMeta2 = stringAppend(_OMC_LIT13,_modelName); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_functions.c:928:40: error: use of undeclared identifier '_OMC_LIT14' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT14); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_functions.c:930:40: error: use of undeclared identifier '_OMC_LIT15' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT15); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_functions.c:947:35: error: use of undeclared identifier '_OMC_LIT16' tmpMeta7 = stringAppend(_OMC_LIT16,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_functions.c:948:44: error: use of undeclared identifier '_OMC_LIT17' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT17); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_functions.c:950:45: error: use of undeclared identifier '_OMC_LIT18' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT18); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_functions.c:953:46: error: use of undeclared identifier '_OMC_LIT19' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT19); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_functions.c:956:46: error: use of undeclared identifier '_OMC_LIT20' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT20); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_functions.c:968:14: error: use of undeclared identifier '_OMC_LIT21' _X_str = _OMC_LIT21; ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_functions.c:976:41: error: use of undeclared identifier '_OMC_LIT22' tmpMeta21 = stringAppend(_X_str,_OMC_LIT22); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_functions.c:979:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT23); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_functions.c:982:44: error: use of undeclared identifier '_OMC_LIT24' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT24); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_functions.c:984:44: error: use of undeclared identifier '_OMC_LIT25' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT25); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_functions.c:989:30: error: use of undeclared identifier '_OMC_LIT26' tmpMeta33 = stringAppend(_OMC_LIT26,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_functions.c:990:40: error: use of undeclared identifier '_OMC_LIT17' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT17); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_functions.c:992:40: error: use of undeclared identifier '_OMC_LIT25' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT25); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_functions.c:993:40: error: use of undeclared identifier '_OMC_LIT27' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT27); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_functions.c:996:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT28); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_functions.c:1092: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.MoistAirEnthalpyFlowRate_functions.o] Error 1