Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001351/0.001351, allocations: 103.8 kB / 16.42 MB, free: 6.457 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.001318/0.001319, allocations: 188.3 kB / 17.35 MB, free: 5.699 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.466/1.466, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9153/0.9153, allocations: 143 MB / 434.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.55e-05, allocations: 2.281 kB / 0.5961 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01377/0.0138, allocations: 15.04 MB / 0.6108 GB, free: 13.28 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00658/0.02043, allocations: 3.905 MB / 0.6146 GB, free: 9.391 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007927/0.02126, allocations: 20.56 kB / 0.6146 GB, free: 9.371 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008322/0.0221, allocations: 183.2 kB / 0.6148 GB, free: 9.191 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002402/0.02452, allocations: 0.7075 MB / 0.6155 GB, free: 8.488 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.02624, allocations: 473.1 kB / 0.616 GB, free: 8.031 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001922/0.02817, allocations: 1.107 MB / 0.617 GB, free: 6.934 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005172/0.0287, allocations: 306.9 kB / 0.6173 GB, free: 6.637 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000814/0.02953, allocations: 454.4 kB / 0.6178 GB, free: 6.191 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000357/0.0299, allocations: 258.9 kB / 0.618 GB, free: 5.938 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.749e-05/0.02996, allocations: 20 kB / 0.618 GB, free: 5.918 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.03133, allocations: 0.7251 MB / 0.6187 GB, free: 5.191 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0005225/0.03187, allocations: 0.6724 MB / 0.6194 GB, free: 4.512 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002729/0.03215, allocations: 446 kB / 0.6198 GB, free: 4.07 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.097e-05/0.03225, allocations: 67.81 kB / 0.6199 GB, free: 4.004 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0001012/0.03235, allocations: 15.94 kB / 0.6199 GB, free: 3.988 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.001715/0.03408, allocations: 1.652 MB / 0.6215 GB, free: 2.219 MB / 462.1 MB Notification: Performance of FunctionAlias: time 8.072e-05/0.03417, allocations: 43.92 kB / 0.6215 GB, free: 2.176 MB / 462.1 MB Notification: Performance of Early Inline: time 0.0005999/0.03477, allocations: 0.515 MB / 0.6221 GB, free: 1.633 MB / 462.1 MB Notification: Performance of simplify1: time 4.404e-05/0.03483, allocations: 31.95 kB / 0.6221 GB, free: 1.602 MB / 462.1 MB Notification: Performance of Alias: time 0.001099/0.03593, allocations: 0.713 MB / 0.6228 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of simplify2: time 3.02e-05/0.03598, allocations: 23.97 kB / 0.6228 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of Detect States: time 0.0001675/0.03615, allocations: 128.1 kB / 0.6229 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of Events: time 0.0001765/0.03634, allocations: 96.91 kB / 0.623 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0002767/0.03662, allocations: 249.9 kB / 0.6233 GB, free: 224 kB / 462.1 MB Notification: Performance of Causalize: time 0.0009433/0.03757, allocations: 0.8174 MB / 0.6241 GB, free: 15.33 MB / 478.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004147/0.038, allocations: 421.8 kB / 0.6245 GB, free: 14.89 MB / 478.1 MB Notification: Performance of Inline: time 0.001325/0.03933, allocations: 1.078 MB / 0.6255 GB, free: 13.78 MB / 478.1 MB Notification: Performance of Partitioning: time 5.606e-05/0.0394, allocations: 46.38 kB / 0.6256 GB, free: 13.73 MB / 478.1 MB Notification: Performance of Cleanup: time 0.0001/0.03951, allocations: 97.05 kB / 0.6256 GB, free: 13.63 MB / 478.1 MB Notification: Performance of Causalize: time 0.002748/0.04226, allocations: 2.477 MB / 0.6281 GB, free: 11.15 MB / 478.1 MB Notification: Performance of Tearing: time 1.627e-05/0.04229, allocations: 0 / 0.6281 GB, free: 11.15 MB / 478.1 MB Notification: Performance of Initialization: time 5.61e-07/0.0423, allocations: 0 / 0.6281 GB, free: 11.15 MB / 478.1 MB Notification: Performance of Tearing: time 8.757e-06/0.04231, allocations: 3.938 kB / 0.6281 GB, free: 11.15 MB / 478.1 MB Notification: Performance of Categorize: time 1.989e-05/0.04234, allocations: 4 kB / 0.6281 GB, free: 11.14 MB / 478.1 MB Notification: Performance of Solve: time 0.0003635/0.04271, allocations: 182.3 kB / 0.6282 GB, free: 10.97 MB / 478.1 MB Notification: Performance of Jacobian: time 5.01e-06/0.04272, allocations: 0 / 0.6282 GB, free: 10.97 MB / 478.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 6.354e-05/0.04279, allocations: 46.88 kB / 0.6283 GB, free: 10.93 MB / 478.1 MB Notification: Performance of SimCode: time 0.003086/0.04588, allocations: 2.233 MB / 0.6305 GB, free: 8.676 MB / 478.1 MB Notification: Performance of Templates: time 0.009999/0.05589, allocations: 5.114 MB / 0.6355 GB, free: 3.578 MB / 478.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile make -j1 -f BuildSysPro_BuildSysPro.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=BuildSysPro_BuildSysPro_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.o BuildSysPro_BuildSysPro.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=BuildSysPro_BuildSysPro_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.o BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1162:31: error: use of undeclared identifier '_OMC_LIT29' tmpMeta2 = stringAppend(_OMC_LIT29,_modelName); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1163:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT30); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1165:40: error: use of undeclared identifier '_OMC_LIT31' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT31); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1182:35: error: use of undeclared identifier '_OMC_LIT32' tmpMeta7 = stringAppend(_OMC_LIT32,_mediumName); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1183:44: error: use of undeclared identifier '_OMC_LIT33' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT33); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1185:45: error: use of undeclared identifier '_OMC_LIT34' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT34); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1188:46: error: use of undeclared identifier '_OMC_LIT35' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT35); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1191:46: error: use of undeclared identifier '_OMC_LIT36' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT36); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1203:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1211:41: error: use of undeclared identifier '_OMC_LIT37' tmpMeta21 = stringAppend(_X_str,_OMC_LIT37); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1214:44: error: use of undeclared identifier '_OMC_LIT38' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT38); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1217:44: error: use of undeclared identifier '_OMC_LIT39' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT39); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1219:44: error: use of undeclared identifier '_OMC_LIT40' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT40); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1224:30: error: use of undeclared identifier '_OMC_LIT41' tmpMeta33 = stringAppend(_OMC_LIT41,_mediumName); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1225:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT33); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1227:40: error: use of undeclared identifier '_OMC_LIT40' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT40); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1228:40: error: use of undeclared identifier '_OMC_LIT42' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT42); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1231:40: error: use of undeclared identifier '_OMC_LIT43' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT43); ^ BuildSysPro_BuildSysPro.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: *** [: BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.o] Error 1