Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 112.9 kB / 16.43 MB, free: 6.492 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.001264/0.001264, allocations: 191.6 kB / 17.36 MB, free: 5.75 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.237/1.237, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.335/2.335, allocations: 461.9 MB / 0.7354 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/1.978e-05, allocations: 4.531 kB / 1.055 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003995/0.004024, allocations: 2.94 MB / 1.057 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002538/0.006574, allocations: 1.52 MB / 1.059 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003581/0.006943, allocations: 15.94 kB / 1.059 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004116/0.007362, allocations: 103.1 kB / 1.059 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00045/0.007822, allocations: 147 kB / 1.059 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.00885, allocations: 412.5 kB / 1.06 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006947/0.009555, allocations: 0.589 MB / 1.06 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003119/0.009874, allocations: 213.1 kB / 1.06 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.01015, allocations: 211.1 kB / 1.061 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.01037, allocations: 195 kB / 1.061 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.76e-05/0.01043, allocations: 40 kB / 1.061 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.01062, allocations: 104 kB / 1.061 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0003938/0.01102, allocations: 0.6713 MB / 1.062 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.000229/0.01125, allocations: 457 kB / 1.062 GB, free: 244 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.458e-05/0.01136, allocations: 71.75 kB / 1.062 GB, free: 172 kB / 0.8262 GB Notification: Performance of FrontEnd: time 0.0001322/0.01149, allocations: 31.75 kB / 1.062 GB, free: 140 kB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 (65) * Number of variables: 65 (65) Notification: Performance of Bindings: time 0.001903/0.0134, allocations: 2.001 MB / 1.064 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001629/0.01357, allocations: 111.8 kB / 1.064 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0007947/0.01437, allocations: 0.8403 MB / 1.065 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of simplify1: time 8.462e-05/0.01447, allocations: 59.91 kB / 1.065 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of Alias: time 0.002055/0.01653, allocations: 1.823 MB / 1.067 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of simplify2: time 4.671e-05/0.01659, allocations: 39.95 kB / 1.067 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of Events: time 0.0001768/0.01677, allocations: 148.1 kB / 1.067 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0002742/0.01705, allocations: 235.2 kB / 1.067 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0002564/0.01732, allocations: 255.7 kB / 1.067 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001004/0.01833, allocations: 0.9498 MB / 1.068 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0004969/0.01884, allocations: 0.5848 MB / 1.069 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of Inline: time 0.001147/0.01999, allocations: 1.26 MB / 1.07 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of Partitioning: time 8.421e-05/0.02008, allocations: 75.59 kB / 1.07 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of Cleanup: time 4.053e-05/0.02013, allocations: 43.91 kB / 1.07 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001936/0.02207, allocations: 1.877 MB / 1.072 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of Tearing: time 9.878e-06/0.02209, allocations: 0 / 1.072 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of Initialization: time 3e-07/0.0221, allocations: 0 / 1.072 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of Tearing: time 4.759e-06/0.02211, allocations: 3.938 kB / 1.072 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of Categorize: time 1.258e-05/0.02212, allocations: 4 kB / 1.072 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of Solve: time 0.0002665/0.02239, allocations: 182 kB / 1.072 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.0003853/0.02279, allocations: 461.8 kB / 1.073 GB, free: 4.637 MB / 0.8419 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 3 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {cooTowSpeCon.conPID.I.y} * Number of discrete states: .................... 2 (2) {cooMod.combiTimeTable.nextTimeEvent, cooMod.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 15 (15) {cooTowSpeCon.pmcMod.y, cooTowSpeCon.cooMod, cooTowSpeCon.swi2.u2, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_2, $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: ........... 37 (scalar:37, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, 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: ........... 68 (scalar:66, array:1, record:1) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.428e-05/0.02285, allocations: 39.62 kB / 1.073 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of SimCode: time 0.00261/0.02546, allocations: 2.525 MB / 1.075 GB, free: 2.191 MB / 0.8419 GB Notification: Performance of Templates: time 0.4328/0.4583, allocations: 3.517 MB / 1.079 GB, free: 22.47 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed -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 Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.o Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed -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 Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_functions.o Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_functions.c Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_functions.c:59:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_functions.c:60:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_functions.c:63:46: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT4); ^ Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_functions.c:66:47: error: use of undeclared identifier '_OMC_LIT3' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT3); ^ Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_functions.c:90:38: error: use of undeclared identifier '_OMC_LIT5' tmpMeta19 = stringAppend(_OMC_LIT5,tmp18); ^ Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_functions.c:91:48: error: use of undeclared identifier '_OMC_LIT6' tmpMeta20 = stringAppend(tmpMeta19,_OMC_LIT6); ^ 6 errors generated. make: *** [: Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_functions.o] Error 1