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.001309/0.001309, allocations: 107.8 kB / 16.42 MB, free: 6.488 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.001539/0.001539, allocations: 190 kB / 17.36 MB, free: 5.703 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.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.803/0.803, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.021e-05, allocations: 2.281 kB / 0.582 GB, free: 23.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01428/0.01432, allocations: 15.04 MB / 0.5966 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004724/0.01908, allocations: 3.889 MB / 0.6004 GB, free: 7.438 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004161/0.01952, allocations: 19.88 kB / 0.6005 GB, free: 7.418 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005751/0.0201, allocations: 190.7 kB / 0.6006 GB, free: 7.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001495/0.02161, allocations: 0.6991 MB / 0.6013 GB, free: 6.535 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.02286, allocations: 481.3 kB / 0.6018 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001169/0.02404, allocations: 1.105 MB / 0.6029 GB, free: 4.973 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003648/0.02441, allocations: 308.9 kB / 0.6032 GB, free: 4.672 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005306/0.02495, allocations: 442.4 kB / 0.6036 GB, free: 4.238 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.02522, allocations: 254.9 kB / 0.6038 GB, free: 3.988 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.222e-05/0.02527, allocations: 20 kB / 0.6038 GB, free: 3.969 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008722/0.02615, allocations: 0.729 MB / 0.6045 GB, free: 3.238 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.000338/0.0265, allocations: 0.6686 MB / 0.6052 GB, free: 2.562 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001708/0.02668, allocations: 449.2 kB / 0.6056 GB, free: 2.121 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.47e-05/0.02674, allocations: 67.81 kB / 0.6057 GB, free: 2.055 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.885e-05/0.02681, allocations: 19.92 kB / 0.6057 GB, free: 2.035 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.001153/0.02797, allocations: 1.652 MB / 0.6073 GB, free: 272 kB / 446.1 MB Notification: Performance of FunctionAlias: time 4.742e-05/0.02803, allocations: 55.83 kB / 0.6074 GB, free: 216 kB / 446.1 MB Notification: Performance of Early Inline: time 0.0004471/0.02848, allocations: 0.5034 MB / 0.6079 GB, free: 15.67 MB / 462.1 MB Notification: Performance of simplify1: time 3.907e-05/0.02853, allocations: 39.86 kB / 0.6079 GB, free: 15.64 MB / 462.1 MB Notification: Performance of Alias: time 0.0009114/0.02945, allocations: 0.7131 MB / 0.6086 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simplify2: time 2.629e-05/0.02948, allocations: 19.97 kB / 0.6086 GB, free: 14.82 MB / 462.1 MB Notification: Performance of Detect States: time 0.0001466/0.02964, allocations: 126.3 kB / 0.6087 GB, free: 14.68 MB / 462.1 MB Notification: Performance of Events: time 0.000159/0.0298, allocations: 88.97 kB / 0.6088 GB, free: 14.59 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0002789/0.03009, allocations: 261.6 kB / 0.6091 GB, free: 14.26 MB / 462.1 MB Notification: Performance of Causalize: time 0.0009611/0.03106, allocations: 0.8082 MB / 0.6099 GB, free: 13.38 MB / 462.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004363/0.03151, allocations: 425.6 kB / 0.6103 GB, free: 12.94 MB / 462.1 MB Notification: Performance of Inline: time 0.001254/0.03277, allocations: 1.066 MB / 0.6113 GB, free: 11.83 MB / 462.1 MB Notification: Performance of Partitioning: time 5.453e-05/0.03284, allocations: 50.36 kB / 0.6114 GB, free: 11.78 MB / 462.1 MB Notification: Performance of Cleanup: time 0.0001096/0.03295, allocations: 105 kB / 0.6115 GB, free: 11.67 MB / 462.1 MB Notification: Performance of Causalize: time 0.002754/0.03571, allocations: 2.478 MB / 0.6139 GB, free: 9.195 MB / 462.1 MB Notification: Performance of Tearing: time 1.532e-05/0.03574, allocations: 0 / 0.6139 GB, free: 9.195 MB / 462.1 MB Notification: Performance of Initialization: time 8.32e-07/0.03575, allocations: 0 / 0.6139 GB, free: 9.195 MB / 462.1 MB Notification: Performance of Tearing: time 7.634e-06/0.03576, allocations: 3.938 kB / 0.6139 GB, free: 9.191 MB / 462.1 MB Notification: Performance of Categorize: time 1.569e-05/0.03578, allocations: 4 kB / 0.6139 GB, free: 9.188 MB / 462.1 MB Notification: Performance of Solve: time 0.0003192/0.0361, allocations: 186.3 kB / 0.6141 GB, free: 9.004 MB / 462.1 MB Notification: Performance of Jacobian: time 3.987e-06/0.03612, allocations: 0 / 0.6141 GB, free: 9.004 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: ........... 48 (scalar:46, 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: ........... 48 (scalar:46, 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 5.332e-05/0.03617, allocations: 43.36 kB / 0.6141 GB, free: 8.969 MB / 462.1 MB Notification: Performance of SimCode: time 0.002841/0.03902, allocations: 2.208 MB / 0.6163 GB, free: 6.734 MB / 462.1 MB Notification: Performance of Templates: time 0.009769/0.0488, allocations: 5.012 MB / 0.6212 GB, free: 1.734 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