Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h") translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 105.7 kB / 16.42 MB, free: 6.52 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.001485/0.001485, allocations: 189.9 kB / 17.36 MB, free: 5.742 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8108/0.8108, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.456e-05, allocations: 2.281 kB / 0.5862 GB, free: 21.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.7753/0.7754, allocations: 176 MB / 0.7581 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01076/0.7862, allocations: 8.707 MB / 0.7666 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.7874, allocations: 23.53 kB / 0.7666 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009523/0.7884, allocations: 301.6 kB / 0.7669 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009014/0.7893, allocations: 309 kB / 0.7672 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.7907, allocations: 376.5 kB / 0.7675 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002108/0.7928, allocations: 1.189 MB / 0.7687 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.794, allocations: 0.6259 MB / 0.7693 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006254/0.8003, allocations: 2.102 MB / 0.7714 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007614/0.8011, allocations: 337.2 kB / 0.7717 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.623e-05/0.8012, allocations: 38.52 kB / 0.7717 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003052/0.8015, allocations: 83.94 kB / 0.7718 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0009113/0.8024, allocations: 0.9969 MB / 0.7728 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0005207/0.803, allocations: 0.6995 MB / 0.7734 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.8032, allocations: 87.41 kB / 0.7735 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0001965/0.8034, allocations: 43.69 kB / 0.7736 GB, free: 2.699 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 (121) * Number of variables: 133 (119) Notification: Performance of Bindings: time 0.002733/0.8061, allocations: 2.666 MB / 0.7762 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0001491/0.8063, allocations: 112.4 kB / 0.7763 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.001083/0.8073, allocations: 1.03 MB / 0.7773 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of simplify1: time 9.908e-05/0.8075, allocations: 77.92 kB / 0.7774 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of Alias: time 0.002146/0.8096, allocations: 1.746 MB / 0.7791 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of simplify2: time 5.98e-05/0.8097, allocations: 67.84 kB / 0.7791 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of Events: time 0.0001414/0.8098, allocations: 97.36 kB / 0.7792 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0002635/0.8101, allocations: 293.1 kB / 0.7795 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0005231/0.8106, allocations: 0.6081 MB / 0.7801 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of Causalize: time 0.002419/0.8131, allocations: 2.351 MB / 0.7824 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.0007799/0.8139, allocations: 0.8192 MB / 0.7832 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of Inline: time 0.001368/0.8152, allocations: 1.389 MB / 0.7846 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0001358/0.8154, allocations: 102.3 kB / 0.7846 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of Cleanup: time 9.624e-05/0.8155, allocations: 70.02 kB / 0.7847 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of Causalize: time 0.002838/0.8183, allocations: 2.524 MB / 0.7872 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of Tearing: time 9.758e-06/0.8183, allocations: 0 / 0.7872 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of Initialization: time 7.62e-07/0.8183, allocations: 0 / 0.7872 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of Tearing: time 1.108e-05/0.8184, allocations: 0 / 0.7872 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of Categorize: time 3.841e-05/0.8184, allocations: 8.781 kB / 0.7872 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of Solve: time 0.0006606/0.8191, allocations: 395.7 kB / 0.7876 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of Jacobian: time 4.167e-06/0.8191, allocations: 2.094 kB / 0.7876 GB, free: 14.9 MB / 0.5919 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 19 * 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: ................. 3 (3) {$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: ........... 87 (scalar:37, array:50, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, 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: ........... 100 (scalar:50, array:50, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 7.425e-05/0.8192, allocations: 56.19 kB / 0.7876 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of SimCode: time 0.003499/0.8227, allocations: 2.744 MB / 0.7903 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of Templates: time 0.008928/0.8316, allocations: 4.253 MB / 0.7945 GB, free: 13.34 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.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=IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h -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 IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.o IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.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=IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h -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 IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.o IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:63:31: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(_OMC_LIT1,_modelName); ^ IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:64:40: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT2); ^ IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:66:40: error: use of undeclared identifier '_OMC_LIT3' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT3); ^ IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:83:35: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(_OMC_LIT4,_mediumName); ^ IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:84:44: error: use of undeclared identifier '_OMC_LIT5' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT5); ^ IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:86:45: error: use of undeclared identifier '_OMC_LIT6' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT6); ^ IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:89:46: error: use of undeclared identifier '_OMC_LIT7' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT7); ^ IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:92:46: error: use of undeclared identifier '_OMC_LIT8' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT8); ^ IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:104:14: error: use of undeclared identifier '_OMC_LIT9' _X_str = _OMC_LIT9; ^ IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:112:41: error: use of undeclared identifier '_OMC_LIT10' tmpMeta21 = stringAppend(_X_str,_OMC_LIT10); ^ IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:115:44: error: use of undeclared identifier '_OMC_LIT11' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT11); ^ IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:118:44: error: use of undeclared identifier '_OMC_LIT12' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT12); ^ IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:120:44: error: use of undeclared identifier '_OMC_LIT13' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT13); ^ IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:125:30: error: use of undeclared identifier '_OMC_LIT14' tmpMeta33 = stringAppend(_OMC_LIT14,_mediumName); ^ IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:126:40: error: use of undeclared identifier '_OMC_LIT5' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT5); ^ IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:128:40: error: use of undeclared identifier '_OMC_LIT13' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT13); ^ IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:129:40: error: use of undeclared identifier '_OMC_LIT15' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT15); ^ IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:132:40: error: use of undeclared identifier '_OMC_LIT16' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT16); ^ IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:151: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: *** [: IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.o] Error 1