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.001137/0.001137, allocations: 109.9 kB / 16.42 MB, free: 6.512 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.001126/0.001126, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.22/1.22, allocations: 222.9 MB / 241 MB, free: 15.09 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.7707/0.7707, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.061e-05, allocations: 2.281 kB / 0.5961 GB, free: 12.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01276/0.01279, allocations: 15.05 MB / 0.6108 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005376/0.01821, allocations: 3.898 MB / 0.6146 GB, free: 9.551 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005284/0.01876, allocations: 19.88 kB / 0.6146 GB, free: 9.531 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006301/0.0194, allocations: 186.7 kB / 0.6148 GB, free: 9.348 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.02112, allocations: 0.6787 MB / 0.6155 GB, free: 8.672 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.02239, allocations: 482.8 kB / 0.6159 GB, free: 8.211 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001566/0.02397, allocations: 1.098 MB / 0.617 GB, free: 7.121 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005552/0.02454, allocations: 307.4 kB / 0.6173 GB, free: 6.828 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008646/0.02542, allocations: 458.4 kB / 0.6177 GB, free: 6.379 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004591/0.02589, allocations: 257 kB / 0.618 GB, free: 6.129 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.558e-05/0.02597, allocations: 20 kB / 0.618 GB, free: 6.109 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.02711, allocations: 0.7251 MB / 0.6187 GB, free: 5.383 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0006094/0.02773, allocations: 0.6608 MB / 0.6194 GB, free: 4.715 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003432/0.02808, allocations: 453.9 kB / 0.6198 GB, free: 4.266 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.0282, allocations: 59.81 kB / 0.6198 GB, free: 4.207 MB / 462.1 MB Notification: Performance of FrontEnd: time 7.178e-05/0.02828, allocations: 23.94 kB / 0.6199 GB, free: 4.184 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.001646/0.02993, allocations: 1.656 MB / 0.6215 GB, free: 2.41 MB / 462.1 MB Notification: Performance of FunctionAlias: time 6.807e-05/0.03001, allocations: 35.92 kB / 0.6215 GB, free: 2.375 MB / 462.1 MB Notification: Performance of Early Inline: time 0.000505/0.03052, allocations: 0.5033 MB / 0.622 GB, free: 1.844 MB / 462.1 MB Notification: Performance of simplify1: time 4.448e-05/0.03058, allocations: 43.94 kB / 0.622 GB, free: 1.801 MB / 462.1 MB Notification: Performance of Alias: time 0.000938/0.03152, allocations: 0.7207 MB / 0.6228 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of simplify2: time 4.893e-05/0.03158, allocations: 19.97 kB / 0.6228 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of Events: time 0.0001471/0.03174, allocations: 96.91 kB / 0.6229 GB, free: 0.875 MB / 462.1 MB Notification: Performance of Detect States: time 0.0001908/0.03194, allocations: 148.1 kB / 0.623 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0002757/0.03222, allocations: 241.9 kB / 0.6232 GB, free: 412 kB / 462.1 MB Notification: Performance of Causalize: time 0.000888/0.03312, allocations: 0.8251 MB / 0.624 GB, free: 15.5 MB / 478.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003932/0.03352, allocations: 422.1 kB / 0.6244 GB, free: 15.07 MB / 478.1 MB Notification: Performance of Inline: time 0.00116/0.03469, allocations: 1.048 MB / 0.6255 GB, free: 13.98 MB / 478.1 MB Notification: Performance of Partitioning: time 6.104e-05/0.03476, allocations: 58.28 kB / 0.6255 GB, free: 13.92 MB / 478.1 MB Notification: Performance of Cleanup: time 0.0001407/0.03491, allocations: 105 kB / 0.6256 GB, free: 13.82 MB / 478.1 MB Notification: Performance of Causalize: time 0.003112/0.03803, allocations: 2.656 MB / 0.6282 GB, free: 11.16 MB / 478.1 MB Notification: Performance of Tearing: time 9.037e-06/0.03805, allocations: 0 / 0.6282 GB, free: 11.16 MB / 478.1 MB Notification: Performance of Initialization: time 5.71e-07/0.03806, allocations: 0 / 0.6282 GB, free: 11.16 MB / 478.1 MB Notification: Performance of Tearing: time 7.924e-06/0.03807, allocations: 0 / 0.6282 GB, free: 11.16 MB / 478.1 MB Notification: Performance of Categorize: time 1.568e-05/0.03809, allocations: 7.938 kB / 0.6282 GB, free: 11.16 MB / 478.1 MB Notification: Performance of Solve: time 0.0003472/0.03844, allocations: 186.6 kB / 0.6284 GB, free: 10.98 MB / 478.1 MB Notification: Performance of Jacobian: time 4.558e-06/0.03845, allocations: 4 kB / 0.6284 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: ........... 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.243e-05/0.03851, allocations: 31.66 kB / 0.6284 GB, free: 10.95 MB / 478.1 MB Notification: Performance of SimCode: time 0.00278/0.0413, allocations: 2.207 MB / 0.6306 GB, free: 8.715 MB / 478.1 MB Notification: Performance of Templates: time 0.008958/0.05027, allocations: 5.204 MB / 0.6357 GB, free: 3.531 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