Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.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.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 106.7 kB / 16.42 MB, free: 6.035 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.001723/0.001724, allocations: 186.4 kB / 17.36 MB, free: 5.621 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.115/1.115, 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.6632/0.6632, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.227e-06/9.227e-06, allocations: 2.281 kB / 0.5819 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.009634/0.00965, allocations: 15.05 MB / 0.5966 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003364/0.01304, allocations: 3.894 MB / 0.6004 GB, free: 7.438 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.01327, allocations: 19.88 kB / 0.6005 GB, free: 7.418 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003845/0.01366, allocations: 182.7 kB / 0.6006 GB, free: 7.238 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009507/0.01462, allocations: 0.6747 MB / 0.6013 GB, free: 6.566 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007582/0.01542, allocations: 483.7 kB / 0.6018 GB, free: 6.102 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009301/0.01636, allocations: 1.107 MB / 0.6028 GB, free: 5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002945/0.01666, allocations: 293.8 kB / 0.6031 GB, free: 4.707 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000428/0.0171, allocations: 454.4 kB / 0.6035 GB, free: 4.262 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.01734, allocations: 254.9 kB / 0.6038 GB, free: 4.012 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.01738, allocations: 20 kB / 0.6038 GB, free: 3.992 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00068/0.01806, allocations: 0.7329 MB / 0.6045 GB, free: 3.258 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0002818/0.01835, allocations: 0.6647 MB / 0.6052 GB, free: 2.586 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001328/0.01849, allocations: 442 kB / 0.6056 GB, free: 2.148 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.01854, allocations: 63.81 kB / 0.6057 GB, free: 2.086 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.235e-05/0.01859, allocations: 23.88 kB / 0.6057 GB, free: 2.062 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 (36) * Number of variables: 40 (34) Notification: Performance of Bindings: time 0.0009233/0.01952, allocations: 1.656 MB / 0.6073 GB, free: 296 kB / 446.1 MB Notification: Performance of FunctionAlias: time 3.597e-05/0.01956, allocations: 47.8 kB / 0.6073 GB, free: 248 kB / 446.1 MB Notification: Performance of Early Inline: time 0.0003896/0.01995, allocations: 0.5072 MB / 0.6078 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simplify1: time 4.178e-05/0.02, allocations: 39.89 kB / 0.6079 GB, free: 15.66 MB / 462.1 MB Notification: Performance of Alias: time 0.000755/0.02076, allocations: 0.7015 MB / 0.6086 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simplify2: time 2.55e-05/0.0208, allocations: 23.97 kB / 0.6086 GB, free: 14.86 MB / 462.1 MB Notification: Performance of Events: time 0.0001266/0.02093, allocations: 104.8 kB / 0.6087 GB, free: 14.75 MB / 462.1 MB Notification: Performance of Detect States: time 0.0002254/0.02116, allocations: 140.1 kB / 0.6088 GB, free: 14.6 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0002186/0.02139, allocations: 249.6 kB / 0.6091 GB, free: 14.28 MB / 462.1 MB Notification: Performance of Causalize: time 0.0008035/0.0222, allocations: 0.8189 MB / 0.6099 GB, free: 13.39 MB / 462.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003288/0.02254, allocations: 417.4 kB / 0.6103 GB, free: 12.95 MB / 462.1 MB Notification: Performance of Inline: time 0.0009162/0.02346, allocations: 1.07 MB / 0.6113 GB, free: 11.85 MB / 462.1 MB Notification: Performance of Partitioning: time 5.472e-05/0.02353, allocations: 54.34 kB / 0.6113 GB, free: 11.79 MB / 462.1 MB Notification: Performance of Cleanup: time 8.07e-05/0.02361, allocations: 105 kB / 0.6114 GB, free: 11.68 MB / 462.1 MB Notification: Performance of Causalize: time 0.002572/0.02619, allocations: 2.642 MB / 0.614 GB, free: 9.047 MB / 462.1 MB Notification: Performance of Tearing: time 7.143e-06/0.02621, allocations: 4 kB / 0.614 GB, free: 9.043 MB / 462.1 MB Notification: Performance of Initialization: time 3.1e-07/0.02621, allocations: 3.938 kB / 0.614 GB, free: 9.039 MB / 462.1 MB Notification: Performance of Tearing: time 3.817e-06/0.02622, allocations: 3.938 kB / 0.614 GB, free: 9.035 MB / 462.1 MB Notification: Performance of Categorize: time 1.029e-05/0.02624, allocations: 0 / 0.614 GB, free: 9.035 MB / 462.1 MB Notification: Performance of Solve: time 0.0002722/0.02651, allocations: 190.6 kB / 0.6142 GB, free: 8.852 MB / 462.1 MB Notification: Performance of Jacobian: time 2.595e-06/0.02652, allocations: 0 / 0.6142 GB, free: 8.852 MB / 462.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 6 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 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: ................. 7 (7) {$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: ........... 28 (scalar:26, array:2, 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: ........... 51 (scalar:49, array:2, 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 (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 51 (scalar:49, array:2, 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.035e-05/0.02657, allocations: 45.28 kB / 0.6143 GB, free: 8.812 MB / 462.1 MB Notification: Performance of SimCode: time 0.002042/0.02861, allocations: 2.18 MB / 0.6164 GB, free: 6.602 MB / 462.1 MB Notification: Performance of Templates: time 0.007408/0.03603, allocations: 5.094 MB / 0.6214 GB, free: 1.52 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.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_FixedResistances_Examples_HydraulicDiameter -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.FixedResistances.Examples.HydraulicDiameter.o IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.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_FixedResistances_Examples_HydraulicDiameter -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.FixedResistances.Examples.HydraulicDiameter_functions.o IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1162:31: error: use of undeclared identifier '_OMC_LIT29' tmpMeta2 = stringAppend(_OMC_LIT29,_modelName); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1163:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT30); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1165:40: error: use of undeclared identifier '_OMC_LIT31' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT31); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1182:35: error: use of undeclared identifier '_OMC_LIT32' tmpMeta7 = stringAppend(_OMC_LIT32,_mediumName); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1183:44: error: use of undeclared identifier '_OMC_LIT33' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT33); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1185:45: error: use of undeclared identifier '_OMC_LIT34' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT34); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1188:46: error: use of undeclared identifier '_OMC_LIT35' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT35); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1191:46: error: use of undeclared identifier '_OMC_LIT36' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT36); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1203:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1211:41: error: use of undeclared identifier '_OMC_LIT37' tmpMeta21 = stringAppend(_X_str,_OMC_LIT37); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1214:44: error: use of undeclared identifier '_OMC_LIT38' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT38); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1217:44: error: use of undeclared identifier '_OMC_LIT39' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT39); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1219:44: error: use of undeclared identifier '_OMC_LIT40' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT40); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1224:30: error: use of undeclared identifier '_OMC_LIT41' tmpMeta33 = stringAppend(_OMC_LIT41,_mediumName); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1225:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT33); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1227:40: error: use of undeclared identifier '_OMC_LIT40' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT40); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1228:40: error: use of undeclared identifier '_OMC_LIT42' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT42); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1231:40: error: use of undeclared identifier '_OMC_LIT43' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT43); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1250: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.FixedResistances.Examples.HydraulicDiameter_functions.o] Error 1