Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sources.Examples.PropertySource_h") translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001266/0.001266, allocations: 105.8 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.001034/0.001034, allocations: 192.3 kB / 17.35 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.093/1.093, 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/package.mo): time 0.6628/0.6628, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019e-05/1.019e-05, allocations: 4.812 kB / 0.5819 GB, free: 23.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.3791/0.3791, allocations: 176 MB / 0.7538 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006818/0.386, allocations: 8.718 MB / 0.7623 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005009/0.3865, allocations: 23.84 kB / 0.7623 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006089/0.3871, allocations: 296.6 kB / 0.7626 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005857/0.3878, allocations: 310.6 kB / 0.7629 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007873/0.3885, allocations: 374.8 kB / 0.7633 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001158/0.3897, allocations: 1.187 MB / 0.7644 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008134/0.3905, allocations: 0.6234 MB / 0.765 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00348/0.394, allocations: 2.107 MB / 0.7671 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003618/0.3944, allocations: 338 kB / 0.7674 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.727e-05/0.3945, allocations: 39.41 kB / 0.7674 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.3946, allocations: 75.48 kB / 0.7675 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0005672/0.3952, allocations: 0.9972 MB / 0.7685 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.000338/0.3955, allocations: 0.7003 MB / 0.7692 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.44e-05/0.3957, allocations: 90.62 kB / 0.7693 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.179e-05/0.3957, allocations: 50.03 kB / 0.7693 GB, free: 2.633 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.001854/0.3976, allocations: 2.664 MB / 0.7719 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 9.15e-05/0.3977, allocations: 103.7 kB / 0.772 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.0007723/0.3985, allocations: 1.033 MB / 0.773 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of simplify1: time 5.566e-05/0.3985, allocations: 80.08 kB / 0.7731 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of Alias: time 0.001598/0.4001, allocations: 1.755 MB / 0.7748 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of simplify2: time 4.665e-05/0.4002, allocations: 58.03 kB / 0.7749 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of Events: time 0.0001082/0.4003, allocations: 104.3 kB / 0.775 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0002071/0.4005, allocations: 285.3 kB / 0.7752 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0004483/0.401, allocations: 0.6171 MB / 0.7758 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001888/0.4029, allocations: 2.345 MB / 0.7781 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.0005794/0.4035, allocations: 0.8142 MB / 0.7789 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of Inline: time 0.0009796/0.4045, allocations: 1.388 MB / 0.7803 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of Partitioning: time 9.519e-05/0.4046, allocations: 101 kB / 0.7804 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of Cleanup: time 4.714e-05/0.4046, allocations: 65.41 kB / 0.7804 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of Causalize: time 0.002092/0.4067, allocations: 2.523 MB / 0.7829 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of Tearing: time 5.25e-06/0.4067, allocations: 0 / 0.7829 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of Initialization: time 2.9e-07/0.4067, allocations: 0 / 0.7829 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of Tearing: time 5.48e-06/0.4067, allocations: 7.156 kB / 0.7829 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of Categorize: time 1.589e-05/0.4068, allocations: 2.344 kB / 0.7829 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of Solve: time 0.0004435/0.4072, allocations: 408.2 kB / 0.7833 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of Jacobian: time 2.635e-06/0.4072, allocations: 0 / 0.7833 GB, free: 14.91 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 4.477e-05/0.4073, allocations: 40.3 kB / 0.7833 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of SimCode: time 0.002108/0.4094, allocations: 2.733 MB / 0.786 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of Templates: time 0.006263/0.4156, allocations: 4.264 MB / 0.7902 GB, free: 13.38 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.makefile make -j1 -f IDEAS_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_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_IDEAS.Fluid.Sources.Examples.PropertySource_h.o IDEAS_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_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_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.o IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:63:31: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(_OMC_LIT1,_modelName); ^ IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:64:40: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT2); ^ IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:66:40: error: use of undeclared identifier '_OMC_LIT3' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT3); ^ IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:83:35: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(_OMC_LIT4,_mediumName); ^ IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:84:44: error: use of undeclared identifier '_OMC_LIT5' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT5); ^ IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:86:45: error: use of undeclared identifier '_OMC_LIT6' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT6); ^ IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:89:46: error: use of undeclared identifier '_OMC_LIT7' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT7); ^ IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:92:46: error: use of undeclared identifier '_OMC_LIT8' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT8); ^ IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:104:14: error: use of undeclared identifier '_OMC_LIT9' _X_str = _OMC_LIT9; ^ IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:112:41: error: use of undeclared identifier '_OMC_LIT10' tmpMeta21 = stringAppend(_X_str,_OMC_LIT10); ^ IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:115:44: error: use of undeclared identifier '_OMC_LIT11' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT11); ^ IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:118:44: error: use of undeclared identifier '_OMC_LIT12' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT12); ^ IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:120:44: error: use of undeclared identifier '_OMC_LIT13' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT13); ^ IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:125:30: error: use of undeclared identifier '_OMC_LIT14' tmpMeta33 = stringAppend(_OMC_LIT14,_mediumName); ^ IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:126:40: error: use of undeclared identifier '_OMC_LIT5' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT5); ^ IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:128:40: error: use of undeclared identifier '_OMC_LIT13' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT13); ^ IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:129:40: error: use of undeclared identifier '_OMC_LIT15' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT15); ^ IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.c:132:40: error: use of undeclared identifier '_OMC_LIT16' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT16); ^ IDEAS_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_IDEAS.Fluid.Sources.Examples.PropertySource_h_functions.o] Error 1