Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001336, allocations: 112.8 kB / 16.42 MB, free: 6.523 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.001385/0.001385, allocations: 185.5 kB / 17.35 MB, free: 5.746 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.536/1.536, allocations: 222.9 MB / 241.1 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.002348/0.002348, allocations: 297.9 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.9839/0.9839, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.307e-05/3.307e-05, allocations: 6.281 kB / 0.682 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.7769/0.7769, allocations: 167.5 MB / 0.8456 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008437/0.7854, allocations: 6.538 MB / 0.852 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007351/0.7862, allocations: 15.88 kB / 0.852 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007249/0.787, allocations: 166.8 kB / 0.8522 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002692/0.7897, allocations: 0.8791 MB / 0.8531 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.791, allocations: 320.6 kB / 0.8534 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001279/0.7923, allocations: 0.7983 MB / 0.8541 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005393/0.7929, allocations: 301.4 kB / 0.8544 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.7943, allocations: 0.6033 MB / 0.855 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000404/0.7947, allocations: 271.1 kB / 0.8553 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.398e-05/0.7947, allocations: 24 kB / 0.8553 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000788/0.7955, allocations: 335.1 kB / 0.8556 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of combineBinaries: time 0.0005356/0.7961, allocations: 0.5883 MB / 0.8562 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of replaceArrayConstructors: time 0.0002947/0.7964, allocations: 406.9 kB / 0.8566 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 8.15e-05/0.7965, allocations: 59.81 kB / 0.8566 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of FrontEnd: time 0.0001245/0.7966, allocations: 23.94 kB / 0.8567 GB, free: 11.08 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 (61) * Number of variables: 63 (61) Notification: Performance of Bindings: time 0.001672/0.7983, allocations: 1.554 MB / 0.8582 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of FunctionAlias: time 8.952e-05/0.7984, allocations: 54.56 kB / 0.8582 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of Early Inline: time 0.000926/0.7993, allocations: 0.8804 MB / 0.8591 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of simplify1: time 7.188e-05/0.7994, allocations: 67.92 kB / 0.8592 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of Alias: time 0.001692/0.8011, allocations: 1.296 MB / 0.8604 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of simplify2: time 5.598e-05/0.8012, allocations: 55.94 kB / 0.8605 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of Detect States: time 0.0001911/0.8014, allocations: 160 kB / 0.8606 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of Events: time 0.0002095/0.8016, allocations: 127.9 kB / 0.8608 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of Partitioning: time 0.0002808/0.8019, allocations: 264.5 kB / 0.861 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of Causalize: time 0.001229/0.8031, allocations: 1.042 MB / 0.862 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of After Index Reduction Inline: time 0.0005421/0.8037, allocations: 0.5765 MB / 0.8626 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of Inline: time 0.001149/0.8048, allocations: 0.998 MB / 0.8636 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of Partitioning: time 7.853e-05/0.8049, allocations: 47.11 kB / 0.8636 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of Cleanup: time 5.688e-05/0.805, allocations: 39.89 kB / 0.8636 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of Causalize: time 0.001506/0.8065, allocations: 1.238 MB / 0.8649 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of Tearing: time 1.367e-05/0.8065, allocations: 4 kB / 0.8649 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of Initialization: time 4.4e-07/0.8065, allocations: 3.938 kB / 0.8649 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of Tearing: time 7.734e-06/0.8065, allocations: 3.938 kB / 0.8649 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of Categorize: time 1.782e-05/0.8066, allocations: 4 kB / 0.8649 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of Solve: time 0.0003441/0.8069, allocations: 177.9 kB / 0.865 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of Jacobian: time 3.828e-06/0.8069, allocations: 0 / 0.865 GB, free: 2.078 MB / 0.6231 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 2 * 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: ............................. 0 (0) {} * 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:28, array:12, 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: ........... 45 (scalar:33, array:12, 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.111e-05/0.807, allocations: 24.48 kB / 0.8651 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of SimCode: time 0.002667/0.8097, allocations: 1.887 MB / 0.8669 GB, free: 156 kB / 0.6231 GB Notification: Performance of Templates: time 0.008042/0.8177, allocations: 3.527 MB / 0.8704 GB, free: 12.63 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.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_EnthalpyFlowRate -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.EnthalpyFlowRate.o BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.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_EnthalpyFlowRate -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.EnthalpyFlowRate_functions.o BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:269:31: error: use of undeclared identifier '_OMC_LIT12' tmpMeta2 = stringAppend(_OMC_LIT12,_modelName); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:270:40: error: use of undeclared identifier '_OMC_LIT13' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT13); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:272:40: error: use of undeclared identifier '_OMC_LIT14' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT14); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:289:35: error: use of undeclared identifier '_OMC_LIT15' tmpMeta7 = stringAppend(_OMC_LIT15,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:290:44: error: use of undeclared identifier '_OMC_LIT16' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT16); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:292:45: error: use of undeclared identifier '_OMC_LIT17' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT17); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:295:46: error: use of undeclared identifier '_OMC_LIT18' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT18); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:298:46: error: use of undeclared identifier '_OMC_LIT19' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT19); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:310:14: error: use of undeclared identifier '_OMC_LIT20' _X_str = _OMC_LIT20; ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:318:41: error: use of undeclared identifier '_OMC_LIT21' tmpMeta21 = stringAppend(_X_str,_OMC_LIT21); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:321:44: error: use of undeclared identifier '_OMC_LIT22' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT22); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:324:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT23); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:326:44: error: use of undeclared identifier '_OMC_LIT24' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT24); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:331:30: error: use of undeclared identifier '_OMC_LIT25' tmpMeta33 = stringAppend(_OMC_LIT25,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:332:40: error: use of undeclared identifier '_OMC_LIT16' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT16); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:334:40: error: use of undeclared identifier '_OMC_LIT24' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT24); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:335:40: error: use of undeclared identifier '_OMC_LIT26' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT26); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:338:40: error: use of undeclared identifier '_OMC_LIT27' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT27); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:434: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.EnthalpyFlowRate_functions.o] Error 1