Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001236/0.001236, allocations: 107.3 kB / 16.42 MB, free: 5.973 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.001228/0.001228, allocations: 191.3 kB / 17.36 MB, free: 5.566 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.467/1.467, 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/IDEAS 3.0.0-master/package.mo): time 0.8383/0.8383, allocations: 135.1 MB / 426.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.284e-05, allocations: 2.281 kB / 0.5862 GB, free: 21.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01204/0.01207, allocations: 15.03 MB / 0.6009 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004621/0.01673, allocations: 3.889 MB / 0.6047 GB, free: 3.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004924/0.01726, allocations: 23.88 kB / 0.6047 GB, free: 3.746 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005608/0.01787, allocations: 190.7 kB / 0.6049 GB, free: 3.559 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.01936, allocations: 0.6746 MB / 0.6056 GB, free: 2.887 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.02048, allocations: 481.1 kB / 0.606 GB, free: 2.426 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.02171, allocations: 1.105 MB / 0.6071 GB, free: 1.332 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004452/0.02217, allocations: 309.7 kB / 0.6074 GB, free: 1.027 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006201/0.0228, allocations: 450.4 kB / 0.6078 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.02308, allocations: 254.9 kB / 0.6081 GB, free: 344 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.02313, allocations: 20 kB / 0.6081 GB, free: 324 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.02423, allocations: 0.729 MB / 0.6088 GB, free: 15.58 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0005676/0.02481, allocations: 0.6608 MB / 0.6094 GB, free: 14.91 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002991/0.02511, allocations: 450 kB / 0.6099 GB, free: 14.47 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.563e-05/0.0252, allocations: 63.81 kB / 0.6099 GB, free: 14.41 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.679e-05/0.02529, allocations: 23.92 kB / 0.6099 GB, free: 14.38 MB / 462.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.001705/0.027, allocations: 1.656 MB / 0.6116 GB, free: 12.61 MB / 462.1 MB Notification: Performance of FunctionAlias: time 7.077e-05/0.02708, allocations: 51.84 kB / 0.6116 GB, free: 12.56 MB / 462.1 MB Notification: Performance of Early Inline: time 0.0005395/0.02763, allocations: 0.5072 MB / 0.6121 GB, free: 12.02 MB / 462.1 MB Notification: Performance of simplify1: time 4.073e-05/0.02768, allocations: 35.94 kB / 0.6121 GB, free: 11.99 MB / 462.1 MB Notification: Performance of Alias: time 0.001007/0.02869, allocations: 0.7092 MB / 0.6128 GB, free: 11.2 MB / 462.1 MB Notification: Performance of simplify2: time 2.792e-05/0.02873, allocations: 23.97 kB / 0.6129 GB, free: 11.17 MB / 462.1 MB Notification: Performance of Events: time 0.000146/0.02888, allocations: 84.97 kB / 0.6129 GB, free: 11.09 MB / 462.1 MB Notification: Performance of Detect States: time 0.0001859/0.02908, allocations: 148.1 kB / 0.6131 GB, free: 10.93 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0002708/0.02935, allocations: 245.1 kB / 0.6133 GB, free: 10.61 MB / 462.1 MB Notification: Performance of Causalize: time 0.0009838/0.03035, allocations: 0.8309 MB / 0.6141 GB, free: 9.707 MB / 462.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004285/0.03078, allocations: 417.5 kB / 0.6145 GB, free: 9.273 MB / 462.1 MB Notification: Performance of Inline: time 0.001196/0.03199, allocations: 1.054 MB / 0.6156 GB, free: 8.184 MB / 462.1 MB Notification: Performance of Partitioning: time 5.781e-05/0.03206, allocations: 46.36 kB / 0.6156 GB, free: 8.133 MB / 462.1 MB Notification: Performance of Cleanup: time 0.0001016/0.03216, allocations: 108.9 kB / 0.6157 GB, free: 8.02 MB / 462.1 MB Notification: Performance of Causalize: time 0.003044/0.03521, allocations: 2.653 MB / 0.6183 GB, free: 5.367 MB / 462.1 MB Notification: Performance of Tearing: time 8.065e-06/0.03523, allocations: 0 / 0.6183 GB, free: 5.367 MB / 462.1 MB Notification: Performance of Initialization: time 3.5e-07/0.03524, allocations: 0 / 0.6183 GB, free: 5.367 MB / 462.1 MB Notification: Performance of Tearing: time 6.252e-06/0.03525, allocations: 3.938 kB / 0.6183 GB, free: 5.363 MB / 462.1 MB Notification: Performance of Categorize: time 1.746e-05/0.03527, allocations: 8 kB / 0.6183 GB, free: 5.355 MB / 462.1 MB Notification: Performance of Solve: time 0.000332/0.03561, allocations: 186.5 kB / 0.6185 GB, free: 5.176 MB / 462.1 MB Notification: Performance of Jacobian: time 3.306e-06/0.03562, allocations: 0 / 0.6185 GB, free: 5.176 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 5.871e-05/0.03568, allocations: 31.98 kB / 0.6185 GB, free: 5.148 MB / 462.1 MB Notification: Performance of SimCode: time 0.003147/0.03884, allocations: 2.192 MB / 0.6207 GB, free: 2.93 MB / 462.1 MB Notification: Performance of Templates: time 0.009592/0.04844, allocations: 5.11 MB / 0.6256 GB, free: 13.83 MB / 478.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile make -j1 -f IDEAS_dev_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_dev_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_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.o IDEAS_dev_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_dev_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_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.o IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1162:31: error: use of undeclared identifier '_OMC_LIT29' tmpMeta2 = stringAppend(_OMC_LIT29,_modelName); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1163:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT30); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1165:40: error: use of undeclared identifier '_OMC_LIT31' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT31); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1182:35: error: use of undeclared identifier '_OMC_LIT32' tmpMeta7 = stringAppend(_OMC_LIT32,_mediumName); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1183:44: error: use of undeclared identifier '_OMC_LIT33' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT33); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1185:45: error: use of undeclared identifier '_OMC_LIT34' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT34); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1188:46: error: use of undeclared identifier '_OMC_LIT35' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT35); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1191:46: error: use of undeclared identifier '_OMC_LIT36' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT36); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1203:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1211:41: error: use of undeclared identifier '_OMC_LIT37' tmpMeta21 = stringAppend(_X_str,_OMC_LIT37); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1214:44: error: use of undeclared identifier '_OMC_LIT38' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT38); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1217:44: error: use of undeclared identifier '_OMC_LIT39' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT39); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1219:44: error: use of undeclared identifier '_OMC_LIT40' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT40); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1224:30: error: use of undeclared identifier '_OMC_LIT41' tmpMeta33 = stringAppend(_OMC_LIT41,_mediumName); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1225:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT33); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1227:40: error: use of undeclared identifier '_OMC_LIT40' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT40); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1228:40: error: use of undeclared identifier '_OMC_LIT42' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT42); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1231:40: error: use of undeclared identifier '_OMC_LIT43' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT43); ^ IDEAS_dev_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_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.o] Error 1