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.001305/0.001305, allocations: 113.1 kB / 16.42 MB, free: 6.508 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.001263/0.001263, allocations: 183.2 kB / 17.35 MB, free: 5.738 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.443/1.443, 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.002315/0.002315, 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.042/1.042, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/2.778e-05, allocations: 2.281 kB / 0.682 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6568/0.6569, allocations: 179.4 MB / 0.8572 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009484/0.6664, allocations: 7.83 MB / 0.8649 GB, free: 2.832 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006974/0.6672, allocations: 19.88 kB / 0.8649 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007747/0.668, allocations: 250.2 kB / 0.8651 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00326/0.6712, allocations: 1.26 MB / 0.8664 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002022/0.6733, allocations: 0.7447 MB / 0.8671 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001582/0.6749, allocations: 1.196 MB / 0.8682 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000645/0.6756, allocations: 437.1 kB / 0.8687 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002639/0.6782, allocations: 0.8843 MB / 0.8695 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006035/0.6788, allocations: 434.5 kB / 0.8699 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.963e-05/0.6789, allocations: 36 kB / 0.87 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002068/0.681, allocations: 0.9081 MB / 0.8709 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of combineBinaries: time 0.0007362/0.6817, allocations: 0.8667 MB / 0.8717 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of replaceArrayConstructors: time 0.0005224/0.6823, allocations: 0.5686 MB / 0.8723 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.6824, allocations: 91.75 kB / 0.8724 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of FrontEnd: time 0.0001693/0.6826, allocations: 23.92 kB / 0.8724 GB, free: 11.12 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.002361/0.6849, allocations: 2.255 MB / 0.8746 GB, free: 8.75 MB / 0.6387 GB Notification: Performance of FunctionAlias: time 0.0001027/0.685, allocations: 79.91 kB / 0.8747 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of Early Inline: time 0.001976/0.687, allocations: 1.721 MB / 0.8763 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of simplify1: time 0.0001424/0.6872, allocations: 135.8 kB / 0.8765 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of Alias: time 0.002809/0.69, allocations: 2.024 MB / 0.8784 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of simplify2: time 0.000143/0.6902, allocations: 116.4 kB / 0.8786 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of Detect States: time 0.0006097/0.6908, allocations: 274.1 kB / 0.8788 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of Events: time 0.0004219/0.6912, allocations: 238.2 kB / 0.879 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of Partitioning: time 0.0005433/0.6918, allocations: 397.8 kB / 0.8794 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of Causalize: time 0.00245/0.6942, allocations: 1.878 MB / 0.8813 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of After Index Reduction Inline: time 0.001291/0.6955, allocations: 1.064 MB / 0.8823 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of Inline: time 0.002155/0.6977, allocations: 1.896 MB / 0.8841 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of Partitioning: time 9.41e-05/0.6978, allocations: 63.61 kB / 0.8842 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of Cleanup: time 9.386e-05/0.6979, allocations: 91.81 kB / 0.8843 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of Causalize: time 0.003028/0.7009, allocations: 2.327 MB / 0.8866 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of Tearing: time 1.718e-05/0.701, allocations: 0 / 0.8866 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of Initialization: time 4.81e-07/0.701, allocations: 0 / 0.8866 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of Tearing: time 7.915e-06/0.701, allocations: 8 kB / 0.8866 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of Categorize: time 1.786e-05/0.701, allocations: 3.938 kB / 0.8866 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of Solve: time 0.0006303/0.7016, allocations: 310.5 kB / 0.8869 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of Jacobian: time 0.001184/0.7028, allocations: 0.8761 MB / 0.8877 GB, free: 10.89 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 6.346e-05/0.7029, allocations: 20.61 kB / 0.8877 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of SimCode: time 0.004855/0.7078, allocations: 3.131 MB / 0.8908 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of Templates: time 0.0142/0.722, allocations: 7.607 MB / 0.8982 GB, free: 124 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