Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001324/0.001324, allocations: 111.8 kB / 17.1 MB, free: 5.836 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.001156/0.001156, allocations: 190.1 kB / 18.03 MB, free: 4.953 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.479/1.479, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8288/0.8288, allocations: 115.3 MB / 407.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.642e-05/3.642e-05, allocations: 4.25 kB / 0.5583 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01699/0.01704, allocations: 15.03 MB / 0.5729 GB, free: 21.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007503/0.02459, allocations: 3.887 MB / 0.5767 GB, free: 18.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.02587, allocations: 21.25 kB / 0.5768 GB, free: 18.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008478/0.02673, allocations: 198.5 kB / 0.577 GB, free: 18.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002527/0.02927, allocations: 0.6935 MB / 0.5776 GB, free: 18.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.03112, allocations: 494.3 kB / 0.5781 GB, free: 18.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002106/0.03324, allocations: 1.099 MB / 0.5792 GB, free: 17.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005872/0.03383, allocations: 304.6 kB / 0.5795 GB, free: 17.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.03498, allocations: 458.6 kB / 0.5799 GB, free: 17.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005193/0.03551, allocations: 254.4 kB / 0.5801 GB, free: 17.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.47e-05/0.03558, allocations: 20.56 kB / 0.5802 GB, free: 17.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/0.03757, allocations: 0.7257 MB / 0.5809 GB, free: 17.1 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0007291/0.03831, allocations: 0.6618 MB / 0.5815 GB, free: 16.68 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003459/0.03866, allocations: 449.2 kB / 0.5819 GB, free: 16.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.0388, allocations: 66.19 kB / 0.582 GB, free: 16.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0001273/0.03894, allocations: 8.188 kB / 0.582 GB, free: 16.34 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.002157/0.0411, allocations: 1.655 MB / 0.5836 GB, free: 15.13 MB / 446.1 MB Notification: Performance of FunctionAlias: time 7.663e-05/0.04119, allocations: 39.58 kB / 0.5837 GB, free: 15.11 MB / 446.1 MB Notification: Performance of Early Inline: time 0.000703/0.0419, allocations: 0.5159 MB / 0.5842 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simplify1: time 5.683e-05/0.04197, allocations: 34.66 kB / 0.5842 GB, free: 14.74 MB / 446.1 MB Notification: Performance of Alias: time 0.001224/0.0432, allocations: 0.7135 MB / 0.5849 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simplify2: time 4.223e-05/0.04325, allocations: 25.84 kB / 0.5849 GB, free: 14.23 MB / 446.1 MB Notification: Performance of Events: time 0.000179/0.04344, allocations: 93.73 kB / 0.585 GB, free: 14.18 MB / 446.1 MB Notification: Performance of Detect States: time 0.0002276/0.04368, allocations: 154.1 kB / 0.5852 GB, free: 14.06 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0003196/0.04401, allocations: 241.9 kB / 0.5854 GB, free: 13.84 MB / 446.1 MB Notification: Performance of Causalize: time 0.001256/0.04527, allocations: 0.825 MB / 0.5862 GB, free: 13.42 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006315/0.04591, allocations: 415.6 kB / 0.5866 GB, free: 13.15 MB / 446.1 MB Notification: Performance of Inline: time 0.001575/0.0475, allocations: 1.047 MB / 0.5876 GB, free: 12.51 MB / 446.1 MB Notification: Performance of Partitioning: time 9.469e-05/0.04761, allocations: 64.83 kB / 0.5877 GB, free: 12.46 MB / 446.1 MB Notification: Performance of Cleanup: time 0.0001938/0.04781, allocations: 99.34 kB / 0.5878 GB, free: 12.4 MB / 446.1 MB Notification: Performance of Causalize: time 0.004183/0.052, allocations: 2.64 MB / 0.5904 GB, free: 11.42 MB / 446.1 MB Notification: Performance of Tearing: time 2.542e-05/0.05204, allocations: 5.062 kB / 0.5904 GB, free: 11.41 MB / 446.1 MB Notification: Performance of Initialization: time 1.393e-06/0.05205, allocations: 0 / 0.5904 GB, free: 11.41 MB / 446.1 MB Notification: Performance of Tearing: time 1.679e-05/0.05207, allocations: 6.344 kB / 0.5904 GB, free: 11.41 MB / 446.1 MB Notification: Performance of Categorize: time 2.768e-05/0.0521, allocations: 5.125 kB / 0.5904 GB, free: 11.41 MB / 446.1 MB Notification: Performance of Solve: time 0.0005288/0.05264, allocations: 179.9 kB / 0.5905 GB, free: 11.36 MB / 446.1 MB Notification: Performance of Jacobian: time 7.544e-06/0.05266, allocations: 5.031 kB / 0.5906 GB, free: 11.35 MB / 446.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 7.343e-05/0.05274, allocations: 52.47 kB / 0.5906 GB, free: 11.31 MB / 446.1 MB Notification: Performance of SimCode: time 0.004542/0.05729, allocations: 2.179 MB / 0.5927 GB, free: 10.04 MB / 446.1 MB Notification: Performance of Templates: time 0.01356/0.07087, allocations: 5.071 MB / 0.5977 GB, free: 7.863 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile make -j1 -f IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.o IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1162:31: error: use of undeclared identifier '_OMC_LIT29' tmpMeta2 = stringAppend(_OMC_LIT29,_modelName); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1163:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT30); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1165:40: error: use of undeclared identifier '_OMC_LIT31' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT31); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1182:35: error: use of undeclared identifier '_OMC_LIT32' tmpMeta7 = stringAppend(_OMC_LIT32,_mediumName); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1183:44: error: use of undeclared identifier '_OMC_LIT33' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT33); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1185:45: error: use of undeclared identifier '_OMC_LIT34' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT34); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1188:46: error: use of undeclared identifier '_OMC_LIT35' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT35); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1191:46: error: use of undeclared identifier '_OMC_LIT36' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT36); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1203:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1211:41: error: use of undeclared identifier '_OMC_LIT37' tmpMeta21 = stringAppend(_X_str,_OMC_LIT37); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1214:44: error: use of undeclared identifier '_OMC_LIT38' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT38); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1217:44: error: use of undeclared identifier '_OMC_LIT39' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT39); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1219:44: error: use of undeclared identifier '_OMC_LIT40' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT40); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1224:30: error: use of undeclared identifier '_OMC_LIT41' tmpMeta33 = stringAppend(_OMC_LIT41,_mediumName); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1225:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT33); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1227:40: error: use of undeclared identifier '_OMC_LIT40' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT40); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1228:40: error: use of undeclared identifier '_OMC_LIT42' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT42); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1231:40: error: use of undeclared identifier '_OMC_LIT43' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT43); ^ IBPSA_latest_IBPSA.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: *** [: IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.o] Error 1