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.0009509/0.000951, allocations: 107.4 kB / 16.42 MB, free: 6.516 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.0009004/0.0009004, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.131/1.131, allocations: 222.9 MB / 241.1 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.001906/0.001906, allocations: 288.9 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 0.8219/0.8219, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.142e-05/1.143e-05, allocations: 2.281 kB / 0.682 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.3797/0.3797, allocations: 167.5 MB / 0.8456 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005982/0.3857, allocations: 6.539 MB / 0.852 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002693/0.386, allocations: 15.94 kB / 0.852 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0004049/0.3864, allocations: 166.7 kB / 0.8522 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001536/0.388, allocations: 0.8362 MB / 0.853 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007428/0.3887, allocations: 336 kB / 0.8533 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0007895/0.3895, allocations: 0.7906 MB / 0.8541 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004279/0.39, allocations: 310 kB / 0.8544 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009758/0.391, allocations: 0.5838 MB / 0.855 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003464/0.3913, allocations: 275 kB / 0.8552 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.004e-05/0.3914, allocations: 24 kB / 0.8553 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004715/0.3918, allocations: 327.2 kB / 0.8556 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of combineBinaries: time 0.0003837/0.3922, allocations: 0.5882 MB / 0.8561 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of replaceArrayConstructors: time 0.000232/0.3925, allocations: 398.9 kB / 0.8565 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 8.066e-05/0.3926, allocations: 67.81 kB / 0.8566 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of FrontEnd: time 6.03e-05/0.3926, allocations: 27.81 kB / 0.8566 GB, free: 11.12 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.00127/0.3939, allocations: 1.547 MB / 0.8581 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of FunctionAlias: time 7.393e-05/0.394, allocations: 58.5 kB / 0.8582 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of Early Inline: time 0.0007405/0.3947, allocations: 0.8835 MB / 0.859 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of simplify1: time 6.673e-05/0.3948, allocations: 67.92 kB / 0.8591 GB, free: 8.438 MB / 0.6231 GB Notification: Performance of Alias: time 0.001321/0.3961, allocations: 1.292 MB / 0.8604 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of simplify2: time 5.994e-05/0.3962, allocations: 51.92 kB / 0.8604 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of Events: time 0.0001623/0.3964, allocations: 127.9 kB / 0.8605 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of Detect States: time 0.0001662/0.3965, allocations: 189.1 kB / 0.8607 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of Partitioning: time 0.0002417/0.3968, allocations: 264.4 kB / 0.861 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of Causalize: time 0.001048/0.3978, allocations: 1.043 MB / 0.862 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of After Index Reduction Inline: time 0.0004542/0.3983, allocations: 0.5726 MB / 0.8626 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of Inline: time 0.0008304/0.3991, allocations: 1.002 MB / 0.8635 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of Partitioning: time 4.762e-05/0.3992, allocations: 46.36 kB / 0.8636 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of Cleanup: time 4.38e-05/0.3993, allocations: 39.89 kB / 0.8636 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of Causalize: time 0.001285/0.4005, allocations: 1.235 MB / 0.8648 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of Tearing: time 4.99e-06/0.4006, allocations: 0 / 0.8648 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of Initialization: time 3.1e-07/0.4006, allocations: 0 / 0.8648 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of Tearing: time 3.938e-06/0.4006, allocations: 7.938 kB / 0.8648 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of Categorize: time 1.229e-05/0.4006, allocations: 7.969 kB / 0.8648 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of Solve: time 0.0002696/0.4009, allocations: 177.9 kB / 0.865 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of Jacobian: time 3.095e-06/0.4009, allocations: 0 / 0.865 GB, free: 2.105 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 3.885e-05/0.4009, allocations: 32.14 kB / 0.865 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of SimCode: time 0.001625/0.4025, allocations: 1.865 MB / 0.8669 GB, free: 196 kB / 0.6231 GB Notification: Performance of Templates: time 0.006353/0.4089, allocations: 3.557 MB / 0.8703 GB, free: 12.64 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